OPSI 4.03 auf Scientific Linux 6 Carbon

Antworten
tk1908
Beiträge: 12
Registriert: 05 Jun 2013, 09:36

OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von tk1908 »

Guten Tag,

Ich soll auf Scientific Basis einen OPSI-Server einrichten. Dazu habe Ich mich an diese Anleitung von CentOS gehalten: http://download.uib.de/opsi_stable/doc/ ... ble-de.pdf

Allerdings bekomme Ich jetzt, wenn Ich mich authentifizieren will, folgende Fehlermeldung:

OPSI authentification error: Forbidden: Backend authentification error: Backend authentification error: PAM authentication failed for user 'adminuser': ('Authentication failure', 7) (error on server) (opsi-admin|1581)

Googlen nach dieser Fehlermeldung war leider nicht wirklich erfolgreich. Die Einrichtung auf der VM mit Xubuntu war kein Problem, allerdings muss es unbedingt Scientific sein.

Ist jemandem von euch diese Fehlermeldung bekannt?

Grüße tk1908
tk1908
Beiträge: 12
Registriert: 05 Jun 2013, 09:36

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von tk1908 »

Hat keiner ne Ahnung?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von n.wenselowski »

Hallo tk1908,

Scientific Linux gehört leider nicht zu den offiziell unterstützten Betriebssystemen.
Da sehen die Karten selbst mit den sehr empfehlenswerten Support-Verträgen nicht so gut aus ;)

Vielleicht hilft aber schon ein Blick in das Handbuch und die darin enthaltenen Infos zu PAM.


Gruß

N. Wenselowski

Code: Alles auswählen

import OPSI
tk1908
Beiträge: 12
Registriert: 05 Jun 2013, 09:36

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von tk1908 »

[2] Traceback: (Logger.py|742)
[2] line 1571 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 254 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 326 in '__init__' in file '/usr/lib/python2.6/site-packages/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 395 in 'connect' in file '/usr/lib/python2.6/site-packages/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 611 in '_jsonRPC' in file '/usr/lib/python2.6/site-packages/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 123 in 'execute' in file '/usr/lib/python2.6/site-packages/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] line 135 in 'waitForResult' in file '/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py' (Logger.py|742)
[2] ==>>> Opsi authentication error: Forbidden: Backend authentication error: Backend authentication error: PAM authentication failed for user 'root': ('Permission denied', 6) (error on server) (opsi-admin|1581)


Das sind alle Fehlermeldungen. Vielleicht könnt ihr damit was anfangen.
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von SisterOfMercy »

I get the same errors, but only when I run opsi-admin without any commands. Perhaps it works if you first login as adminuser?

Everything else works with my installation. Can you get to the webinterface? https://your-opsi-server-url:4447/configed
what results do you get when using these commands:
cat /etc/passwd
cat /etc/group
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von n.wenselowski »

Hallo tk1908 and SisterOfMercy,

das Problem sind in dem Fall vermutlich die Berechtigungen. Gehört der User root zur Gruppe opsiadmin?

@SisterOfMercy:
Any user with sufficent rights should work. Is the user you are trying to run things with member of the group opsiadmin?


With kind regards / Mit freundlichen Grüßen

N. Wenselowski

Code: Alles auswählen

import OPSI
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: OPSI 4.03 auf Scientific Linux 6 Carbon

Beitrag von SisterOfMercy »

n.wenselowski hat geschrieben:das Problem sind in dem Fall vermutlich die Berechtigungen. Gehört der User root zur Gruppe opsiadmin?
"If you want root to use the opsi administration commands, then root has to be a member of the group opsiadmin." from opsi-getting-started-stable-en.pdf (v4.0.3)
Oops, I read that the other way around. I read root does _not_ have to be member of the group opsiadmin. Anyway, it is in the manual :)
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten