Re: Emails werden vom OTRS nicht richtig in Tickets umgewandelt, bzw. gehen verloren!

Hallo Matthias, bei mit passiert das seit 2 Tagen auch, und zwar im Zusammenspiel mit nagios, allerdings bekomm ich folgende Meldung vom PostMasterPOP3-script:
ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
Message: No TypeID for high found!
Traceback (24280): Module: Kernel::System::Ticket::PriorityLookup (v1.19) Line: 2545 Module: Kernel::System::Ticket::TicketCreate (v1.19) Line: 311 Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 162 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/System/Ticket.pm line 330. DBD::mysql::db do failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to
use near ' 1, 0, 1, current_timestamp, 1, current_timestamp, 1)' at lin at /opt/otrs/Kernel/System/DB.pm line 376. ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
Message: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 0, >1, current_timestamp, 1, current_timestamp, 1)' at lin, SQL: 'INSERT INTO ticket (tn, create_time_unix, queue_id, ticket_lock_id, user_id, group_id, > ticket_priority_id, ticket_state_id, ticket_answered, valid_id, create_time, create_by, change_time, change_by) VALUES ('2004112310000544', 1101226501, >107, 1, 1, 1, , 1, 0, 1, current_timestamp, 1, current_timestamp, 1)'
Traceback (24280): Module: Kernel::System::Ticket::TicketCreate (v1.19) Line: 338 Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 162 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
Message: create db record failed!!!
Traceback (24280): Module: Kernel::System::Ticket::TicketCreate (v1.19) Line: 367 Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 162 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
Message: Need TicketID!
Traceback (24280): Module: Kernel::System::Ticket::ArticleCreate (v1.19) Line: 83 Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 208 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
Message: Need TicketID!
Traceback (24280): Module: Kernel::System::Ticket::StateSet (v1.19) Line: 2119 Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 231 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.8.0 OS: linux Time: Tue Nov 23 17:15:01 2004
< Message: Can't process email with MessageID <<200411231610.iANGACxn008251@localhost.localdomain>>! Please create a bug report with this email >
(var/spool/) on http://bugs.otrs.org/!
Traceback (24280): Module: Kernel::System::PostMaster::NewTicket::Run (v1.48) Line: 236 Module: Kernel::System::PostMaster::Run (v1.43) Line: 246 Module: main::FetchMail (v1.12) Line: 169 Module: /opt/otrs//bin/PostMasterPOP3.pl (v1.12) Line: 106
Bei einer Mail die etwa so aufgebaut sein sollte:
***** Nagios *****
Notification Type: PROBLEM
Service: log Host: Address: State: CRITICAL
Date/Time: Tue Nov 23 17:10:12 CET 2004
Additional Info:
(1): Tue Nov 23 17:04:52 CET [NBNS00:error]: No WINS servers are responding: still trying
Das Passiert nicht bei allen Mails von nagios, nur bei bestimmten. Kreigst du eine ähnlich Fehlermeldung? Leider kann ich das nicht richtig interpretiern, da ich keine Ahnung von Perl hab, aber ich vermute, dass die Letzte Zeile meiner Mail das SQL-Statement, welches von OTRS zusammengestllt wird, durcheinanderbringt. Mit freundlichen Grüßen Bauer Alexander EDV ____________________________________________ MAX BÖGL Bauunternehmung GmbH & Co. KG Postfach 11 20 92301 Neumarkt E-Mail: abauer@max-boegl.de Internet: www.max-boegl.de
participants (1)
-
Benutzerservice