RE: "opsiconfd/opsipxeconfd cannot start"
Verfasst: 13 Mär 2014, 06:36
Hi everyone,
I am very new and trying to install OPSI server to a CentOS 6.5 x86 box. I have followed opsi-getting-started-stable.pdf and it seemed like it was all going well up to section 4.0.3 until I got these errors (Below) when trying to run the following commands.
# /etc/init.d/opsiconfd restart
Stopping opsi config service... (not running).
Starting opsi config service..Traceback (most recent call last):
File "/usr/bin/opsiconfd", line 12, in <module>
from opsiconfd.opsiconfd import main
File "/usr/lib/python2.6/site-packages/opsiconfd/opsiconfd.py", line 72, in <module>
from OPSI.Backend.BackendManager import BackendManager
File "/usr/lib/python2.6/site-packages/OPSI/Backend/BackendManager.py", line 55, in <module>
from OPSI.Backend.Backend import *
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
.......... (failed).
# /etc/init.d/opsipxeconfd restart
Stopping opsi pxe configuration service... . (not running).
Starting opsi pxe configuration service..Traceback (most recent call last):
File "/usr/bin/opsipxeconfd", line 46, in <module>
from OPSI.Backend.BackendManager import BackendManager
File "/usr/lib/python2.6/site-packages/OPSI/Backend/BackendManager.py", line 55, in <module>
from OPSI.Backend.Backend import *
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
.......... (failed).
# opsi-setup --auto-configure-samba
Traceback (most recent call last):
File "/usr/bin/opsi-setup", line 22, in <module>
from OPSI.Backend.Backend import ExtendedConfigDataBackend
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
I have tried finding solutions on the internet but no luck to find one so I decided to create a new topic about this. I hope that everyone will share their solutions if anyone have encountered this before and had it fixed. Thanks in advance.
I am very new and trying to install OPSI server to a CentOS 6.5 x86 box. I have followed opsi-getting-started-stable.pdf and it seemed like it was all going well up to section 4.0.3 until I got these errors (Below) when trying to run the following commands.
# /etc/init.d/opsiconfd restart
Stopping opsi config service... (not running).
Starting opsi config service..Traceback (most recent call last):
File "/usr/bin/opsiconfd", line 12, in <module>
from opsiconfd.opsiconfd import main
File "/usr/lib/python2.6/site-packages/opsiconfd/opsiconfd.py", line 72, in <module>
from OPSI.Backend.BackendManager import BackendManager
File "/usr/lib/python2.6/site-packages/OPSI/Backend/BackendManager.py", line 55, in <module>
from OPSI.Backend.Backend import *
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
.......... (failed).
# /etc/init.d/opsipxeconfd restart
Stopping opsi pxe configuration service... . (not running).
Starting opsi pxe configuration service..Traceback (most recent call last):
File "/usr/bin/opsipxeconfd", line 46, in <module>
from OPSI.Backend.BackendManager import BackendManager
File "/usr/lib/python2.6/site-packages/OPSI/Backend/BackendManager.py", line 55, in <module>
from OPSI.Backend.Backend import *
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
.......... (failed).
# opsi-setup --auto-configure-samba
Traceback (most recent call last):
File "/usr/bin/opsi-setup", line 22, in <module>
from OPSI.Backend.Backend import ExtendedConfigDataBackend
File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
from twisted.conch.ssh import keys
File "/usr/lib/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
from pyasn1.type import univ
ImportError: No module named pyasn1.type
I have tried finding solutions on the internet but no luck to find one so I decided to create a new topic about this. I hope that everyone will share their solutions if anyone have encountered this before and had it fixed. Thanks in advance.