fetching email problem. PLS HELP!

Moderator: crythias

Locked
lamarchk
Znuny newbie
Posts: 14
Joined: 08 Jul 2013, 08:38
Znuny Version: 3.1.12
Real Name: Jun Tiburcio
Company: Achieve Without Borders

fetching email problem. PLS HELP!

Post by lamarchk »

Hi!

- We are experiencing problems in fetching emails from gmail.

- Early this morning I received an error from otrs:

Date: Mon, 8 Jul 2013 09:00:02 +0800 (PHT)

DBD::mysql::db do failed: Table './otrs/process_id' is marked as crashed and should be repaired at /opt/otrs/Kernel/System/DB.pm line 478.
ERROR: OTRS-otrs.PostMasterMailbox.pl-10 Perl: 5.10.1 OS: linux Time: Mon Jul 8 09:00:02 2013

Message: Table './otrs/process_id' is marked as crashed and should be repaired, SQL: 'DELETE FROM process_id WHERE process_name = ? AND process_host = ?'

Traceback (13673):
Module: Kernel::System::PID::PIDDelete (v1.28) Line: 226
Module: Kernel::System::PID::PIDCreate (v1.28) Line: 150
Module: /opt/otrs//bin/otrs.PostMasterMailbox.pl (v1.4) Line: 83

DBD::mysql::db do failed: Table './otrs/process_id' is marked as crashed and should be repaired at /opt/otrs/Kernel/System/DB.pm line 478.
ERROR: OTRS-otrs.PostMasterMailbox.pl-10 Perl: 5.10.1 OS: linux Time: Mon Jul 8 09:00:02 2013

Message: Table './otrs/process_id' is marked as crashed and should be repaired, SQL: 'INSERT INTO process_id (process_name, process_id, process_host, process_create, process_change) VALUES (?, ?, ?, ?, ?)'

Traceback (13673):
Module: Kernel::System::PID::PIDCreate (v1.28) Line: 154
Module: /opt/otrs//bin/otrs.PostMasterMailbox.pl (v1.4) Line: 83

- after recieving this error I have repaired the said ./otrs/process_id table via phpmyadmin.

- it was successful.

- I tried running the ./otrs.PostMaster.pl script after repairing the table and I received:

POP3S: No messages (helpdesk@domain.com/pop.gmail.com)
POP3S: Connection to pop.gmail.com closed.

- but still we did not receive any emails from our clients. Which they claim they have sent it already.

Any help regarding this issue?

Thanks in Advance. :)
lamarchk
Znuny newbie
Posts: 14
Joined: 08 Jul 2013, 08:38
Znuny Version: 3.1.12
Real Name: Jun Tiburcio
Company: Achieve Without Borders

Re: fetching email problem. PLS HELP!

Post by lamarchk »

- Furthermore this error message came up when I ran the fetchmail.sh again.

ERROR: OTRS-otrs.PostMasterMailbox.pl-10 Perl: 5.10.1 OS: linux Time: Mon Jul 8 09:48:07 2013

Message: No Priority for 3 normal found!

Traceback (1817):
Module: Kernel::System::Priority::PriorityLookup (v1.36) Line: 368
Module: Kernel::System::Ticket::TicketCreate (v1.549.2.13) Line: 439
Module: Kernel::System::PostMaster::NewTicket::Run (v1.86) Line: 170
Module: Kernel::System::PostMaster::Run (v1.87.2.2) Line: 386
Module: Kernel::System::MailAccount::POP3S::_Fetch (v1.13) Line: 241
Module: Kernel::System::MailAccount::POP3S::Fetch (v1.13) Line: 106
Module: Kernel::System::MailAccount::MailAccountFetch (v1.17) Line: 424
Module: main::Fetch (v1.4) Line: 180
Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (v1.4) Line: 93

ERROR: OTRS-otrs.PostMasterMailbox.pl-10 Perl: 5.10.1 OS: linux Time: Mon Jul 8 09:48:07 2013

Message: No PriorityID (invalid Priority Name?)!

Traceback (1817):
Module: Kernel::System::Ticket::TicketCreate (v1.549.2.13) Line: 450
Module: Kernel::System::PostMaster::NewTicket::Run (v1.86) Line: 170
Module: Kernel::System::PostMaster::Run (v1.87.2.2) Line: 386
Module: Kernel::System::MailAccount::POP3S::_Fetch (v1.13) Line: 241
Module: Kernel::System::MailAccount::POP3S::Fetch (v1.13) Line: 106
Module: Kernel::System::MailAccount::MailAccountFetch (v1.17) Line: 424
Module: main::Fetch (v1.4) Line: 180
Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (v1.4) Line: 93

ERROR: OTRS-otrs.PostMasterMailbox.pl-10 Perl: 5.10.1 OS: linux Time: Mon Jul 8 09:48:08 2013

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

Traceback (1817):
Module: Kernel::System::MailAccount::POP3S::_Fetch (v1.13) Line: 253
Module: Kernel::System::MailAccount::POP3S::Fetch (v1.13) Line: 106
Module: Kernel::System::MailAccount::MailAccountFetch (v1.17) Line: 424
Module: main::Fetch (v1.4) Line: 180
Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (v1.4) Line: 93

POP3S: Message 1/1 (helpdesk@domain.com/pop.gmail.com)

POP3S: Connection to pop.gmail.com closed.
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: fetching email problem. PLS HELP!

Post by KlausNehrer »

lamarchk wrote: ...
Message: No Priority for 3 normal found!
...
Message: No PriorityID (invalid Priority Name?)!
...
Message: POP3S: Can't process mail, see log sub system (/opt/otrs/var/spool/problem-email-85e40a6334a0b896c74da0822d37d930, report it on http://bugs.otrs.org/)!
Your database was corrupted and lost data like Priority ...
lamarchk
Znuny newbie
Posts: 14
Joined: 08 Jul 2013, 08:38
Znuny Version: 3.1.12
Real Name: Jun Tiburcio
Company: Achieve Without Borders

Re: fetching email problem. PLS HELP!

Post by lamarchk »

Hi!

Thanks for the quick reply.

How do you go about solving the issue at hand?

I am not sure where to start.

TIA.
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: fetching email problem. PLS HELP!

Post by KlausNehrer »

OTRS WebGUI -> Admin
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: fetching email problem. PLS HELP!

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked