SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Antworten
suukit
Beiträge: 4
Registriert: 03 Sep 2009, 14:08

SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von suukit »

Guten Tag,

habe soeben ein OPSI in ein frisch installiertes, leers CentOS 6.2 unter Zuhilfenahme des offiziellen Repos installiert. Konfiguration anhand der Anleitung. Mysql-Datenbank ist auch angelegt. opsiconfd startet problemlos, jedoch verabschiedet sich opsiconfd sobald eine Auth über das Java-Interface kommt (Java-App wird geladen, Auth-Dialog erscheint).

Starte ich opsiconfd aus der Kommandozeile sieht das so aus:
[root@opsi /]# opsiconfd
[1] [Mar 27 12:30:49]
==================================================================
= opsi configuration service starting =
==================================================================
(Logger.py|831)
[5] [Mar 27 12:30:49] Starting opsiconfd main thread (opsiconfd.py|430)
[5] [Mar 27 12:30:49] Opening socket /var/run/opsiconfd/opsiconfd.socket for interprocess communication. (opsiconfd.py|414)
[4] [Mar 27 12:30:49] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Mar 27 12:30:49] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|391)
[5] [Mar 27 12:30:50] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|273)
[5] [Mar 27 12:30:50] Running on depot server 'opsi.esigma.lan', exporting repository directory (opsiconfd.py|290)
[5] [Mar 27 12:30:50] Running on depot server 'opsi.esigma.lan', exporting depot directory (opsiconfd.py|303)
[5] [Mar 27 12:30:50] Added webdav content 'repository' which points to directory '/var/lib/opsi/repository' () (opsiconfd.py|336)
[5] [Mar 27 12:30:50] Added webdav content 'depot' which points to directory '/var/lib/opsi/depot' () (opsiconfd.py|336)
[5] [Mar 27 12:30:50] Added webdav content 'configed' which points to directory '/usr/lib/configed' (u'noauth',) (opsiconfd.py|336)
[5] [Mar 27 12:30:50] Accepting HTTPS requests on 0.0.0.0:4447 (opsiconfd.py|383)
[5] [Mar 27 12:30:50] Publishing opsiconfd over zeroconf as 'opsi configuration daemon' on '4447' (opsiconfd.py|397)
[4] [Mar 27 12:30:50] Failed to publish ZeroconfService: avahi/dbus module missing (opsiconfd.py|98)
[4] [Mar 27 12:30:53] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Mar 27 12:30:53] Application 'opsi config editor 4.0.1.24' on client '192.168.98.199' did not send cookie (workers.py|161)
[5] [Mar 27 12:30:53] New session created (session.py|74)
[5] [Mar 27 12:30:53] Authorization request from adminuser@192.168.98.199 (application: opsi config editor 4.0.1.24) (workers.py|188)
[4] [Mar 27 12:30:53] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Mar 27 12:30:53] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Mar 27 12:30:53] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|391)

(process:16115): GLib-GObject-WARNING **: cannot register existing type `DBusGProxy'

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed

(process:16115): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed

(process:16115): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed

(process:16115): GLib-GObject-WARNING **: cannot register existing type `DBusGProxy'

(process:16115): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
[5] [Mar 27 12:30:54] -----> Executing: getPossibleMethods_listOfHashes() (JsonRpc.py|123)
[4] [Mar 27 12:30:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Mar 27 12:30:54] -----> Executing: getOpsiInformation_hash() (JsonRpc.py|123)
[4] [Mar 27 12:30:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Mar 27 12:30:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Mar 27 12:30:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[4] [Mar 27 12:30:54] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules' (Backend.py|371)
[5] [Mar 27 12:30:54] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|391)

(process:16115): GLib-GObject-WARNING **: cannot register existing type `DBusGProxy'

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed

(process:16115): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed

(process:16115): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed

(process:16115): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

Bin für jeden Hinweis dankbar.

Max
Benutzeravatar
koepkek
uib-Team
Beiträge: 255
Registriert: 11 Jan 2012, 11:27

Re: SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von koepkek »

Hallo Max

hast du die /etc/opsi/backendManager/dispatch.conf verändert?
Wenn ja, dann bitte mal hier posten.

Ohne entsprechende Modules-Datei können in der Mysql-Datenbank nur die Daten der Hard- und Softwareinventarisierung gehalten werden.

Gruß
Karsten
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://uib.de
http://opsi.org
suukit
Beiträge: 4
Registriert: 03 Sep 2009, 14:08

Re: SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von suukit »

Aktuelle dispatch.conf:
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file

Ich habe keine /etc/opsi/modules
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von d.oertel »

Hi,

a) die dispatch.conf sollte in der ersten Zeile alle verwendeten backends enthalten.
Da Du ansonsten nicht mysql verwendest (obwohl wir das für audit empfehlen) kannst Du dann mysql auch aus der ersten Zeile entfernen.

b) opsi ist für CentOS 6.x noch nicht offiziell freigegeben.

Was da abstürzt sind die tiefen der verwendeten python libraries ....

gruss
d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
suukit
Beiträge: 4
Registriert: 03 Sep 2009, 14:08

[SOLVED] SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von suukit »

Diese Logzeile war der Schlüssel zum Erfolg:
[4] [Mar 27 12:30:50] Failed to publish ZeroconfService: avahi/dbus module missing (opsiconfd.py|98)

Nachdem ich das Paket avahi-ui-tools samt Abhängigkeiten installiert hatte konnte ich mich problemlos anmelden.
Benutzeravatar
Thomas_H
Beiträge: 521
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: SIGSEGV auf CentOS 6.2 / Opsi 4.0.1 aus Repo

Beitrag von Thomas_H »

Moinsens...

@suukit: Bitte mal die erste Nachricht des Threads editieren und da den Betreff auf "[Gelöst]..." setzen. Sieht man dann schon gleich in der Auflistung. Danke.

Gruß

Thomas_H
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Antworten