Hallo Niko,
danke für deine schnelle Antwort. Wenn ich den Befehl: mkdir /var/lib/opsi/depot eingebe, kommt folgendes zurück:
mkdir: das Verzeichnis »/var/lib/opsi/depot“ kann nicht angelegt werden: Die Datei existiert bereits
Trozalledem bin ich mit dem Befehl: opsi-setup --set-rights fortgefahren. Als Rückgabe war folgendes zu lesen:
[5] [Mar 07 14:58:03] Setting rights (opsi-setup|534)
[4] [Mar 07 14:58:04] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] [Mar 07 14:58:04] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
[5] [Mar 07 14:58:04] Getting current system config (opsi-setup|107)
[5] [Mar 07 14:58:04] System information: (opsi-setup|160)
[5] [Mar 07 14:58:04] distributor : Ubuntu (opsi-setup|161)
[5] [Mar 07 14:58:04] distribution : Ubuntu 12.04.4 LTS (opsi-setup|162)
[5] [Mar 07 14:58:04] ip address : 10.42.32.150 (opsi-setup|163)
[5] [Mar 07 14:58:04] netmask : 255.255.255.0 (opsi-setup|164)
[5] [Mar 07 14:58:04] subnet : 10.42.32.0 (opsi-setup|165)
[5] [Mar 07 14:58:04] broadcast : 10.42.32.255 (opsi-setup|166)
[5] [Mar 07 14:58:04] fqdn : opsidepote.obsi.local (opsi-setup|167)
[5] [Mar 07 14:58:04] hostname : opsidepote (opsi-setup|168)
[5] [Mar 07 14:58:04] domain : obsi.local (opsi-setup|169)
[5] [Mar 07 14:58:04] win domain : WORKGROUP (opsi-setup|170)
[5] [Mar 07 14:58:04] Setting rights on directory '/tftpboot/linux' (opsi-setup|621)
[5] [Mar 07 14:58:04] Setting rights on directory '/home/opsiproducts' (opsi-setup|621)
[5] [Mar 07 14:58:04] Setting rights on directory '/var/log/opsi' (opsi-setup|621)
[5] [Mar 07 14:58:04] Setting rights on directory '/etc/opsi' (opsi-setup|621)
[5] [Mar 07 14:58:04] Setting rights on directory '/var/lib/opsi' (opsi-setup|621)
Da ich keine Ahnung habe, habe ich den dritten Befehl abermals eingegeben: opsi-setup --init-current-config, die Antwort darauf:
[4] [Mar 07 14:58:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] [Mar 07 14:58:31] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
[5] [Mar 07 14:58:31] Creating base path: '/var/lib/opsi/config' (File.py|236)
[5] [Mar 07 14:58:31] Creating opsi base (SQL.py|382)
[5] [Mar 07 14:58:31] Try to find a Configserver. (opsi-setup|2699)
[5] [Mar 07 14:58:31] Getting current system config (opsi-setup|107)
[5] [Mar 07 14:58:31] System information: (opsi-setup|160)
[5] [Mar 07 14:58:31] distributor : Ubuntu (opsi-setup|161)
[5] [Mar 07 14:58:31] distribution : Ubuntu 12.04.4 LTS (opsi-setup|162)
[5] [Mar 07 14:58:31] ip address : 10.42.32.150 (opsi-setup|163)
[5] [Mar 07 14:58:31] netmask : 255.255.255.0 (opsi-setup|164)
[5] [Mar 07 14:58:31] subnet : 10.42.32.0 (opsi-setup|165)
[5] [Mar 07 14:58:31] broadcast : 10.42.32.255 (opsi-setup|166)
[5] [Mar 07 14:58:31] fqdn : opsidepote.obsi.local (opsi-setup|167)
[5] [Mar 07 14:58:31] hostname : opsidepote (opsi-setup|168)
[5] [Mar 07 14:58:31] domain : obsi.local (opsi-setup|169)
[5] [Mar 07 14:58:31] win domain : WORKGROUP (opsi-setup|170)
[4] [Mar 07 14:58:31] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] [Mar 07 14:58:31] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
[5] [Mar 07 14:58:31] Creating base path: '/var/lib/opsi/config' (File.py|236)
[5] [Mar 07 14:58:32] Creating opsi base (SQL.py|382)
[4] [Mar 07 14:58:32] Failed to create depot directory '/var/lib/opsi/depot': [Errno 17] Die Datei existiert bereits: '/var/lib/opsi/depot' (opsi-setup|2785)
[5] [Mar 07 14:58:32] Configuring client user pcpatch (opsi-setup|470)
[5] [Mar 07 14:58:32] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|484)
[5] [Mar 07 14:58:32] Setting rights (opsi-setup|534)
[4] [Mar 07 14:58:32] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] [Mar 07 14:58:32] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
[5] [Mar 07 14:58:32] Setting rights on directory '/var/lib/opsi/.ssh' (opsi-setup|621)
[4] [Mar 07 14:58:32] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] [Mar 07 14:58:32] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
Um das ganze zum Abschluss zu bringen, habe ich /etc/init.d/opsiconfd restart eingegeben, mit dem Ergebnis:
Stopping opsi config service... (not running).
Starting opsi config service...... (failed).
Entschuldige bitte, das ich die einzelnen Schritte so amateurhaft bearbeite.
Ich hoffe du hast erneut eine Antwort auf mein Problem.
Danke
Florian