Wenn der Opsi Server neu gestartet wird startet der opsiconf.d nicht automatisch
wenn man ihn über
Code: Alles auswählen
"/etc/init.d/opsiconfd start"
irgendwie scheint er beim start mit mysql ein Problem zu haben:
(11:57 war reboot, 11:59 dann opsiconfd manueller start, dann ok ...)
Code: Alles auswählen
root@domainsopsi1:/var/log/opsi# less opsiconfd/opsiconfd.log
thon2.7/OPSI/Backend/MySQL.py' (Logger.py|754)
[2] [May 05 11:57:01] line 137 in '__init__' in file '/usr/lib/pymodules/py
thon2.7/OPSI/Backend/MySQL.py' (Logger.py|754)
[2] [May 05 11:57:01] line 164 in '_createConnectionPool' in file '/usr/lib
/pymodules/python2.7/OPSI/Backend/MySQL.py' (Logger.py|754)
[2] [May 05 11:57:01] ==>>> Backend I/O error: Failed to connect to databas
e 'opsi' address 'localhost': (2002, "Can't connect to local MySQL server throug
h socket '/var/run/mysqld/mysqld.sock' (2)") (opsiconfd.py|469)
[5] [May 05 11:57:01] Stopping opsiconfd main thread (opsiconfd.py|175)
[5] [May 05 11:57:01] Opsiconfd main thread exiting... (opsiconfd.py|472)
[1] [May 05 11:59:17]
==================================================================
= opsi configuration service starting =
==================================================================
(Logger.py|840)
[5] [May 05 11:59:19] Starting opsiconfd main thread (opsiconfd.py|447)
[5] [May 05 11:59:19] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|424)
[4] [May 05 11:59:19] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|365)
[5] [May 05 11:59:19] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
Danke Vorab!
MH