Seite 1 von 1

Fehler bei opsi Installation auf Debian 10.5

Verfasst: 11 Sep 2020, 09:46
von P23
Hallo,

ich möchte gern opsi auf einem Debian 10.5 (Buster) Server installieren.
Die Maschine ist frisch installiert und ich gehe nach "opsi-getting-started-v4.1.html" vor.
Leider bekomme ich bei ausführen von
apt install opsi-server

eine Fehlermeldung über das fehlen der "/etc/opsi/opsi.conf"

python-twisted-web (18.9.0-3) wird eingerichtet ...
python-twisted-mail (18.9.0-3) wird eingerichtet ...
python-ldaptor (0.0.43+debian1-7) wird eingerichtet ...
python-opsi (4.1.1.89-1) wird eingerichtet ...
grep: /etc/opsi/opsi.conf: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/etc/opsi/backends/*.conf' nicht möglich: Datei oder Verzeichnis nicht gefunden
dpkg: Fehler beim Bearbeiten des Paketes python-opsi (--configure):
»installiertes python-opsi-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von opsipxeconfd:
opsipxeconfd hängt ab von python-opsi (>= 4.1.1.76); aber:
Paket python-opsi ist noch nicht konfiguriert.

Hierauf gibts dann noch weiter Folgefehler bei der Installation.
/etc/opsi existiert und enthält:
drwxrwx--- 3 root pcpatch 4,0K Sep 11 10:59 backendManager
drwxrwx--- 2 root pcpatch 4,0K Sep 11 10:59 backends
drwxr-xr-x 3 root root 4,0K Sep 11 10:59 hwaudit
drwxr-xr-x 2 root root 4,0K Apr 6 18:06 modules.d
-rw-r--r-- 1 root root 8,0K Aug 28 2019 opsiconfd.conf.dpkg-new
-rw-r--r-- 1 root root 1,8K Feb 7 2020 opsi-package-updater.conf.dpkg-new
-rw-r--r-- 1 root root 3,1K Apr 6 18:11 opsipxeconfd.conf.dpkg-new
drwxr-xr-x 2 root root 4,0K Sep 11 10:59 package-updater.repos.d

Aber eben keine opsi.conf

Tante Gurgel hat mir bisher leider auch nicht weiter geholfen.
Hat jemand eine Idee, wo die Ursache meines Problems liegen könnte?

mfg
P23

Re: Fehler bei opsi Installation auf Debian 10.5

Verfasst: 12 Sep 2020, 11:10
von Jan.Schmidt
ich vermute mal, du hast ein zu neues python.

Buster hat 3.7, Stretch 3.5

Re: Fehler bei opsi Installation auf Debian 10.5

Verfasst: 14 Sep 2020, 09:54
von P23
Hallo,

das ist einfach eine neue Installation.
Ich habe hier
~# python
python python2 python2.7 python3 python3.7 python3.7m python3m

Python 2.7 und Python 3.7

~# python3 --version
Python 3.7.3

Irgendeinen Vorschlag, was ich machen könnte ?
Danke!

So denn
P23

Re: Fehler bei opsi Installation auf Debian 10.5

Verfasst: 14 Sep 2020, 10:49
von SisterOfMercy
Debian 10 is supported with opsi 4.1, so that should not be the problem.

Re: Fehler bei opsi Installation auf Debian 10.5

Verfasst: 14 Sep 2020, 11:50
von m.radtke
Hi,
also unser letzter Test mit Debian10 ist vom Freitag Abend und da ist der Test erfolgreich gelaufen.

Die opsi.conf Datei konnte zwar nicht gefunden werden, führt aber nicht zu einem Abbruch der Installation.

Code: Alles auswählen

[7] [Sep 11 19:20:20:070] [l-opsi-server]               Vormals nicht ausgew�hltes Paket opsi-server wird gew�hlt.
[7] [Sep 11 19:20:20:071] [l-opsi-server]               Vorbereitung zum Entpacken von .../64-opsi-server_4.1.1.8-1_all.deb ...
[7] [Sep 11 19:20:20:071] [l-opsi-server]               grep: /etc/opsi/opsi.conf: Datei oder Verzeichnis nicht gefunden
[7] [Sep 11 19:20:20:071] [l-opsi-server]                 -> Adding group pcpatch
[7] [Sep 11 19:20:20:071] [l-opsi-server]                 -> Adding user pcpatch
[7] [Sep 11 19:20:20:071] [l-opsi-server]                 -> Adding user opsiconfd
[7] [Sep 11 19:20:20:071] [l-opsi-server]               Entpacken von opsi-server (4.1.1.8-1) ...
Gruß
Mathias