opsiconfd fails to start

Antworten
ariconstancio
Beiträge: 3
Registriert: 13 Feb 2014, 15:40

opsiconfd fails to start

Beitrag von ariconstancio »

Hello,

We're having trouble with our OPSI server. opsiconfd is failing to start, even though no configuration files were changed AFAIK.
This is a Debian machine (squeeze) with opsi version 4.0.3.

These are the relevant lines in /var/log/opsi/opsiconfd/opsiconfd.log :

Code: Alles auswählen

==================================================================
=             opsi configuration service starting                =
==================================================================
 (Logger.py|831)
[5] [May 14 19:20:21] Starting opsiconfd main thread (opsiconfd.py|451)
[5] [May 14 19:20:21] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|428)
[5] [May 14 19:20:22] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|287)
[5] [May 14 19:20:22] Running on depot server 'zym.dsi-labs.isep.ipp.pt', exporting repository directory (opsiconfd.py|304)
[2] [May 14 19:20:22] Traceback: (Logger.py|742)
[2] [May 14 19:20:22]      line 460 in 'run' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [May 14 19:20:22]      line 306 in '_createSite' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [May 14 19:20:22]      ==>>> Repository local url for depot 'zym.dsi-labs.isep.ipp.pt' not found (opsiconfd.py|470)
[5] [May 14 19:20:22] Stopping opsiconfd main thread (opsiconfd.py|179)
[5] [May 14 19:20:22] Deleting all sessions (Session.py|217)
[5] [May 14 19:20:22] Opsiconfd main thread exiting... (opsiconfd.py|473)
I appreciate any help on this.
Regards,
Ari Constancio
dkoch
Beiträge: 309
Registriert: 25 Nov 2011, 14:03

Re: opsiconfd fails to start

Beitrag von dkoch »

Run

Code: Alles auswählen

opsiconfd -l9
for more verbose output.
Try

Code: Alles auswählen

opsi-setup --init-current-config -l9
to fix this

Edit:
also 4.0.3 is outdated consider updating to 4.0.4 when you have fixed that problem
ariconstancio
Beiträge: 3
Registriert: 13 Feb 2014, 15:40

Re: opsiconfd fails to start

Beitrag von ariconstancio »

dkoch hat geschrieben:Run

Code: Alles auswählen

opsiconfd -l9
for more verbose output.
Try

Code: Alles auswählen

opsi-setup --init-current-config -l9
to fix this
Hello again,

The fix didn't fix :D. Fortunately, after watching closely the output of

Code: Alles auswählen

opsiconfd -l7
, I came to the conclusion that the depot .ini file had empty stanzas ([depotshare] and [repository]).
After completing the *url lines from a different depot .ini, opsiconfd started fine.

Many thanks and best regards,
Ari Constancio
Antworten