gestern konnte ich mich nicht mehr am opsi anmleden.
Es gab eine JavaException.
Nach ein wenig Recherche bin ich auf folgende Fehlermeldung im log gestoßen:
Code: Alles auswählen
==================================================================
= opsi configuration service starting =
================================================================== (Logger.py|888)
[5] [Feb 08 00:00:15] Creating pid file u'/var/run/opsiconfd/opsiconfd.pid' (opsiconfd.py|513)
[5] [Feb 08 00:00:15] Starting opsiconfd main thread (opsiconfd.py|344)
[5] [Feb 08 00:00:15] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|217)
[5] [Feb 08 00:00:15] Running on depot server 'ph-opsi.peiker-holding.de', exporting repository directory (opsiconfd.py|233)
[5] [Feb 08 00:00:15] Uptime: 0:00:02.368273 (opsiconfd.py|365)
[5] [Feb 08 00:00:15] Statistics: (opsiconfd.py|367)
[5] [Feb 08 00:00:15] Methodname Callcount Average processing duration (opsiconfd.py|368)
[2] [Feb 08 00:00:15] Traceback: (Logger.py|798)
[2] [Feb 08 00:00:15] File "/usr/lib/python2.7/dist-packages/opsiconfd/opsiconfd.py", line 350, in run
self._createSite()
(Logger.py|798)
[2] [Feb 08 00:00:15] File "/usr/lib/python2.7/dist-packages/opsiconfd/opsiconfd.py", line 235, in _createSite
raise Exception(u"Repository local url for depot '%s' not found" % self.config['depotId'])
(Logger.py|798)
[2] [Feb 08 00:00:15] ==>>> Repository local url for depot 'ph-opsi.peiker-holding.de' not found (opsiconfd.py|356)
[5] [Feb 08 00:00:15] Stopping opsiconfd main thread (opsiconfd.py|120)
[5] [Feb 08 00:00:15] Deleting all sessions (Session.py|240)
[5] [Feb 08 00:00:15] Opsiconfd main thread exiting... (opsiconfd.py|359)
Mit der Bearbeitung der Depot configs konnte ich das Problem erstmal lösen.
Mir stellt sich nur die Frage: Warum passiert so etwas? Wenn ich in die bash_history schaue, viel mir nichts außergewöhnliches auf, was das Ereignis ausgelöst haben könnte.
Eine Idee?
Grüße
Gregor