ImportError: cannot import name _epoll
Verfasst: 31 Jul 2017, 16:58
Keine Ahnung was ich gemacht habe. Aber nach einem Neustart kam unten Stehendes.
Opsi (testing reposity) rennt auf einem physischen Debian wheeze i686. (Ja, ich weiß, es ist alt.
Ein Nachinstallieren von python-systemd aus den wheezy-backports brachte auch kein Abhilfe.
Hat wer einen Tipp?
Opsi (testing reposity) rennt auf einem physischen Debian wheeze i686. (Ja, ich weiß, es ist alt.

Ein Nachinstallieren von python-systemd aus den wheezy-backports brachte auch kein Abhilfe.
Hat wer einen Tipp?
Code: Alles auswählen
# service opsiconfd start
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/pymodules/python2.7/opsiconfd/opsiconfd.py", line 53, in <module>
from twisted.internet import epollreactor
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 20, in <module>
from twisted.python import log, _epoll
ImportError: cannot import name _epoll
.......... (failed).
Code: Alles auswählen
ii opsi-atftpd 0.7.dfsg-7 i386 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.7.5.22-2 all OPSI config editor
ii opsi-depotserver 4.0.7.3-1 all opsi depotserver configuration package
ii opsi-linux-bootimage 20170620-1 i386 opsi bootimage for netboot tasks.
ii opsi-utils 4.0.7.16-2 all utilites for working with opsi.
ii opsiconfd 4.0.7.11-2 all opsi configuration service
ii opsipxeconfd 4.0.7.8-1 all opsi pxe configuration daemon
ii python-opsi 4.0.7.42-1 all opsi python library
Code: Alles auswählen
# aptitude reinstall opsiconfd
Die folgenden Pakete werden ERNEUT INSTALLIERT:
opsiconfd
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 erneut installiert, 0 werden entfernt und 0 nicht aktualisiert.
0 B/61,6 kB an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 0 B zusätzlich belegt sein.
Vorkonfiguration der Pakete ...
OK
(Lese Datenbank ... 136438 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Ersetzen von opsiconfd 4.0.7.11-2 (durch .../opsiconfd_4.0.7.11-2_all.deb) ...
Stopping opsi config service.. (done).
dpkg: Warnung: Unterprozess altes pre-removal-Skript wurde durch Signal (Getötet) getötet
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Stopping opsi config service... (not running).
dpkg: ... sieht so aus, als hätte das geklappt.
Ersatz für opsiconfd wird entpackt ...
Trigger für python-support werden verarbeitet ...
opsiconfd (4.0.7.11-2) wird eingerichtet ...
OK
Package systemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `systemd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'systemd' found
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/pymodules/python2.7/opsiconfd/opsiconfd.py", line 53, in <module>
from twisted.internet import epollreactor
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 20, in <module>
from twisted.python import log, _epoll
ImportError: cannot import name _epoll
.......... (failed).
invoke-rc.d: initscript opsiconfd, action "start" failed.
Trigger für python-support werden verarbeitet ...