Seite 1 von 1

nach update opsi-utils und pyton fehler bei HW-Invent

Verfasst: 19 Sep 2008, 12:45
von thomask3006
Hallo Gemeinde,

ich habe heute die updates opsi-utils und pyton eingespielt, seit dem bekomme ich
im configurations editor bei der Hardwareinfo folgende Meldung.

Fri Sep 19 12:33:22 CEST 2008 -- Response 500 Internal Server Error {"error":"(1146, \"Table 'opsi.HARDWARE_CONFIG_CHASSIS' doesn't exist\")","id":1,"result":null} :(

Wie auch zu lesen ist, existiert die Tabelle nicht in der sql Datenbank.Meine Frage, ist
dies ein Bug oder muss ich diese Tabelle anlegen? Hat jemand auch das Problem? :roll:
PS: Software inv funkst.

Danke

Thomas

Re: nach update opsi-utils und pyton fehler bei HW-Invent

Verfasst: 19 Sep 2008, 21:17
von wolfbardo
Hallo Thomas,

welche Updates wurden eingespielt Debian-Pakete / Opsi-Pakete bzw. sind jetz installiert?

Gruss
Bardo Wolf

Re: nach update opsi-utils und pyton fehler bei HW-Invent

Verfasst: 22 Sep 2008, 10:39
von thomask3006
Hallo ,

ich habe opsi-utils und python aktualisiert. Folgende Pakete sind installiert.

i opsi-atftpd 0.7.dfsg-1.4 advanced TFTP server - opsi version with pcr
ii opsi-configed 1.3.1-3 OPSI config editor
ii opsi-depotserver 3.3-9 server fuer das Softwareverteilungssystem OP
ii opsi-linux-bootimage 20080826-1 Linux-Bootimage fuer das Softwareverteilungs
ii opsi-utils 3.3.0.10-1 OPSI utils
ii opsiconfd 2.0.0.8-1 OPSI configuration service
ii opsipxeconfd 0.3.4-1 OPSI PXE configuration daemon
ii python-opsi 3.3.0.24-1 OPSI python library

pi python 2.4.4-2 An interactive high-level object-oriented la
ii python-central 0.5.12 register and build utility for Python packag
ii python-clientform 0.2.2-3 module for handling HTML forms on the client
ii python-crypto 2.0.1+dfsg1-1.2 cryptographic algorithms and protocols for P
ii python-glade-1.2 0.6.12-8 Put a bit of python code behind interfaces b
ii python-gnupginterface 0.3.2-9 Python interface to GnuPG (GPG)
ii python-gtk-1.2 0.6.12-8 GTK support module for Python
ii python-json 3.4-2 a JSON (http://json.org) reader and writer i
ii python-ldap 2.2.0-3 An LDAP interface module for Python
ii python-mechanize 0.1.2b-2 stateful programmatic web browsing
ii python-minimal 2.4.4-2 A minimal subset of the Python language (def
ii python-mysqldb 1.2.1-p2-4 A Python interface to MySQL
ii python-newt 0.52.2-10 A NEWT module for Python
ii python-opsi 3.3.0.24-1 OPSI python library
ii python-pam 0.4.2-10.4 A Python interface to the PAM library
ii python-pyopenssl 0.6-2.3 Python wrapper around the OpenSSL library (d
ii python-support 0.5.6 automated rebuilding support for python modu
ii python-twisted 2.4.0-3 Event-based framework for internet applicati
ii python-twisted-bin 2.4.0-3 Event-based framework for internet applicati
ii python-twisted-conch 0.7.0-1 The Twisted SSH Implementation
ii python-twisted-core 2.4.0-3 Event-based framework for internet applicati
ii python-twisted-lore 0.2.0-2 Documentation generator with HTML and LaTeX
ii python-twisted-mail 0.3.0-1 An SMTP, IMAP and POP protocol implementatio
ii python-twisted-names 0.3.0-1 A DNS protocol implementation with client an
ii python-twisted-news 0.2.0-1 An NNTP protocol implementation with client
ii python-twisted-runner 0.2.0-1.1 Process management, including an inetd serve
ii python-twisted-web 0.6.0-1 An HTTP protocol implementation together wit
ii python-twisted-web2 0.2.0-1.1 An HTTP/1.1 Server Framework
ii python-twisted-words 0.4.0-2.1 Chat and Instant Messaging
ii python-zopeinterface 3.3.0-6 The implementation of interface definitions
pi python2.4 2.4.4-3+etch1 An interactive high-level object-oriented la
ii python2.4-minimal 2.4.4-3+etch1 A minimal subset of the Python language (ver

Meine Frage ist auch, gab es den Table Hardware_config_chassis?

Gruss Thomas

Re: nach update opsi-utils und pyton fehler bei HW-Invent

Verfasst: 22 Sep 2008, 12:03
von wolfbardo
Hallo Thomas,
thomask3006 hat geschrieben: Meine Frage ist auch, gab es den Table Hardware_config_chassis?
ja, bei den letzten Opsi 3.3 Updates

viewtopic.php?f=1&t=160

gab es Änderungen am mySQL-Backend. Hilft

viewtopic.php?f=7&t=176&p=925&hilit=mys ... 33a0c#p925

Gruss
Bardo Wolf

Re: nach update opsi-utils und pyton fehler bei HW-Invent

Verfasst: 22 Sep 2008, 15:10
von thomask3006
Hallo Bardo,

danke für die Hilfe, der Hinweis mit den init-opsi-mysql-db.py war erfolgreich.


Falls Sie für die Inventarisierung das mySQL-Backend verwenden,
müssen Sie aufgrund der Aktualisierung der hwaudit.conf
noch folgendes Script ausführen:
/usr/share/opsi/init-opsi-mysql-db.py

Danke

Gruß Thomas