/var/lib/opsi/depot directory not created (v4.03. on Wheezy)
Verfasst: 18 Mär 2013, 04:53
The /var/lib/opsi/depot directory was not created on my installation ie. the testing 4.0.3.2-1 packages on Debian Wheezy.
(I also had an earlier issue with /home/opsiproducts not existing, but I can't remember the details.
Opsiconfd failed to start. The log showed /var/lib/opsi/depot didn't exist :
[5] [Mar 18 13:39:09] Running on depot server 'fusion.strategicit.homelinux.net', exporting depot directory (opsiconfd.py|317)
[2] [Mar 18 13:39:09] Traceback: (Logger.py|742)
[2] [Mar 18 13:39:09] line 460 in 'run' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] line 324 in '_createSite' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] ==>>> Cannot add webdav content 'depot': directory '/var/lib/opsi/depot' does not exist. (opsiconfd.py|470)
I THINK I have installed the required packages. Just in case, the packages I have installed:
opsi-configd
opsi-linux-bootimage
opsi-utils
opsiconfd
opsipxeconfd
python-opsi
opsi-depotserver-expert
If anyone else wants to fix this problem:
mkdir /var/lib/opsi/depot
chown opsiconfd.pcpatch /var/lib/opsi/depot
chmod 770 /var/lib/opsi/depot
# /etc/init.d/opsiconfd start
Starting opsi config service....... (done).
BTW, should I be reporting bugs in experimental packages here?
(I also had an earlier issue with /home/opsiproducts not existing, but I can't remember the details.
Opsiconfd failed to start. The log showed /var/lib/opsi/depot didn't exist :
[5] [Mar 18 13:39:09] Running on depot server 'fusion.strategicit.homelinux.net', exporting depot directory (opsiconfd.py|317)
[2] [Mar 18 13:39:09] Traceback: (Logger.py|742)
[2] [Mar 18 13:39:09] line 460 in 'run' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] line 324 in '_createSite' in file '/usr/lib/pymodules/python2.7/opsiconfd/opsiconfd.py' (Logger.py|742)
[2] [Mar 18 13:39:09] ==>>> Cannot add webdav content 'depot': directory '/var/lib/opsi/depot' does not exist. (opsiconfd.py|470)
I THINK I have installed the required packages. Just in case, the packages I have installed:
opsi-configd
opsi-linux-bootimage
opsi-utils
opsiconfd
opsipxeconfd
python-opsi
opsi-depotserver-expert
If anyone else wants to fix this problem:
mkdir /var/lib/opsi/depot
chown opsiconfd.pcpatch /var/lib/opsi/depot
chmod 770 /var/lib/opsi/depot
# /etc/init.d/opsiconfd start
Starting opsi config service....... (done).
BTW, should I be reporting bugs in experimental packages here?