Seite 2 von 2

Re: Errno 111 Connection refused

Verfasst: 04 Nov 2014, 10:17
von loggenk
Hi Niko,

Yes, thats the hostname.

backend_.* : jsonrpc, opsipxeconfd
.* : jsonrpc

Greetings,

Kees....

Re: Errno 111 Connection refused

Verfasst: 04 Nov 2014, 10:53
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

Re: Errno 111 Connection refused

Verfasst: 04 Nov 2014, 10:55
von loggenk
Server should be a configserver!

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

With regards,

Kees....

Re: Errno 111 Connection refused

Verfasst: 04 Nov 2014, 11:01
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

Re: Errno 111 Connection refused

Verfasst: 04 Nov 2014, 12:57
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...

Re: Errno 111 Connection refused

Verfasst: 05 Nov 2014, 08:50
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

Re: Errno 111 Connection refused

Verfasst: 05 Nov 2014, 08:52
von loggenk
Hi Niko, good morning,

I used the sql database for opsi. Made a backup, and restored it on same system.

Re: Errno 111 Connection refused

Verfasst: 05 Nov 2014, 08:55
von n.wenselowski
Hello Kees,

does your backup hold data?


With kind regards

Niko

Re: Errno 111 Connection refused

Verfasst: 05 Nov 2014, 08:58
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?

Re: Errno 111 Connection refused

Verfasst: 05 Nov 2014, 17:09
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