OPSI Server Installation auf CentOS 7.4

Antworten
spida
Beiträge: 1
Registriert: 18 Apr 2018, 08:21

OPSI Server Installation auf CentOS 7.4

Beitrag von spida »

Hallo zusammen.

Bei der Installation auf CentOS 7.4 (Minimal) lässt sich der opsiconfd nicht starten (siehe auszug journalctl unten). Grund dafür sind fehlende python-setuptools, die sind bei einer Minimalinstallation von CentOS 7 nicht dabei. (Betrifft alle die keine Grafische Oberfläche benötigen) Können aber nachinstalliert werden: yum install python-setuptools

Auszug von journalctl:
-- Unit opsiconfd.service has begun starting up.
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: Traceback (most recent call last):
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: File "/usr/bin/opsiconfd", line 5, in <module>
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: from pkg_resources import load_entry_point
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: ImportError: No module named pkg_resources
Apr 18 09:14:39 opsi.domain.com systemd[1]: opsiconfd.service: control process exited, code=exited status=1
Apr 18 09:14:39 opsi.domain.com systemd[1]: Failed to start Opsi Configuration Service.
-- Subject: Unit opsiconfd.service has failed
-- Defined-By: systemd

@Liebes OPSI Team, mann kann Anleitungen bis ins unermessliche ausdehnen aber vielleicht nehmt ihr trotzdem einen kleinen Hinweis darauf in eure Installations-Anleitung auf ;)

Gruss SPIDA
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: OPSI Server Installation auf CentOS 7.4

Beitrag von n.wenselowski »

Hi SPIDA,
spida hat geschrieben:Auszug von journalctl:
-- Unit opsiconfd.service has begun starting up.
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: Traceback (most recent call last):
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: File "/usr/bin/opsiconfd", line 5, in <module>
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: from pkg_resources import load_entry_point
Apr 18 09:14:39 opsi.domain.com opsiconfd[12552]: ImportError: No module named pkg_resources
Apr 18 09:14:39 opsi.domain.com systemd[1]: opsiconfd.service: control process exited, code=exited status=1
Apr 18 09:14:39 opsi.domain.com systemd[1]: Failed to start Opsi Configuration Service.
-- Subject: Unit opsiconfd.service has failed
-- Defined-By: systemd

@Liebes OPSI Team, mann kann Anleitungen bis ins unermessliche ausdehnen aber vielleicht nehmt ihr trotzdem einen kleinen Hinweis darauf in eure Installations-Anleitung auf ;)
Danke für den Hinweis. Ab opsiconfd 4.1.1.10-7 gibt es eine explizite Abhängigkeit auf python-setuptools und damit sollte es dann auch Out-of-the-Box funktioneren.


Gruß

Niko

Code: Alles auswählen

import OPSI
Antworten