PostMasterMailbox.pl: Fehlermeldungen

Hilfe zu OTRS Problemen aller Art
Post Reply
mejo
Znuny newbie
Posts: 21
Joined: 27 Mar 2013, 13:45
Znuny Version: 3.1.7
Real Name: Jonas Meurer

PostMasterMailbox.pl: Fehlermeldungen

Post by mejo »

Hallo,

PostMasterMailbox.pl erzeugt immer mal wieder Fehlermeldungen. Da diese doch recht häufig (mehrmals täglich) auftreten, ich aber nix wirklich brauchbares dazu gefunden habe (weder aussagekräftigen Log-Einträge noch im Web), frag ich einfach mal nach:

Code: Select all

Charset encode 'us-ascii' -=> 'utf-8' (Wir halten ein aufregendes Angebot für Sie bereit)
not supported!
PostMasterMailbox.pl scheint häufiger Probleme zu haben, Mails nach UTF-8 umzuwandeln. Kann ich da irgendwas machen? Aus vorangegangenen Forums-Diskussionen zum Thema konnte ich rauslesen, dass solche Fehler bei falsch codierten Mails auftreten. Mir wäre es aber lieber, OTRS schreibt die falsch codiert ins OTRS, als garnicht.

Code: Select all

Use of uninitialized value in division (/) at /opt/otrs/Kernel/System/MailAccount/IMAP.pm line 157, <GEN0> line 640.
ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 22:17:41 2013

Message: IMAP: Can't process mail, email no 12 is empty!

Traceback (27422):
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 191
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90
Die Fehlermeldung tritt interessanterweise täglich mehrfach gegen 22:15h auf. Sonst eigentlich nie. Das Forum sagt mir, dass eine mögliche Ursache parallel Mails holende Clients sein könnten. Auf das Postfach greift allerdings nur OTRS zu, und das auch noch per IMAP (paralleles fetchen sollte also kein Problem sein).

Code: Select all

ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 23:12:05
2013

Message: Need To, Cc or Bcc!

Traceback (32274):
   Module: Kernel::System::Email::Send (OTRS 3.2.10) Line: 174
   Module: Kernel::System::Ticket::Article::ArticleSend (OTRS 3.2.10) Line: 2064
   Module: Kernel::System::Ticket::Article::SendAutoResponse (OTRS 3.2.10) Line: 2871
   Module: Kernel::System::Ticket::Article::ArticleCreate (OTRS 3.2.10) Line: 398
   Module: Kernel::System::PostMaster::NewTicket::Run (OTRS 3.2.10) Line: 322
   Module: Kernel::System::PostMaster::Run (OTRS 3.2.10) Line: 393
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 204
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90

ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 23:12:05
2013

Message: Impossible to send message to:  .

Traceback (32274):
   Module: Kernel::System::Ticket::Article::ArticleSend (OTRS 3.2.10) Line: 2071
   Module: Kernel::System::Ticket::Article::SendAutoResponse (OTRS 3.2.10) Line: 2871
   Module: Kernel::System::Ticket::Article::ArticleCreate (OTRS 3.2.10) Line: 398
   Module: Kernel::System::PostMaster::NewTicket::Run (OTRS 3.2.10) Line: 322
   Module: Kernel::System::PostMaster::Run (OTRS 3.2.10) Line: 393
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 204
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90

Use of uninitialized value in concatenation (.) or string at
/opt/otrs/Kernel/System/Ticket/Article.pm line 2890.
Tritt ebenfalls immer mal wieder auf. Interessanterweise zu Zeiten, zu denen niemand Mails verschickt. Außerdem dachte ich, dass PostMasterMailbox.pl nur Mails abholt, keine versendet???

Code: Select all

DBD::mysql::db do failed: Duplicate entry '416387-Seen-1' for key 1 at
/opt/otrs/Kernel/System/DB.pm line 475.
ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 22:15:05
2013

Message: Duplicate entry '416387-Seen-1' for key 1, SQL: '
            INSERT INTO ticket_flag
            (ticket_id, ticket_key, ticket_value, create_time, create_by)
            VALUES (?, ?, ?,
        '2013-09-24 22:15:05'
    , ?)'

Traceback (25835):
   Module: Kernel::System::Ticket::TicketFlagSet (OTRS 3.2.10) Line: 5734
   Module: Kernel::System::Ticket::Event::TicketNewMessageUpdate::Run (OTRS 3.2.10) Line:
102
   Module: Kernel::System::EventHandler::EventHandler (OTRS 3.2.10) Line: 251
   Module: Kernel::System::Ticket::Article::ArticleFlagSet (OTRS 3.2.10) Line: 2962
   Module: Kernel::System::Ticket::Event::TicketNewMessageUpdate::Run (OTRS 3.2.10) Line:
62
   Module: Kernel::System::EventHandler::EventHandler (OTRS 3.2.10) Line: 251
   Module: Kernel::System::Ticket::Article::ArticleCreate (OTRS 3.2.10) Line: 341
   Module: Kernel::System::PostMaster::FollowUp::Run (OTRS 3.2.10) Line: 320
   Module: Kernel::System::PostMaster::Run (OTRS 3.2.10) Line: 360
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 204
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90

DBD::mysql::db do failed: Duplicate entry '30601678' for key 2 at
/opt/otrs/Kernel/System/DB.pm line 475.
ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 22:15:11
2013

Message: Duplicate entry '30601678' for key 2, SQL: '
            INSERT INTO ticket (tn, title, create_time_unix, type_id, queue_id,
ticket_lock_id,
                user_id, responsible_user_id, ticket_priority_id, ticket_state_id,
                escalation_time, escalation_update_time, escalation_response_time,
                escalation_solution_time, timeout, service_id, sla_id, until_time,
                valid_id, archive_flag, create_time, create_by, change_time, change_by)
            VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 0, 0, 0, 0, 0, ?, ?, 0, ?, ?,
                
        '2013-09-24 22:15:11'
    , ?,
        '2013-09-24 22:15:11'
    , ?)'

Traceback (25835):
   Module: Kernel::System::Ticket::TicketCreate (OTRS 3.2.10) Line: 500
   Module: Kernel::System::PostMaster::NewTicket::Run (OTRS 3.2.10) Line: 169
   Module: Kernel::System::PostMaster::Run (OTRS 3.2.10) Line: 393
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 204
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90

ERROR: OTRS-otrs.PostMasterMailbox.pl-30 Perl: 5.8.8 OS: linux Time: Tue Sep 24 22:15:11
2013

Message: IMAP: Can't process mail, see log sub system
(/opt/otrs/var/spool/problem-email-d12e2769879a3a5e696a5f395cdf6bba, report it on
http://bugs.otrs.org/)!

Traceback (25835):
   Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.2.10) Line: 208
   Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.2.10) Line: 74
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.10) Line: 419
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90
Die kommt auch täglich mehrfach. Interessanterweise gibt es das Spool File /opt/otrs/var/spool/problem-email-d12e2769879a3a5e696a5f395cdf6bba nicht.

Code: Select all

Use of uninitialized value in pattern match (m//) at
/opt/otrs/Kernel/System/EmailParser.pm line 958.
Use of uninitialized value in substitution (s///) at
/opt/otrs/Kernel/System/EmailParser.pm line 759.
Use of uninitialized value in length at /opt/otrs/Kernel/System/EmailParser.pm line 760.
Use of uninitialized value in string eq at /opt/otrs/Kernel/System/EmailParser.pm line
764.
Die Fehlermeldung tritt äußerst selten auf. Leider ist sie nicht sonderlich aussagekräftig. Ich hab keine Ahnung, welche Mail das auslöst. Es gibt keinen zugehörigen Log-Eintrag.


Hat jemand Tipps für mich, wie ich die Fehlersuche weiter eingrenzen kann? Es wäre schon, den PostMasterMailbox.pl irgendwann endlich mal fehlerfrei laufen zu haben, und nicht jeden morgen wieder 20 neue Mails von den Cronjobs in der Queue zu haben, die einem das Gefühl geben, dass irgendwas nicht funktioniert :?
mejo
Znuny newbie
Posts: 21
Joined: 27 Mar 2013, 13:45
Znuny Version: 3.1.7
Real Name: Jonas Meurer

Re: PostMasterMailbox.pl: Fehlermeldungen

Post by mejo »

Hat niemand eine Idee, was die Fehlermeldungen auslösen könnte, oder wie man die Probleme fixen kann?
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: PostMasterMailbox.pl: Fehlermeldungen

Post by sunny »

Same issue I am getting after 2 years suddenly
Post Reply