Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Antworten
opsifizierer
Beiträge: 8
Registriert: 06 Sep 2019, 12:49

Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Beitrag von opsifizierer »

Hallo!

Ich habe folgendes Problem. Ich habe für eine neue Netzwerkumgebung einen Opsi-Server aufgesetzt, welcher einwandfrei funktioniert. Nun benötige ich für weitere Standorte Opsi-Depotserver. Leider schlägt die Opsi Grundinstallation bereits fehl, sodass ich am verzweifeln bin.

Ich habe das Kapitel 2.3 Software und Konfigurationsvoraussetzungen berücksichtigt und bin nach Kapitel 4.1.2 Installation auf einem Debian/Ubuntu vorgegangen.

Folgende Ubuntu-Version ist auf einer virtuellen Maschine eines ESXi 6.7 Server installiert:

Code: Alles auswählen

root@srv-opsi-test:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic
Ausgabe getent hosts $(hostname -f):

Code: Alles auswählen

root@srv-opsi-test:~# getent hosts $(hostname -f)
127.0.1.1       srv-opsi-test.sv-test.sv-wesel.wesel srv-opsi-test
Ausgabe test -e /etc/default/locale && echo "ok" || (echo "Check locales:" && locale)

Code: Alles auswählen

root@srv-opsi-test:~# test -e /etc/default/locale && echo "ok" || (echo "Check locales:" && locale)
ok
Ich habe bereits eine vollkommen neue Ubuntu-Installation durchgeführt und habe diese sogar auf einem anderen Server durchgeführt. Es ist egal, wo ich die Installation des OPSI-Servers durchführe. Es kommt immer zu den gleichen Fehlern. In den nachfolgenden "logs" erkennt man fehlende Dateien. Diese Dateien existieren jedoch nach der fehlgeschlagenen Installation. Wenn ich vor der Ausführung von apt install opsi-server die fehlenden Dateien aus einem funktionierenden OPSI-Server im Voraus auf den Server kopiere, ändert sich nichts an der Reaktion. Eine erneute Ausführung von apt install opsi-server führt zu neuen Fehlern. Im Verzeichnis /var/log/opsi befinden sich keine Logs.

Bis zum Befehl apt install opsi-tftpd-hpa läuft mit Kapitel 4.1.2 Installation auf einem Debian/Ubuntu alles reibungslos.

Nun folgt die Ausführung des Befehls apt install opsi-server:

Es öffnet sich nur der Dialog für das SSL Zertifikat der opsiconfd, den ich mit Informationen und dem FQDN füttere. Die Frage, ob die smb.conf gepatcht werden darf und die Passwortvergabe für den User pcpatch folgen nicht.

Im Verlauf der Installation erscheinen folgende Fehler:

Code: Alles auswählen

Vorbereitung zum Entpacken von .../73-opsi-server_4.1.1.8-1_all.deb ...
grep: /etc/opsi/opsi.conf: No such file or directory
  -> Adding group pcpatch
  -> Adding user pcpatch
  -> Adding user opsiconfd
Ich glaube, dass auch hier schon die Ursache in der Nähe liegt. Als würde ein Berechtigungsproblem dazu führen, dass "smb.conf"- und "pcpatch"-Dialog nicht folgen können.


Bei 97% hängt er hier sehr lange:

Code: Alles auswählen

opsiconfd (4.1.1.18-4) wird eingerichtet ...
Created symlink /etc/systemd/system/multi-user.target.wants/opsiconfd.service →                                                                                                             /lib/systemd/system/opsiconfd.service.
Job for opsiconfd.service failed because a timeout was exceeded.
See "systemctl status opsiconfd.service" and "journalctl -xe" for details.
OK
Anschließend folgt noch der Rest:

Code: Alles auswählen

Job for opsiconfd.service failed because a timeout was exceeded.
See "systemctl status opsiconfd.service" and "journalctl -xe" for details.
Generating a RSA private key
.......................................................................................................+++++
...............................+++++
writing new private key to '/etc/opsi/opsiconfd.pem'
-----
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
..........+........................................................+..........+.......................+..+..............+...................................................................+.........................+..........+....+...............+..........++*++*++*++*++*
subject=C = DE, ST = NRW, L = Wesel, O = Stadt Wesel, OU = Team Informationstechnik, CN = srv-opsi-test.sv-test.sv-wesel.wesel
notBefore=Sep  6 11:18:50 2019 GMT
notAfter=Jun  2 11:18:50 2022 GMT
SHA1 Fingerprint=BB:49:2F:96:39:E7:5B:2E:13:50:59:AB:DE:CB:7A:46:A1:31:28:AF
Enabled opsiconfd.service
opsi-utils (4.1.1.33-2) wird eingerichtet ...
opsi-linux-bootimage (20190805-3) wird eingerichtet ...
link default is broken or non existing
linking default to default.menu
opsipxeconfd (4.1.1.14-2) wird eingerichtet ...
Reloading unit-files
Created symlink /etc/systemd/system/multi-user.target.wants/opsipxeconfd.service → /lib/systemd/system/opsipxeconfd.service.
Enabled opsipxeconfd.service
opsi-server (4.1.1.8-1) wird eingerichtet ...
Trigger für man-db (2.8.3-2ubuntu0.1) werden verarbeitet ...
Trigger für libc-bin (2.27-3ubuntu1) werden verarbeitet ...
Der Befehl systemctl status opsiconfd.service gibt folgendes aus:

Code: Alles auswählen

root@srv-opsi-test:~# systemctl status opsiconfd.service
● opsiconfd.service - Opsi Configuration Service
   Loaded: loaded (/lib/systemd/system/opsiconfd.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: timeout) since Fri 2019-09-06 13:22:11 CEST; 1s ago
  Process: 7721 ExecStart=/usr/bin/opsiconfd -D (code=exited, status=0/SUCCESS)
  Process: 7720 ExecStartPre=/bin/chown -R opsiconfd /var/run/opsiconfd/ (code=exited, status=0/SUCCESS)
  Process: 7719 ExecStartPre=/bin/mkdir -p /var/run/opsiconfd (code=exited, status=0/SUCCESS)

Sep 06 13:22:11 srv-opsi-test systemd[1]: Failed to start Opsi Configuration Service.
Direkt danach erneut ausgeführt folgt folgende Ausgabe:

Code: Alles auswählen

root@srv-opsi-test:~# systemctl status opsiconfd.service
● opsiconfd.service - Opsi Configuration Service
   Loaded: loaded (/lib/systemd/system/opsiconfd.service; enabled; vendor preset: enabled)
   Active: activating (start) since Fri 2019-09-06 13:22:21 CEST; 38s ago
  Process: 7773 ExecStart=/usr/bin/opsiconfd -D (code=exited, status=0/SUCCESS)
  Process: 7772 ExecStartPre=/bin/chown -R opsiconfd /var/run/opsiconfd/ (code=exited, status=0/SUCCESS)
  Process: 7771 ExecStartPre=/bin/mkdir -p /var/run/opsiconfd (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4661)
   CGroup: /system.slice/opsiconfd.service

Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Service hold-off time over, scheduling restart.
Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Scheduled restart job, restart counter is at 4.
Sep 06 13:22:21 srv-opsi-test systemd[1]: Stopped Opsi Configuration Service.
Sep 06 13:22:21 srv-opsi-test systemd[1]: Starting Opsi Configuration Service...
Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Can't open PID file /var/run/opsiconfd/opsiconfd.pid (yet?) after start: No such file or directory
Der Befehl journalctl -xe gibt folgendes aus:

Code: Alles auswählen

root@srv-opsi-test:~# journalctl -xe
-- Unit opsiconfd.service has failed.
--
-- The result is RESULT.
Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Service hold-off time over, scheduling restart.
Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Scheduled restart job, restart counter is at 4.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit opsiconfd.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Sep 06 13:22:21 srv-opsi-test systemd[1]: Stopped Opsi Configuration Service.
-- Subject: Unit opsiconfd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit opsiconfd.service has finished shutting down.
Sep 06 13:22:21 srv-opsi-test systemd[1]: Starting Opsi Configuration Service...
-- Subject: Unit opsiconfd.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit opsiconfd.service has begun starting up.
Sep 06 13:22:21 srv-opsi-test systemd[1]: opsiconfd.service: Can't open PID file /var/run/opsiconfd/opsiconfd.pid (yet?) after start: No such file or directory
Sep 06 13:23:51 srv-opsi-test systemd[1]: opsiconfd.service: Start operation timed out. Terminating.
Sep 06 13:23:51 srv-opsi-test systemd[1]: opsiconfd.service: Failed with result 'timeout'.
Sep 06 13:23:51 srv-opsi-test systemd[1]: Failed to start Opsi Configuration Service.
-- Subject: Unit opsiconfd.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit opsiconfd.service has failed.
--
-- The result is RESULT.
Sep 06 13:24:02 srv-opsi-test systemd[1]: opsiconfd.service: Service hold-off time over, scheduling restart.
Sep 06 13:24:02 srv-opsi-test systemd[1]: opsiconfd.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit opsiconfd.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Sep 06 13:24:02 srv-opsi-test systemd[1]: Stopped Opsi Configuration Service.
-- Subject: Unit opsiconfd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit opsiconfd.service has finished shutting down.
Sep 06 13:24:02 srv-opsi-test systemd[1]: Starting Opsi Configuration Service...
-- Subject: Unit opsiconfd.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit opsiconfd.service has begun starting up.
Sep 06 13:24:02 srv-opsi-test systemd[1]: opsiconfd.service: Can't open PID file /var/run/opsiconfd/opsiconfd.pid (yet?) after start: No such file or directory
lines 2821-2875/2875 (END)
Ein opsi-setup --set-rights gibt folgendes aus:

Code: Alles auswählen

root@srv-opsi-test:~# opsi-setup --set-rights
[5] [Sep 06 13:48:23] Setting rights on directory u'/etc/opsi' (Rights.py|116)
[5] [Sep 06 13:48:23] Setting rights on directory u'/var/log/opsi' (Rights.py|116)
[5] [Sep 06 13:48:23] Setting rights on directory u'/var/lib/opsi' (Rights.py|116)
[2] [Sep 06 13:48:23] Traceback: (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 213, in _createConnectionPool
    conv=conv
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 112, in __init__
    con = ConnectionPool.__instance.connect()
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 387, in connect
    return _ConnectionFairy._checkout(self)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 766, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 516, in checkout
    rec = pool._do_get()
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1138, in _do_get
    self._dec_overflow()
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1135, in _do_get
    return self._create_connection()
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 333, in _create_connection
    return _ConnectionRecord(self)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 461, in __init__
    self.__connect(first_connect_check=True)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 651, in __connect
    connection = pool._invoke_creator(self)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 294, in <lambda>
    return lambda crec: creator()
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 109, in getConnection
    return MySQLdb.connect(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect
    return Connection(*args, **kwargs)
 (Logger.py|798)
[2] [Sep 06 13:48:23]   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
 (Logger.py|798)
[2] [Sep 06 13:48:23]      ==>>> (1045, "Access denied for user 'opsi'@'localhost' (using password: YES)") (MySQL.py|218)
[4] [Sep 06 13:48:28] Has the backend been initialized? (Rights.py|294)
[4] [Sep 06 13:48:28] Unable to get path of workbench directory: Backend configuration error: Unable to instantiate a backend: [Errno 2] No such file or directory: '/var/lib/opsi/config/depots' (Rights.py|190)
[5] [Sep 06 13:48:28] Setting rights on directory u'/tftpboot/linux' (Rights.py|116)
[4] [Sep 06 13:48:28] Has the backend been initialized? (Rights.py|294)
[4] [Sep 06 13:48:28] Could not get path for depot: Backend configuration error: Unable to instantiate a backend: [Errno 2] No such file or directory: '/var/lib/opsi/config/depots' (Rights.py|251)
Ein opsi-setup --init-current-config gibt folgendes aus:

Code: Alles auswählen

root@srv-opsi-test:~# opsi-setup --init-current-config
[2] [Sep 06 13:49:31] Traceback: (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 213, in _createConnectionPool
    conv=conv
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 112, in __init__
    con = ConnectionPool.__instance.connect()
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 387, in connect
    return _ConnectionFairy._checkout(self)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 766, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 516, in checkout
    rec = pool._do_get()
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1138, in _do_get
    self._dec_overflow()
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1135, in _do_get
    return self._create_connection()
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 333, in _create_connection
    return _ConnectionRecord(self)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 461, in __init__
    self.__connect(first_connect_check=True)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 651, in __connect
    connection = pool._invoke_creator(self)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 294, in <lambda>
    return lambda crec: creator()
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 109, in getConnection
    return MySQLdb.connect(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect
    return Connection(*args, **kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:31]   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
 (Logger.py|798)
[2] [Sep 06 13:49:31]      ==>>> (1045, "Access denied for user 'opsi'@'localhost' (using password: YES)") (MySQL.py|218)
[5] [Sep 06 13:49:37] Creating base path: '/var/lib/opsi/config' (File.py|230)
[3] [Sep 06 13:49:37] Unexpected database error: (1045, "Access denied for user 'opsi'@'localhost' (using password: YES)") (MySQL.py|277)
[2] [Sep 06 13:49:37] Traceback: (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/bin/opsi-setup", line 1163, in <module>
    main()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/bin/opsi-setup", line 1115, in main
    initializeBackends(ipAddress)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Util/Task/InitializeBackend.py", line 69, in initializeBackends
    backend.backend_createBase()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "<string>", line 1, in backend_createBase
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 525, in _executeMethod
    return meth(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "<string>", line 1, in backend_createBase
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 525, in _executeMethod
    return meth(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "<string>", line 1, in backend_createBase
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 525, in _executeMethod
    return meth(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "<string>", line 1, in backend_createBase
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/BackendManager.py", line 437, in _dispatchMethod
    res = meth(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/SQL.py", line 497, in backend_createBase
    tables = self._sql.getTables()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 523, in getTables
    for i in self.getSet(u'SHOW TABLES;'):
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 300, in getSet
    (conn, cursor) = self.connect()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 262, in connect
    conn = self._pool.connect()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 387, in connect
    return _ConnectionFairy._checkout(self)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 766, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 516, in checkout
    rec = pool._do_get()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1138, in _do_get
    self._dec_overflow()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 1135, in _do_get
    return self._create_connection()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 333, in _create_connection
    return _ConnectionRecord(self)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 461, in __init__
    self.__connect(first_connect_check=True)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 651, in __connect
    connection = pool._invoke_creator(self)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 294, in <lambda>
    return lambda crec: creator()
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/OPSI/Backend/MySQL.py", line 109, in getConnection
    return MySQLdb.connect(**kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 86, in Connect
    return Connection(*args, **kwargs)
 (Logger.py|798)
[2] [Sep 06 13:49:37]   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
 (Logger.py|798)
[2] [Sep 06 13:49:37]      ==>>> (1045, "Access denied for user 'opsi'@'localhost' (using password: YES)") (opsi-setup|1167)

ERROR: (1045, "Access denied for user 'opsi'@'localhost' (using password: YES)")

Hier der gesamte Verlauf von apt install opsi-server:

Code: Alles auswählen

root@srv-opsi-test:~# apt install opsi-server
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  cabextract duplicity fontconfig fontconfig-config fonts-dejavu-core javascript-common libcairo2 libdatrie1 libdbi1 libfontconfig1 libgraphite2-3 libharfbuzz0b libjs-jquery
  libjs-sphinxdoc libjs-underscore libmysqlclient20 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 librrd8 librsync1 libthai-data libthai0 libxcb-render0 libxcb-shm0
  libxrender1 mysql-client opsi-linux-bootimage opsi-utils opsiconfd opsipxeconfd python-asn1crypto python-attr python-automat python-cffi-backend python-click python-colorama
  python-constantly python-cryptography python-distro python-enum34 python-fasteners python-hyperlink python-idna python-incremental python-ipaddress python-ldaptor python-lockfile
  python-m2crypto python-magic python-monotonic python-mysqldb python-newt python-openssl python-opsi python-pam python-pkg-resources python-pyasn1 python-pyasn1-modules
  python-pyparsing python-rrdtool python-serial python-service-identity python-setuptools python-six python-sqlalchemy python-sqlalchemy-ext python-twisted python-twisted-bin
  python-twisted-conch python-twisted-core python-twisted-mail python-twisted-names python-twisted-web python-typing python-zope.interface zsync
Vorgeschlagene Pakete:
  python-paramiko python-pexpect python-urllib3 python-oauthlib python-boto ncftp python-cloudfiles lftp python-gdata tahoe-lafs python-swiftclient apache2 | lighttpd | httpd
  opsi-windows-support opsi-linux-support python-attr-doc python-cryptography-doc python-cryptography-vectors python-enum34-doc python-lockfile-doc python-egenix-mxdatetime
  python-mysqldb-dbg python-openssl-doc python-openssl-dbg python-pam-dbg python-pyparsing-doc python-wxgtk3.0 | python-wxgtk python-setuptools-doc python-sqlalchemy-doc python-psycopg2
  python-pymysql python-fdb python-pymssql python-twisted-bin-dbg python-tk python-gtk2 python-glade2 python-qt3 python-wxgtk3.0
Die folgenden NEUEN Pakete werden installiert:
  cabextract duplicity fontconfig fontconfig-config fonts-dejavu-core javascript-common libcairo2 libdatrie1 libdbi1 libfontconfig1 libgraphite2-3 libharfbuzz0b libjs-jquery
  libjs-sphinxdoc libjs-underscore libmysqlclient20 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 librrd8 librsync1 libthai-data libthai0 libxcb-render0 libxcb-shm0
  libxrender1 mysql-client opsi-linux-bootimage opsi-server opsi-utils opsiconfd opsipxeconfd python-asn1crypto python-attr python-automat python-cffi-backend python-click
  python-colorama python-constantly python-cryptography python-distro python-enum34 python-fasteners python-hyperlink python-idna python-incremental python-ipaddress python-ldaptor
  python-lockfile python-m2crypto python-magic python-monotonic python-mysqldb python-newt python-openssl python-opsi python-pam python-pkg-resources python-pyasn1 python-pyasn1-modules
  python-pyparsing python-rrdtool python-serial python-service-identity python-setuptools python-six python-sqlalchemy python-sqlalchemy-ext python-twisted python-twisted-bin
  python-twisted-conch python-twisted-core python-twisted-mail python-twisted-names python-twisted-web python-typing python-zope.interface zsync
0 aktualisiert, 79 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 559 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 613 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stable/xUbuntu_18.04  python-opsi 4.1.1.72-1 [541 kB]
Holen:2 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 fonts-dejavu-core all 2.37-1 [1.041 kB]
Holen:3 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stable/xUbuntu_18.04  opsi-utils 4.1.1.33-2 [84,3 kB]
Holen:4 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stable/xUbuntu_18.04  opsiconfd 4.1.1.18-4 [246 kB]
Holen:5 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stable/xUbuntu_18.04  opsi-linux-bootimage 20190805-3 [549 MB]
Holen:6 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 fontconfig-config all 2.12.6-0ubuntu2 [55,8 kB]
Holen:7 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libfontconfig1 amd64 2.12.6-0ubuntu2 [137 kB]
Holen:8 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 fontconfig amd64 2.12.6-0ubuntu2 [169 kB]
Holen:9 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 cabextract amd64 1.6-1.1 [21,8 kB]
Holen:10 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 librsync1 amd64 0.9.7-10build1 [34,0 kB]
Holen:11 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-monotonic all 1.1-2 [5.262 B]
Holen:12 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11,3 kB]
Holen:13 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-fasteners all 0.12.0-3 [13,4 kB]
Holen:14 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-lockfile all 1:0.12.2-2 [14,6 kB]
Holen:15 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 duplicity amd64 0.7.17-0ubuntu1.1 [183 kB]
Holen:16 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 javascript-common all 11 [6.066 B]
Holen:17 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libpixman-1-0 amd64 0.34.0-2 [229 kB]
Holen:18 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-render0 amd64 1.13-2~ubuntu18.04 [14,7 kB]
Holen:19 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shm0 amd64 1.13-2~ubuntu18.04 [5.600 B]
Holen:20 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libxrender1 amd64 1:0.9.10-1 [18,7 kB]
Holen:21 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcairo2 amd64 1.15.10-2ubuntu0.1 [580 kB]
Holen:22 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libdatrie1 amd64 0.2.10-7 [17,8 kB]
Holen:23 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libdbi1 amd64 0.9.0-5 [27,3 kB]
Holen:24 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libgraphite2-3 amd64 1.3.11-2 [78,7 kB]
Holen:25 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libharfbuzz0b amd64 1.7.2-1ubuntu1 [232 kB]
Holen:26 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libjs-jquery all 3.2.1-1 [152 kB]
Holen:27 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libjs-underscore all 1.8.3~dfsg-1 [59,9 kB]
Holen:28 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libjs-sphinxdoc all 1.6.7-1ubuntu1 [85,6 kB]
Holen:29 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmysqlclient20 amd64 5.7.27-0ubuntu0.18.04.1 [816 kB]
Holen:30 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libthai-data all 0.1.27-2 [133 kB]
Holen:31 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 libthai0 amd64 0.1.27-2 [18,0 kB]
Holen:32 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpango-1.0-0 amd64 1.40.14-1ubuntu0.1 [153 kB]
Holen:33 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpangoft2-1.0-0 amd64 1.40.14-1ubuntu0.1 [33,2 kB]
Holen:34 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpangocairo-1.0-0 amd64 1.40.14-1ubuntu0.1 [20,8 kB]
Holen:35 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 librrd8 amd64 1.7.0-1build1 [158 kB]
Holen:36 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client all 5.7.27-0ubuntu0.18.04.1 [9.824 B]
Holen:37 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-twisted-bin amd64 17.9.0-2 [14,4 kB]
Holen:38 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Holen:39 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-zope.interface amd64 4.3.2-1build2 [82,2 kB]
Holen:40 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-attr all 17.4.0-2 [23,7 kB]
Holen:41 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-automat all 0.6.0-1 [25,1 kB]
Holen:42 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-constantly all 15.1.0-1 [7.960 B]
Holen:43 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-hyperlink all 17.3.1-2 [27,5 kB]
Holen:44 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-incremental all 16.10.1-3 [14,4 kB]
Holen:45 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-asn1crypto all 0.24.0-1 [72,7 kB]
Holen:46 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63,4 kB]
Holen:47 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-enum34 all 1.1.6-2 [34,8 kB]
Holen:48 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-idna all 2.6-1 [32,4 kB]
Holen:49 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-ipaddress all 1.0.17-1 [18,2 kB]
Holen:50 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.3 [221 kB]
Holen:51 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-openssl all 17.5.0-1ubuntu1 [41,3 kB]
Holen:52 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-pyasn1 all 0.4.2-3 [46,7 kB]
Holen:53 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-pyasn1-modules all 0.2.1-0.2 [32,8 kB]
Holen:54 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-service-identity all 16.0.0-2 [9.318 B]
Holen:55 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-twisted-core all 17.9.0-2 [2.003 kB]
Holen:56 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-twisted-names all 17.9.0-2 [14,2 kB]
Holen:57 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-twisted-mail all 17.9.0-2 [18,7 kB]
Holen:58 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-twisted-web all 17.9.0-2 [72,7 kB]
Holen:59 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-pyparsing all 2.2.0+dfsg1-2 [52,1 kB]
Holen:60 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-ldaptor all 0.0.43+debian1-7 [110 kB]
Holen:61 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-typing all 3.6.2-1 [22,2 kB]
Holen:62 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-m2crypto amd64 0.27.0-5 [331 kB]
Holen:63 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-magic all 2:0.4.15-1 [9.192 B]
Holen:64 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-mysqldb amd64 1.3.10-1build1 [49,2 kB]
Holen:65 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-newt amd64 0.52.20-1ubuntu1 [18,8 kB]
Holen:66 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-pam amd64 0.4.2-13.2ubuntu4 [9.856 B]
Holen:67 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-sqlalchemy all 1.1.11+ds1-1ubuntu1 [682 kB]
Holen:68 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-twisted-conch all 1:17.9.0-2 [24,1 kB]
Holen:69 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 zsync amd64 0.6.2-3ubuntu1 [77,2 kB]
Holen:70 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-rrdtool amd64 1.7.0-1build1 [17,2 kB]
Holen:71 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB]
Holen:72 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-twisted all 17.9.0-2 [3.720 B]
Holen:73 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-colorama all 0.3.7-1 [22,6 kB]
Holen:74 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-click all 6.7-3 [56,4 kB]
Holen:75 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-serial all 3.4-2 [71,9 kB]
Holen:76 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python-sqlalchemy-ext amd64 1.1.11+ds1-1ubuntu1 [13,4 kB]
Holen:77 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 python-distro all 1.0.1-2 [11,1 kB]
Holen:78 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stab                                                                                                            le/xUbuntu_18.04  opsipxeconfd 4.1.1.14-2 [17,9 kB]
Holen:79 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.1:/stab                                                                                                            le/xUbuntu_18.04  opsi-server 4.1.1.8-1 [18,7 kB]
Es wurden 559 MB in 17 s geholt (32,9 MB/s).
Extrahiere Vorlagen aus Paketen: 100%
Vorkonfiguration der Pakete ...
OK
Vormals nicht ausgewähltes Paket fonts-dejavu-core wird gewählt.
(Lese Datenbank ... 104678 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../00-fonts-dejavu-core_2.37-1_all.deb ...
Entpacken von fonts-dejavu-core (2.37-1) ...
Vormals nicht ausgewähltes Paket fontconfig-config wird gewählt.
Vorbereitung zum Entpacken von .../01-fontconfig-config_2.12.6-0ubuntu2_all.deb                                                                                                             ...
Entpacken von fontconfig-config (2.12.6-0ubuntu2) ...
Vormals nicht ausgewähltes Paket libfontconfig1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../02-libfontconfig1_2.12.6-0ubuntu2_amd64.deb                                                                                                             ...
Entpacken von libfontconfig1:amd64 (2.12.6-0ubuntu2) ...
Vormals nicht ausgewähltes Paket fontconfig wird gewählt.
Vorbereitung zum Entpacken von .../03-fontconfig_2.12.6-0ubuntu2_amd64.deb ...
Entpacken von fontconfig (2.12.6-0ubuntu2) ...
Vormals nicht ausgewähltes Paket cabextract wird gewählt.
Vorbereitung zum Entpacken von .../04-cabextract_1.6-1.1_amd64.deb ...
Entpacken von cabextract (1.6-1.1) ...
Vormals nicht ausgewähltes Paket librsync1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../05-librsync1_0.9.7-10build1_amd64.deb ...
Entpacken von librsync1:amd64 (0.9.7-10build1) ...
Vormals nicht ausgewähltes Paket python-monotonic wird gewählt.
Vorbereitung zum Entpacken von .../06-python-monotonic_1.1-2_all.deb ...
Entpacken von python-monotonic (1.1-2) ...
Vormals nicht ausgewähltes Paket python-six wird gewählt.
Vorbereitung zum Entpacken von .../07-python-six_1.11.0-2_all.deb ...
Entpacken von python-six (1.11.0-2) ...
Vormals nicht ausgewähltes Paket python-fasteners wird gewählt.
Vorbereitung zum Entpacken von .../08-python-fasteners_0.12.0-3_all.deb ...
Entpacken von python-fasteners (0.12.0-3) ...
Vormals nicht ausgewähltes Paket python-lockfile wird gewählt.
Vorbereitung zum Entpacken von .../09-python-lockfile_1%3a0.12.2-2_all.deb ...
Entpacken von python-lockfile (1:0.12.2-2) ...
Vormals nicht ausgewähltes Paket duplicity wird gewählt.
Vorbereitung zum Entpacken von .../10-duplicity_0.7.17-0ubuntu1.1_amd64.deb ...
Entpacken von duplicity (0.7.17-0ubuntu1.1) ...
Vormals nicht ausgewähltes Paket javascript-common wird gewählt.
Vorbereitung zum Entpacken von .../11-javascript-common_11_all.deb ...
Entpacken von javascript-common (11) ...
Vormals nicht ausgewähltes Paket libpixman-1-0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../12-libpixman-1-0_0.34.0-2_amd64.deb ...
Entpacken von libpixman-1-0:amd64 (0.34.0-2) ...
Vormals nicht ausgewähltes Paket libxcb-render0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../13-libxcb-render0_1.13-2~ubuntu18.04_amd64.d                                                                                                            eb ...
Entpacken von libxcb-render0:amd64 (1.13-2~ubuntu18.04) ...
Vormals nicht ausgewähltes Paket libxcb-shm0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../14-libxcb-shm0_1.13-2~ubuntu18.04_amd64.deb                                                                                                             ...
Entpacken von libxcb-shm0:amd64 (1.13-2~ubuntu18.04) ...
Vormals nicht ausgewähltes Paket libxrender1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../15-libxrender1_1%3a0.9.10-1_amd64.deb ...
Entpacken von libxrender1:amd64 (1:0.9.10-1) ...
Vormals nicht ausgewähltes Paket libcairo2:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../16-libcairo2_1.15.10-2ubuntu0.1_amd64.deb ..                                                                                                            .
Entpacken von libcairo2:amd64 (1.15.10-2ubuntu0.1) ...
Vormals nicht ausgewähltes Paket libdatrie1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../17-libdatrie1_0.2.10-7_amd64.deb ...
Entpacken von libdatrie1:amd64 (0.2.10-7) ...
Vormals nicht ausgewähltes Paket libdbi1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../18-libdbi1_0.9.0-5_amd64.deb ...
Entpacken von libdbi1:amd64 (0.9.0-5) ...
Vormals nicht ausgewähltes Paket libgraphite2-3:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../19-libgraphite2-3_1.3.11-2_amd64.deb ...
Entpacken von libgraphite2-3:amd64 (1.3.11-2) ...
Vormals nicht ausgewähltes Paket libharfbuzz0b:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../20-libharfbuzz0b_1.7.2-1ubuntu1_amd64.deb ..                                                                                                            .
Entpacken von libharfbuzz0b:amd64 (1.7.2-1ubuntu1) ...
Vormals nicht ausgewähltes Paket libjs-jquery wird gewählt.
Vorbereitung zum Entpacken von .../21-libjs-jquery_3.2.1-1_all.deb ...
Entpacken von libjs-jquery (3.2.1-1) ...
Vormals nicht ausgewähltes Paket libjs-underscore wird gewählt.
Vorbereitung zum Entpacken von .../22-libjs-underscore_1.8.3~dfsg-1_all.deb ...
Entpacken von libjs-underscore (1.8.3~dfsg-1) ...
Vormals nicht ausgewähltes Paket libjs-sphinxdoc wird gewählt.
Vorbereitung zum Entpacken von .../23-libjs-sphinxdoc_1.6.7-1ubuntu1_all.deb ..                                                                                                            .
Entpacken von libjs-sphinxdoc (1.6.7-1ubuntu1) ...
Vormals nicht ausgewähltes Paket libmysqlclient20:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../24-libmysqlclient20_5.7.27-0ubuntu0.18.04.1_                                                                                                            amd64.deb ...
Entpacken von libmysqlclient20:amd64 (5.7.27-0ubuntu0.18.04.1) ...
Vormals nicht ausgewähltes Paket libthai-data wird gewählt.
Vorbereitung zum Entpacken von .../25-libthai-data_0.1.27-2_all.deb ...
Entpacken von libthai-data (0.1.27-2) ...
Vormals nicht ausgewähltes Paket libthai0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../26-libthai0_0.1.27-2_amd64.deb ...
Entpacken von libthai0:amd64 (0.1.27-2) ...
Vormals nicht ausgewähltes Paket libpango-1.0-0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../27-libpango-1.0-0_1.40.14-1ubuntu0.1_amd64.d                                                                                                            eb ...
Entpacken von libpango-1.0-0:amd64 (1.40.14-1ubuntu0.1) ...
Vormals nicht ausgewähltes Paket libpangoft2-1.0-0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../28-libpangoft2-1.0-0_1.40.14-1ubuntu0.1_amd6                                                                                                            4.deb ...
Entpacken von libpangoft2-1.0-0:amd64 (1.40.14-1ubuntu0.1) ...
Vormals nicht ausgewähltes Paket libpangocairo-1.0-0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../29-libpangocairo-1.0-0_1.40.14-1ubuntu0.1_am                                                                                                            d64.deb ...
Entpacken von libpangocairo-1.0-0:amd64 (1.40.14-1ubuntu0.1) ...
Vormals nicht ausgewähltes Paket librrd8:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../30-librrd8_1.7.0-1build1_amd64.deb ...
Entpacken von librrd8:amd64 (1.7.0-1build1) ...
Vormals nicht ausgewähltes Paket mysql-client wird gewählt.
Vorbereitung zum Entpacken von .../31-mysql-client_5.7.27-0ubuntu0.18.04.1_all.                                                                                                            deb ...
Entpacken von mysql-client (5.7.27-0ubuntu0.18.04.1) ...
Vormals nicht ausgewähltes Paket python-twisted-bin:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../32-python-twisted-bin_17.9.0-2_amd64.deb ...
Entpacken von python-twisted-bin:amd64 (17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-pkg-resources wird gewählt.
Vorbereitung zum Entpacken von .../33-python-pkg-resources_39.0.1-2_all.deb ...
Entpacken von python-pkg-resources (39.0.1-2) ...
Vormals nicht ausgewähltes Paket python-zope.interface wird gewählt.
Vorbereitung zum Entpacken von .../34-python-zope.interface_4.3.2-1build2_amd64                                                                                                            .deb ...
Entpacken von python-zope.interface (4.3.2-1build2) ...
Vormals nicht ausgewähltes Paket python-attr wird gewählt.
Vorbereitung zum Entpacken von .../35-python-attr_17.4.0-2_all.deb ...
Entpacken von python-attr (17.4.0-2) ...
Vormals nicht ausgewähltes Paket python-automat wird gewählt.
Vorbereitung zum Entpacken von .../36-python-automat_0.6.0-1_all.deb ...
Entpacken von python-automat (0.6.0-1) ...
Vormals nicht ausgewähltes Paket python-constantly wird gewählt.
Vorbereitung zum Entpacken von .../37-python-constantly_15.1.0-1_all.deb ...
Entpacken von python-constantly (15.1.0-1) ...
Vormals nicht ausgewähltes Paket python-hyperlink wird gewählt.
Vorbereitung zum Entpacken von .../38-python-hyperlink_17.3.1-2_all.deb ...
Entpacken von python-hyperlink (17.3.1-2) ...
Vormals nicht ausgewähltes Paket python-incremental wird gewählt.
Vorbereitung zum Entpacken von .../39-python-incremental_16.10.1-3_all.deb ...
Entpacken von python-incremental (16.10.1-3) ...
Vormals nicht ausgewähltes Paket python-asn1crypto wird gewählt.
Vorbereitung zum Entpacken von .../40-python-asn1crypto_0.24.0-1_all.deb ...
Entpacken von python-asn1crypto (0.24.0-1) ...
Vormals nicht ausgewähltes Paket python-cffi-backend wird gewählt.
Vorbereitung zum Entpacken von .../41-python-cffi-backend_1.11.5-1_amd64.deb ..                                                                                                            .
Entpacken von python-cffi-backend (1.11.5-1) ...
Vormals nicht ausgewähltes Paket python-enum34 wird gewählt.
Vorbereitung zum Entpacken von .../42-python-enum34_1.1.6-2_all.deb ...
Entpacken von python-enum34 (1.1.6-2) ...
Vormals nicht ausgewähltes Paket python-idna wird gewählt.
Vorbereitung zum Entpacken von .../43-python-idna_2.6-1_all.deb ...
Entpacken von python-idna (2.6-1) ...
Vormals nicht ausgewähltes Paket python-ipaddress wird gewählt.
Vorbereitung zum Entpacken von .../44-python-ipaddress_1.0.17-1_all.deb ...
Entpacken von python-ipaddress (1.0.17-1) ...
Vormals nicht ausgewähltes Paket python-cryptography wird gewählt.
Vorbereitung zum Entpacken von .../45-python-cryptography_2.1.4-1ubuntu1.3_amd6                                                                                                            4.deb ...
Entpacken von python-cryptography (2.1.4-1ubuntu1.3) ...
Vormals nicht ausgewähltes Paket python-openssl wird gewählt.
Vorbereitung zum Entpacken von .../46-python-openssl_17.5.0-1ubuntu1_all.deb ..                                                                                                            .
Entpacken von python-openssl (17.5.0-1ubuntu1) ...
Vormals nicht ausgewähltes Paket python-pyasn1 wird gewählt.
Vorbereitung zum Entpacken von .../47-python-pyasn1_0.4.2-3_all.deb ...
Entpacken von python-pyasn1 (0.4.2-3) ...
Vormals nicht ausgewähltes Paket python-pyasn1-modules wird gewählt.
Vorbereitung zum Entpacken von .../48-python-pyasn1-modules_0.2.1-0.2_all.deb .                                                                                                            ..
Entpacken von python-pyasn1-modules (0.2.1-0.2) ...
Vormals nicht ausgewähltes Paket python-service-identity wird gewählt.
Vorbereitung zum Entpacken von .../49-python-service-identity_16.0.0-2_all.deb                                                                                                             ...
Entpacken von python-service-identity (16.0.0-2) ...
Vormals nicht ausgewähltes Paket python-twisted-core wird gewählt.
Vorbereitung zum Entpacken von .../50-python-twisted-core_17.9.0-2_all.deb ...
Entpacken von python-twisted-core (17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-twisted-names wird gewählt.
Vorbereitung zum Entpacken von .../51-python-twisted-names_17.9.0-2_all.deb ...
Entpacken von python-twisted-names (17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-twisted-mail wird gewählt.
Vorbereitung zum Entpacken von .../52-python-twisted-mail_17.9.0-2_all.deb ...
Entpacken von python-twisted-mail (17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-twisted-web wird gewählt.
Vorbereitung zum Entpacken von .../53-python-twisted-web_17.9.0-2_all.deb ...
Entpacken von python-twisted-web (17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-pyparsing wird gewählt.
Vorbereitung zum Entpacken von .../54-python-pyparsing_2.2.0+dfsg1-2_all.deb ..                                                                                                            .
Entpacken von python-pyparsing (2.2.0+dfsg1-2) ...
Vormals nicht ausgewähltes Paket python-ldaptor wird gewählt.
Vorbereitung zum Entpacken von .../55-python-ldaptor_0.0.43+debian1-7_all.deb .                                                                                                            ..
Entpacken von python-ldaptor (0.0.43+debian1-7) ...
Vormals nicht ausgewähltes Paket python-typing wird gewählt.
Vorbereitung zum Entpacken von .../56-python-typing_3.6.2-1_all.deb ...
Entpacken von python-typing (3.6.2-1) ...
Vormals nicht ausgewähltes Paket python-m2crypto wird gewählt.
Vorbereitung zum Entpacken von .../57-python-m2crypto_0.27.0-5_amd64.deb ...
Entpacken von python-m2crypto (0.27.0-5) ...
Vormals nicht ausgewähltes Paket python-magic wird gewählt.
Vorbereitung zum Entpacken von .../58-python-magic_2%3a0.4.15-1_all.deb ...
Entpacken von python-magic (2:0.4.15-1) ...
Vormals nicht ausgewähltes Paket python-mysqldb wird gewählt.
Vorbereitung zum Entpacken von .../59-python-mysqldb_1.3.10-1build1_amd64.deb .                                                                                                            ..
Entpacken von python-mysqldb (1.3.10-1build1) ...
Vormals nicht ausgewähltes Paket python-newt:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../60-python-newt_0.52.20-1ubuntu1_amd64.deb ..                                                                                                            .
Entpacken von python-newt:amd64 (0.52.20-1ubuntu1) ...
Vormals nicht ausgewähltes Paket python-pam wird gewählt.
Vorbereitung zum Entpacken von .../61-python-pam_0.4.2-13.2ubuntu4_amd64.deb ..                                                                                                            .
Entpacken von python-pam (0.4.2-13.2ubuntu4) ...
Vormals nicht ausgewähltes Paket python-sqlalchemy wird gewählt.
Vorbereitung zum Entpacken von .../62-python-sqlalchemy_1.1.11+ds1-1ubuntu1_all                                                                                                            .deb ...
Entpacken von python-sqlalchemy (1.1.11+ds1-1ubuntu1) ...
Vormals nicht ausgewähltes Paket python-twisted-conch wird gewählt.
Vorbereitung zum Entpacken von .../63-python-twisted-conch_1%3a17.9.0-2_all.deb                                                                                                             ...
Entpacken von python-twisted-conch (1:17.9.0-2) ...
Vormals nicht ausgewähltes Paket python-opsi wird gewählt.
Vorbereitung zum Entpacken von .../64-python-opsi_4.1.1.72-1_all.deb ...
Entpacken von python-opsi (4.1.1.72-1) ...
Vormals nicht ausgewähltes Paket zsync wird gewählt.
Vorbereitung zum Entpacken von .../65-zsync_0.6.2-3ubuntu1_amd64.deb ...
Entpacken von zsync (0.6.2-3ubuntu1) ...
Vormals nicht ausgewähltes Paket opsi-utils wird gewählt.
Vorbereitung zum Entpacken von .../66-opsi-utils_4.1.1.33-2_all.deb ...
Entpacken von opsi-utils (4.1.1.33-2) ...
Vormals nicht ausgewähltes Paket python-rrdtool:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../67-python-rrdtool_1.7.0-1build1_amd64.deb ..                                                                                                            .
Entpacken von python-rrdtool:amd64 (1.7.0-1build1) ...
Vormals nicht ausgewähltes Paket python-setuptools wird gewählt.
Vorbereitung zum Entpacken von .../68-python-setuptools_39.0.1-2_all.deb ...
Entpacken von python-setuptools (39.0.1-2) ...
Vormals nicht ausgewähltes Paket python-twisted wird gewählt.
Vorbereitung zum Entpacken von .../69-python-twisted_17.9.0-2_all.deb ...
Entpacken von python-twisted (17.9.0-2) ...
Vormals nicht ausgewähltes Paket opsiconfd wird gewählt.
Vorbereitung zum Entpacken von .../70-opsiconfd_4.1.1.18-4_all.deb ...
Entpacken von opsiconfd (4.1.1.18-4) ...
Vormals nicht ausgewähltes Paket opsi-linux-bootimage wird gewählt.
Vorbereitung zum Entpacken von .../71-opsi-linux-bootimage_20190805-3_all.deb .                                                                                                            ..
Entpacken von opsi-linux-bootimage (20190805-3) ...
Vormals nicht ausgewähltes Paket opsipxeconfd wird gewählt.
Vorbereitung zum Entpacken von .../72-opsipxeconfd_4.1.1.14-2_all.deb ...
Entpacken von opsipxeconfd (4.1.1.14-2) ...
Vormals nicht ausgewähltes Paket opsi-server wird gewählt.
Vorbereitung zum Entpacken von .../73-opsi-server_4.1.1.8-1_all.deb ...
grep: /etc/opsi/opsi.conf: No such file or directory
  -> Adding group pcpatch
  -> Adding user pcpatch
  -> Adding user opsiconfd
Entpacken von opsi-server (4.1.1.8-1) ...
Vormals nicht ausgewähltes Paket python-colorama wird gewählt.
Vorbereitung zum Entpacken von .../74-python-colorama_0.3.7-1_all.deb ...
Entpacken von python-colorama (0.3.7-1) ...
Vormals nicht ausgewähltes Paket python-click wird gewählt.
Vorbereitung zum Entpacken von .../75-python-click_6.7-3_all.deb ...
Entpacken von python-click (6.7-3) ...
Vormals nicht ausgewähltes Paket python-serial wird gewählt.
Vorbereitung zum Entpacken von .../76-python-serial_3.4-2_all.deb ...
Entpacken von python-serial (3.4-2) ...
Vormals nicht ausgewähltes Paket python-sqlalchemy-ext wird gewählt.
Vorbereitung zum Entpacken von .../77-python-sqlalchemy-ext_1.1.11+ds1-1ubuntu1                                                                                                            _amd64.deb ...
Entpacken von python-sqlalchemy-ext (1.1.11+ds1-1ubuntu1) ...
Vormals nicht ausgewähltes Paket python-distro wird gewählt.
Vorbereitung zum Entpacken von .../78-python-distro_1.0.1-2_all.deb ...
Entpacken von python-distro (1.0.1-2) ...
python-idna (2.6-1) wird eingerichtet ...
libjs-jquery (3.2.1-1) wird eingerichtet ...
python-hyperlink (17.3.1-2) wird eingerichtet ...
python-sqlalchemy (1.1.11+ds1-1ubuntu1) wird eingerichtet ...
libdbi1:amd64 (0.9.0-5) wird eingerichtet ...
python-asn1crypto (0.24.0-1) wird eingerichtet ...
libxcb-render0:amd64 (1.13-2~ubuntu18.04) wird eingerichtet ...
python-attr (17.4.0-2) wird eingerichtet ...
libjs-underscore (1.8.3~dfsg-1) wird eingerichtet ...
fonts-dejavu-core (2.37-1) wird eingerichtet ...
python-pyasn1 (0.4.2-3) wird eingerichtet ...
python-monotonic (1.1-2) wird eingerichtet ...
python-magic (2:0.4.15-1) wird eingerichtet ...
python-twisted-bin:amd64 (17.9.0-2) wird eingerichtet ...
libjs-sphinxdoc (1.6.7-1ubuntu1) wird eingerichtet ...
mysql-client (5.7.27-0ubuntu0.18.04.1) wird eingerichtet ...
libdatrie1:amd64 (0.2.10-7) wird eingerichtet ...
python-colorama (0.3.7-1) wird eingerichtet ...
python-pkg-resources (39.0.1-2) wird eingerichtet ...
python-pyasn1-modules (0.2.1-0.2) wird eingerichtet ...
librsync1:amd64 (0.9.7-10build1) wird eingerichtet ...
libgraphite2-3:amd64 (1.3.11-2) wird eingerichtet ...
python-cffi-backend (1.11.5-1) wird eingerichtet ...
python-incremental (16.10.1-3) wird eingerichtet ...
cabextract (1.6-1.1) wird eingerichtet ...
libpixman-1-0:amd64 (0.34.0-2) wird eingerichtet ...
python-six (1.11.0-2) wird eingerichtet ...
python-constantly (15.1.0-1) wird eingerichtet ...
zsync (0.6.2-3ubuntu1) wird eingerichtet ...
python-zope.interface (4.3.2-1build2) wird eingerichtet ...
python-newt:amd64 (0.52.20-1ubuntu1) wird eingerichtet ...
python-distro (1.0.1-2) wird eingerichtet ...
python-enum34 (1.1.6-2) wird eingerichtet ...
python-serial (3.4-2) wird eingerichtet ...
python-sqlalchemy-ext (1.1.11+ds1-1ubuntu1) wird eingerichtet ...
libxcb-shm0:amd64 (1.13-2~ubuntu18.04) wird eingerichtet ...
libxrender1:amd64 (1:0.9.10-1) wird eingerichtet ...
libmysqlclient20:amd64 (5.7.27-0ubuntu0.18.04.1) wird eingerichtet ...
libthai-data (0.1.27-2) wird eingerichtet ...
python-lockfile (1:0.12.2-2) wird eingerichtet ...
javascript-common (11) wird eingerichtet ...
python-pam (0.4.2-13.2ubuntu4) wird eingerichtet ...
python-ipaddress (1.0.17-1) wird eingerichtet ...
python-automat (0.6.0-1) wird eingerichtet ...
python-typing (3.6.2-1) wird eingerichtet ...
python-pyparsing (2.2.0+dfsg1-2) wird eingerichtet ...
python-setuptools (39.0.1-2) wird eingerichtet ...
fontconfig-config (2.12.6-0ubuntu2) wird eingerichtet ...
python-click (6.7-3) wird eingerichtet ...
libharfbuzz0b:amd64 (1.7.2-1ubuntu1) wird eingerichtet ...
libthai0:amd64 (0.1.27-2) wird eingerichtet ...
python-m2crypto (0.27.0-5) wird eingerichtet ...
python-fasteners (0.12.0-3) wird eingerichtet ...
duplicity (0.7.17-0ubuntu1.1) wird eingerichtet ...
python-mysqldb (1.3.10-1build1) wird eingerichtet ...
python-cryptography (2.1.4-1ubuntu1.3) wird eingerichtet ...
libfontconfig1:amd64 (2.12.6-0ubuntu2) wird eingerichtet ...
python-openssl (17.5.0-1ubuntu1) wird eingerichtet ...
fontconfig (2.12.6-0ubuntu2) wird eingerichtet ...
Regenerating fonts cache... done.
python-service-identity (16.0.0-2) wird eingerichtet ...
libcairo2:amd64 (1.15.10-2ubuntu0.1) wird eingerichtet ...
python-twisted-core (17.9.0-2) wird eingerichtet ...
libpango-1.0-0:amd64 (1.40.14-1ubuntu0.1) wird eingerichtet ...
python-twisted (17.9.0-2) wird eingerichtet ...
python-twisted-conch (1:17.9.0-2) wird eingerichtet ...
python-twisted-names (17.9.0-2) wird eingerichtet ...
python-twisted-web (17.9.0-2) wird eingerichtet ...
python-twisted-mail (17.9.0-2) wird eingerichtet ...
libpangoft2-1.0-0:amd64 (1.40.14-1ubuntu0.1) wird eingerichtet ...
python-ldaptor (0.0.43+debian1-7) wird eingerichtet ...
libpangocairo-1.0-0:amd64 (1.40.14-1ubuntu0.1) wird eingerichtet ...
librrd8:amd64 (1.7.0-1build1) wird eingerichtet ...
python-rrdtool:amd64 (1.7.0-1build1) wird eingerichtet ...
python-opsi (4.1.1.72-1) wird eingerichtet ...
opsiconfd (4.1.1.18-4) wird eingerichtet ...
Created symlink /etc/systemd/system/multi-user.target.wants/opsiconfd.service →                                                                                                             /lib/systemd/system/opsiconfd.service.
Job for opsiconfd.service failed because a timeout was exceeded.
See "systemctl status opsiconfd.service" and "journalctl -xe" for details.
OK
Job for opsiconfd.service failed because a timeout was exceeded.
See "systemctl status opsiconfd.service" and "journalctl -xe" for details.
Generating a RSA private key
.......................................................................................................+++++
...............................+++++
writing new private key to '/etc/opsi/opsiconfd.pem'
-----
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
..........+........................................................+..........+.......................+..+..............+...................................................................+.........................+..........+....+...............+..........++*++*++*++*++*
subject=C = DE, ST = NRW, L = Wesel, O = Stadt Wesel, OU = Team Informationstechnik, CN = srv-opsi-test.sv-test.sv-wesel.wesel
notBefore=Sep  6 11:18:50 2019 GMT
notAfter=Jun  2 11:18:50 2022 GMT
SHA1 Fingerprint=BB:49:2F:96:39:E7:5B:2E:13:50:59:AB:DE:CB:7A:46:A1:31:28:AF
Enabled opsiconfd.service
opsi-utils (4.1.1.33-2) wird eingerichtet ...
opsi-linux-bootimage (20190805-3) wird eingerichtet ...
link default is broken or non existing
linking default to default.menu
opsipxeconfd (4.1.1.14-2) wird eingerichtet ...
Reloading unit-files
Created symlink /etc/systemd/system/multi-user.target.wants/opsipxeconfd.service → /lib/systemd/system/opsipxeconfd.service.
Enabled opsipxeconfd.service
opsi-server (4.1.1.8-1) wird eingerichtet ...
Trigger für man-db (2.8.3-2ubuntu0.1) werden verarbeitet ...
Trigger für libc-bin (2.27-3ubuntu1) werden verarbeitet ...
Ich hoffe ihr habt noch Ideen, woran es liegen könnte.

Liebe Grüße

Euer opsifizierer! :P
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Beitrag von n.wenselowski »

Hi,
opsifizierer hat geschrieben: Ausgabe getent hosts $(hostname -f):

Code: Alles auswählen

root@srv-opsi-test:~# getent hosts $(hostname -f)
127.0.1.1       srv-opsi-test.sv-test.sv-wesel.wesel srv-opsi-test
Dein Problem liegt hier, weil wir keine loopback-Adresse erwarten. Hier muss die von den Clients erreichbare IP des Servers stehen.

Fehler wie der fehlende Zugriff auf den MySQL-Server werden im Folgekapitel erledigt und verschwinden danach.



Gruß

Niko

Code: Alles auswählen

import OPSI
opsifizierer
Beiträge: 8
Registriert: 06 Sep 2019, 12:49

Re: Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Beitrag von opsifizierer »

Hallo,

mittlerweile habe ich die Einrichtung erfolgreich durchgeführt. Ich habe nichts verändert und einfach die Fehler ignoriert und fortgesetzt. Hat scheinbar geklappt. Ein Hinweis im Handbuch, der einen vor der Willkür an Fehlermeldungen warnt, wäre vermutlich nicht schlecht gewesen und hätte mir stundenlanges rumfummeln erspart. :?

Danke! :-)

Liebe Grüße
euer opsifizierer!
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1515
Registriert: 10 Jun 2015, 12:19

Re: Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Beitrag von m.radtke »

Moin,
die Fehler werden schon aus einem Grund geworfen, wenn es zunächst funktioniert gut, aber es kann im späteren Verlauf zu Problemen kommen.

Im Getting Started gibt es einen Text dazu

Code: Alles auswählen

Das Ergebnis sollte beispielsweise so aussehen:
192.168.1.1 server.domain.tld server
Sieht das Ergebnis nicht so aus (enthält z.B. 127.0.0.1 oder localhost), dann müssen Sie Ihre /etc/hosts oder Namensauflösung zunächst korrigieren.
Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
opsifizierer
Beiträge: 8
Registriert: 06 Sep 2019, 12:49

Re: Opsi Installation nach Getting Started Handbuch schlägt fehl?!

Beitrag von opsifizierer »

Mitlerweile hat sich der Eintrag der /etc/hosts von selbst angepasst.

Code: Alles auswählen

root@srv-opsi-test:~# getent hosts $(hostname -f)
172.20.255.7    srv-opsi-test.sv-test.sv-wesel.wesel srv-opsi-test
Also sollte das auch gerichtet sein. Danke :-)
Antworten