Hi ueluekmen,
danke das hat schon weiter geholfen, aufgrund des Reihenfolgen Problems muss auch das "opsiconfd" Paket vor dem depotserver installiert werden.
Was ich aber nicht verstehe ist, dass der "opsi-depotserver" ohne "-expert" sauber durchläuft:-(
In wie fern unterscheidet sich der "opsi-depotserver" vom "opsi-depotserver-expert"? Sind es nur die Paketabhängigkeiten?
Sind für die Installation/Konfiguration von "opsi-depotserver-expert" andere/weitere Schritte notwendig, die nicht in der "getting-started" Doku zu finden sind?
Nachdem die Installation ohne Fehler durchlief
Code: Alles auswählen
aptitude install python-opsi
aptitude install opsiconfd
aptitude install tftp-hpa opsi-depotserver-expert opsi-configed
habe ich nun das nächste Problem
Code: Alles auswählen
opsi-setup --set-rights
[5] [Jun 06 14:38:26] Setting rights (opsi-setup|425)
[5] [Jun 06 14:38:26] Getting current system config (opsi-setup|79)
[5] [Jun 06 14:38:26] System information: (opsi-setup|129)
[5] [Jun 06 14:38:26] distributor : Debian (opsi-setup|130)
[5] [Jun 06 14:38:26] distribution : Debian GNU/Linux 7.0 (wheezy) (opsi-setup|131)
[5] [Jun 06 14:38:26] ip address : 192.168.131.20 (opsi-setup|132)
[5] [Jun 06 14:38:26] netmask : 255.255.255.0 (opsi-setup|133)
[5] [Jun 06 14:38:26] subnet : 192.168.131.0 (opsi-setup|134)
[5] [Jun 06 14:38:26] broadcast : 192.168.131.255 (opsi-setup|135)
[5] [Jun 06 14:38:26] fqdn : srv-opsi.test.lab (opsi-setup|136)
[5] [Jun 06 14:38:26] hostname : srv-opsi (opsi-setup|137)
[5] [Jun 06 14:38:26] domain : test.lab (opsi-setup|138)
[5] [Jun 06 14:38:26] win domain : WORKGROUP (opsi-setup|139)
[4] [Jun 06 14:38:26] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Jun 06 14:38:26] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|391)
[5] [Jun 06 14:38:26] Setting rights on directory '/tftpboot/linux' (opsi-setup|507)
[5] [Jun 06 14:38:26] Setting rights on directory '/home/opsiproducts' (opsi-setup|507)
[2] [Jun 06 14:38:26] Traceback: (Logger.py|742)
[2] [Jun 06 14:38:26] line 3324 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Jun 06 14:38:26] line 3273 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Jun 06 14:38:26] line 508 in 'setRights' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Jun 06 14:38:26] ==>>> [Errno 2] No such file or directory: '/home/opsiproducts' (opsi-setup|3332)
Testweise habe ich das Verzeichnis maunell angelegt, danach läuft auch
durch, ob dies die richte Herangehenswiese war?!?
Weiter geht's
Code: Alles auswählen
/etc/init.d/opsiconfd restart
Stopping opsi config service... (not running).
Starting opsi config service...... (failed).
Im Log "/var/log/opsi/opsiconfd/opsiconfd.log" kommt dann folgendes zum Vorschein
Code: Alles auswählen
==================================================================
= opsi configuration service starting =
==================================================================
(Logger.py|831)
[5] [Jun 06 14:40:13] Starting opsiconfd main thread (opsiconfd.py|451)
[5] [Jun 06 14:40:13] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|428)
[4] [Jun 06 14:40:13] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Jun 06 14:40:13] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|391)
[5] [Jun 06 14:40:13] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|287)
[5] [Jun 06 14:40:13] Running on depot server 'srv-opsi.test.lab', exporting repository directory (opsiconfd.py|304)
[5] [Jun 06 14:40:13] Running on depot server 'srv-opsi.test.lab', exporting depot directory (opsiconfd.py|317)
[2] [Jun 06 14:40:13] Traceback: (Logger.py|742)
[2] [Jun 06 14:40:13] line 460 in 'run' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Jun 06 14:40:13] line 324 in '_createSite' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Jun 06 14:40:13] ==>>> Cannot add webdav content 'depot': directory '/var/lib/opsi/depot' does not exist. (opsiconfd.py|470)
[5] [Jun 06 14:40:13] Stopping opsiconfd main thread (opsiconfd.py|179)
[5] [Jun 06 14:40:13] Deleting all sessions (Session.py|217)
[5] [Jun 06 14:40:13] Opsiconfd main thread exiting... (opsiconfd.py|473)
Auch hier wieder das Verzeichnis manuell angelegt,
drüber laufen lassen und
Code: Alles auswählen
/etc/init.d/opsiconfd restart
Stopping opsi config service... (not running).
Starting opsi config service....... (done).
Und wieder Zweifel, ob dies so gewollt ist?!?