Errno 111 Connection refused (SOLVED)

loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: Errno 111 Connection refused

Beitrag von loggenk »

Hi Niko,

Yes, thats the hostname.

backend_.* : jsonrpc, opsipxeconfd
.* : jsonrpc

Greetings,

Kees....
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Errno 111 Connection refused

Beitrag von n.wenselowski »

Hello Kees,

is the server meant to be the configserver or a depot?
If it is the configserver the problems is a wrong backend configurations - it uses JSONRPC for everything and appearantly tries to connect to itself to do so.


With kind regards

Niko

Code: Alles auswählen

import OPSI
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: Errno 111 Connection refused

Beitrag von loggenk »

Server should be a configserver!

I don't know what happened. Can I correct this problem easily?

With regards,

Kees....
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Errno 111 Connection refused

Beitrag von n.wenselowski »

Hello Kees,

The easiest way would be to restore the /etc/opsi/backendManager/dispatch.conf from a backup.
Otherwise you need to know what backends you used for what before your problems occured and then correct that file manually.

The Getting Started covers backend configuration and has example configurations shown.


With kind regards

Niko

Code: Alles auswählen

import OPSI
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: Errno 111 Connection refused

Beitrag von loggenk »

Hi Niko,

Opsi seems to work fine again.
However.... There's one big problem.
The database is empty. Made a backup with mysqldump. When i restore it it stays empty.

I have budget for support.

Greetings,

Kees...
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Errno 111 Connection refused

Beitrag von n.wenselowski »

Hello Kees,

have you used the mysql database before? If you did: what did you use it for?


With kind regards

Niko

Code: Alles auswählen

import OPSI
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: Errno 111 Connection refused

Beitrag von loggenk »

Hi Niko, good morning,

I used the sql database for opsi. Made a backup, and restored it on same system.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Errno 111 Connection refused

Beitrag von n.wenselowski »

Hello Kees,

does your backup hold data?


With kind regards

Niko

Code: Alles auswählen

import OPSI
loggenk
Beiträge: 163
Registriert: 15 Nov 2012, 17:34

Re: Errno 111 Connection refused

Beitrag von loggenk »

I thought so. Its not a big problem maybe.
I copied /home/opsiproducts, and repository.

Is there a way to install this on Opsi server?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Errno 111 Connection refused

Beitrag von n.wenselowski »

Hello Kees,

unfortunately this probably is not enough. The repository can be used to reinstall the products but you lack other data (client information, settings, etc.) that is distribute around /etc/opsi/ and /var/lib/opsi. Did you do anything that might have caused an data loss?

We have a tool for backups, opsi-backup. That collects the relevant data (not products though) and creates a small compressed file from it.

The easiest way to progress from here on usually is to contact us with an support contract so we can have a look at your system.


With kind regards

Niko

Code: Alles auswählen

import OPSI
Antworten