ich benötige Eure Hilfe:
Nachdem das System voll gelaufen ist funktioniert die Installation mit OPSI nicht mehr.
Als erstes habe ich festgestellt, dass die Clients nicht mehr OPSI Config Editor vorhanden waren. Diese konnte ich aus dem Backup wieder holen.
Dann habe ich festgestellt, dass der opsi config service nicht mehr lief und sich nicht starten lies, dafür habe ich dann die Anleitung von
viewtopic.php?t=7693 durchgeführt.
Damit lief der OPSI wieder. Nun aber das nächste Problem der OPSI Conig Editor zeigt nun keine Produkte (netboot & SW) mehr an.,-------
| root@rltg-opsi:/var/log/opsi/opsiconfd# service opsiconfd start
| Starting opsi config service..
| ==> opsiconfd.log <==
| [1] [Apr 24 10:18:55]
| ==================================================================
| = opsi configuration service starting =
| ================================================================== (Logger.py|843)
| ..[5] [Apr 24 10:18:57] Creating pid file u'/var/run/opsiconfd/opsiconfd.pid' (opsiconfd.py|646)
| [5] [Apr 24 10:18:57] Starting opsiconfd main thread (opsiconfd.py|463)
| [5] [Apr 24 10:18:57] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|432)
| .[4] [Apr 24 10:18:57] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|421)
| [5] [Apr 24 10:18:57] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|492)
| [5] [Apr 24 10:18:58] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|291)
| [5] [Apr 24 10:18:58] Running on depot server 'rltg-opsi.rltg.local', exporting repository directory (opsiconfd.py|308)
| [5] [Apr 24 10:18:58] Uptime: 0:00:02.928890 (opsiconfd.py|494)
| [5] [Apr 24 10:18:58] Statistics: (opsiconfd.py|496)
| [5] [Apr 24 10:18:58] Methodname Callcount Average processing duration (opsiconfd.py|497)
| [2] [Apr 24 10:18:58] Traceback: (Logger.py|753)
| [2] [Apr 24 10:18:58] File "/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py", line 472, in run
| self._createSite()
| (Logger.py|753)
| [2] [Apr 24 10:18:58] File "/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py", line 310, in _createSite
| raise Exception(u"Repository local url for depot '%s' not found" % self.config['depotId'])
| (Logger.py|753)
| [2] [Apr 24 10:18:58] ==>>> Repository local url for depot 'rltg-opsi.rltg.local' not found (opsiconfd.py|485)
| [5] [Apr 24 10:18:58] Stopping opsiconfd main thread (opsiconfd.py|180)
| [5] [Apr 24 10:18:58] Deleting all sessions (Session.py|231)
| [5] [Apr 24 10:18:58] Opsiconfd main thread exiting... (opsiconfd.py|488)
| . (failed).
`-------
* Hilfe von UIB ist nicht schlecht
viewtopic.php?t=7693
1029 2017-04-24 10:22:25 root@rltg-opsi opsi-admin -d method host_getObjects '' '{"type": "OpsiDepotserver"}' > depot.json
1031 2017-04-24 10:23:33 root@rltg-opsi cp -av depot.json depot.json.bak
1032 2017-04-24 10:23:42 root@rltg-opsi vim depot.json
1035 2017-04-24 10:33:02 root@rltg-opsi diff depot.json.bak depot.json
5c5
< "networkAddress" : null,
---
> "networkAddress" : "10.6.0.2/255.255.255.0",
8,11c8,11
< "ipAddress" : null,
< "repositoryRemoteUrl" : null,
< "depotLocalUrl" : null,
< "isMasterDepot" : null,
---
> "ipAddress" : "10.6.0.2",
> "repositoryRemoteUrl" : "webdavs://rltg-opsi.rltg.local:4447/repository",
> "depotLocalUrl" : "file:///var/lib/opsi/depot",
> "isMasterDepot" : true,
13c13
< "hardwareAddress" : null,
---
> "hardwareAddress" : "00:16:3e:67:98:0e",
15c15
< "repositoryLocalUrl" : null,
---
> "repositoryLocalUrl" : "file:///var/lib/opsi/repository",
19,20c19,20
< "depotWebdavUrl" : null,
< "depotRemoteUrl" : null
---
> "depotWebdavUrl" : "webdavs://rltg-opsi.rltg.local:4447/depot",
> "depotRemoteUrl" : "smb://rltg-opsi/opsi_depot"
1036 2017-04-24 10:33:08 root@rltg-opsi opsi-admin -d --no-depot method host_updateObjects < depot.json
1037 2017-04-24 10:33:16 root@rltg-opsi service opsiconfd start
Starting opsi config service..[1] [Apr 24 10:33:17]
==================================================================
= opsi configuration service starting =
================================================================== (Logger.py|843)
..[5] [Apr 24 10:33:19] Creating pid file u'/var/run/opsiconfd/opsiconfd.pid' (opsiconfd.py|646)
[5] [Apr 24 10:33:19] Starting opsiconfd main thread (opsiconfd.py|463)
[5] [Apr 24 10:33:19] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|432)
.[4] [Apr 24 10:33:19] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|421)
[5] [Apr 24 10:33:19] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|492)
[5] [Apr 24 10:33:19] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|291)
[5] [Apr 24 10:33:19] Running on depot server 'rltg-opsi.rltg.local', exporting repository directory (opsiconfd.py|308)
[5] [Apr 24 10:33:19] Running on depot server 'rltg-opsi.rltg.local', exporting depot directory (opsiconfd.py|321)
[5] [Apr 24 10:33:19] Added webdav content 'repository' which points to directory '/var/lib/opsi/repository' () (opsiconfd.py|354)
[5] [Apr 24 10:33:19] Added webdav content 'depot' which points to directory '/var/lib/opsi/depot' () (opsiconfd.py|354)
[5] [Apr 24 10:33:19] Added webdav content 'configed' which points to directory '/usr/lib/configed' (u'noauth',) (opsiconfd.py|354)
[5] [Apr 24 10:33:19] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd.py|401)
[5] [Apr 24 10:33:19] Publishing opsiconfd over zeroconf as 'opsi configuration daemon' on '4447' (opsiconfd.py|415)
.. (done).
Der Befehl "opsi-package-manager -l" zeigt keine Pakete mehr an, obwohl das Depot /var/lib/opsi/depot/ prall gefüllt ist
Könnt Ihr mir bitte helfen? Habe keine Idee mehr....root@rltg-opsi:/etc/opsi# opsi-package-manager -l
------------------------
- rltg-opsi.rltg.local -
------------------------
Product ID Version Name
========================================================================================================================================================================================================================================
Danke