opsiconfd and opsipxeconfd don't start after boot

Antworten
sapakt@ics.muni.cz
Beiträge: 5
Registriert: 15 Aug 2012, 13:06

opsiconfd and opsipxeconfd don't start after boot

Beitrag von sapakt@ics.muni.cz »

Hello.
I have a problem with opsiconfd and opsipxeconfd, which don't start after server reboot. In logs of both daemons I get same error message:
==>>> Backend I/O error: Failed to connect to database 'opsi' address 'localhost': (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") (opsiconfd.py|470)
I can start both of them manualy after boot. It looks like mysql is not running, when opsi daemons are starting.
I use mysql from packaging system of Debian Squeez and opsi from deb http://download.opensuse.org/repositori ... Debian_6.0 ./
I also tried to rename both init scripts to S99 in /etc/rc2.d and leave mysql with name S19mysql, but with no luck (same result I get, if I insert $mysql to Required-Start line in init script).
Thanks for your help.
Regards

Tomas Sapak
Antworten