Hallo Liste,

bei unseren System erhalte ich seltsame Meldungen im Log, also habe ich einmal 
den "/usr/share/otrs/bin/PostMasterPOP3.pl" auf der Console ausgeführt.

<--------8<------------das passiert auf der console------>8---------------->
DBD::mysql::st execute failed: Unknown column 'q.escalation_time' in 'field 
list' at /usr/share/otrs/Kernel/System/DB.pm line 436.
ERROR: OTRS-PM3-10 Perl: 5.8.8 OS: linux Time: Mon May  7 09:37:44 2007

 Message: Unknown column 'q.escalation_time' in 'field list', SQL: 'SELECT 
q.name, q.group_id, q.unlock_timeout,  q.system_address_id, q.salutation_id, 
q.signature_id, q.comments, q.valid_id,  q.escalation_time, q.follow_up_id, 
q.follow_up_lock, sa.value0, sa.value1, q.id,  q.move_notify, q.state_notify, 
q.lock_notify, q.owner_notify, q.default_sign_key,  q.calendar_name  FROM  
queue q, system_address sa WHERE  q.system_address_id = sa.id  AND  q.id = 5'

 Traceback (2206):
   Module: Kernel::System::Queue::QueueGet (v1.62.2.1) Line: 803
   Module: Kernel::System::Ticket::GetSubscribedUserIDsByQueueID (v1.233.2.2) 
Line: 1816
   Module: Kernel::System::Ticket::Article::ArticleCreate (v1.128.2.4) Line: 339
   Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 199
   Module: Kernel::System::PostMaster::Run (v1.60) Line: 246
   Module: main::FetchMail (v1.23) Line: 206
   Module: /usr/share/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125

DBD::mysql::st fetchrow_array failed: fetch() without execute() at 
/usr/share/otrs/Kernel/System/DB.pm line 473.
ERROR: OTRS-PM3-10 Perl: 5.8.8 OS: linux Time: Mon May  7 09:37:44 2007

 Message: Found no $ID for 5!

 Traceback (2206):
   Module: Kernel::System::Queue::QueueGet (v1.62.2.1) Line: 831
   Module: Kernel::System::Ticket::GetSubscribedUserIDsByQueueID (v1.233.2.2) 
Line: 1816
   Module: Kernel::System::Ticket::Article::ArticleCreate (v1.128.2.4) Line: 339
   Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 199
   Module: Kernel::System::PostMaster::Run (v1.60) Line: 246
   Module: main::FetchMail (v1.23) Line: 206
   Module: /usr/share/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125

Use of uninitialized value in hash element at 
/usr/share/otrs/Kernel/System/Ticket.pm line 1842.
Use of uninitialized value in hash element at 
/usr/share/otrs/Kernel/System/Ticket.pm line 1842.
Use of uninitialized value in hash element at 
/usr/share/otrs/Kernel/System/Ticket.pm line 1842.

Connection to [MAILSERVER] closed.
<--------8<------------das passiert auf der console------>8---------------->

OK, Das ist die Meldung, also habe ich danach einmal die sql-abfrage auf der 
mysql-console ausgeführt.

<--------8<-------das passiert auf der mysql-console------>8--------------->
$ /usr/share/otrs/scripts# mysql -uroot -p otrs
Enter password:
mysql> SELECT q.name, q.group_id, q.unlock_timeout,  q.system_address_id, 
q.salutation_id, q.signature_id, q.comments, q.valid_id,  q.escalation_time, 
q.follow_up_id, q.follow_up_lock, sa.value0, sa.value1, q.id,  q.move_notify, 
q.state_notify, q.lock_notify, q.owner_notify, q.default_sign_key,  
q.calendar_name  FROM  queue q, system_address sa WHERE  q.system_address_id = 
sa.id  AND  q.id = 5;
ERROR 1054 (42S22): Unknown column 'q.calendar_name' in 'field list'
<--------8<-------das passiert auf der mysql-console------>8--------------->

Ahh, keine column also, gut dann mach ich halt eine:

<--------8<-------das passiert auf der mysql-console------>8--------------->
mysql> alter table queue add column escalation_time INTEGER;
ERROR 1060 (42S21): Duplicate column name 'escalation_time'
mysql> select escalation_time from queue;
+-----------------+
| escalation_time |
+-----------------+
|            NULL |
|            NULL |
~~~~~~~~~~~~~~~~~~~~~~
|            NULL |
+-----------------+
21 rows in set (0.00 sec)
<--------8<-------das passiert auf der mysql-console------>8--------------->

Übrigens ich habe schon:
<code>
/usr/share/otrs/scripts# for DB in `ls DBUpdate*.mysql.sql`; do cat $DB |mysql 
-uroot -p otrs; done
</code>
Ausgeführt, aber das bringt nix.

OK, ab jetzt bin ich überfordert, habt ihr eine Idee was da kaputt ist?



Mit freundlichen Grüßen
Marco Benecke

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

Marco Benecke  |  Administration
5 POINT AG 
Tel.: ++49 (0) 6151 13097 22 | Fax.: ++49 (0) 6151 13097 10
E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

5 POINT AG   
Heidelberger Strasse 55-61 | 64285 Darmstadt
Tel.: ++49 (0) 6151 13097 0 | Fax.: ++49 (0) 6151 13097 10
E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  | Internet: www.5point.de 
<http://www.5point.de>  | www.teamspace.de <http://www.teamspace.de/> 
Vorstand: Thorsten Lenk, Martin Fischer 
Aufsichtsratvorsitzender: Prof. Dr. Horst Geschka
Sitz Darmstadt HRB: 76 27


_______________________________________________
OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.com/

Antwort per Email an