OTRS Stopped Fetching Mail

English! place to talk about development, programming and coding
Post Reply
salientanimal
Znuny newbie
Posts: 58
Joined: 03 Oct 2012, 14:13
Znuny Version: 3.1.10
Real Name: Leon Claassen
Company: Virgin

OTRS Stopped Fetching Mail

Post by salientanimal »

Hi Guys,

For some reason, my OTRS Cronjobs has stopped fetching mail. It was working perfectly the entire of last week, and today it just stopped working.

I need to click on the fetchmail option in the admin section of OTRS to fetch the mails.

Please can you assist?
OTRS 3.1.10 (NEWBIE) - UNIX (NEWBIE) - MySQL (INTERMEDIATE)
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Stopped Fetching Mail

Post by reneeb »

What do the logs say?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
salientanimal
Znuny newbie
Posts: 58
Joined: 03 Oct 2012, 14:13
Znuny Version: 3.1.10
Real Name: Leon Claassen
Company: Virgin

Re: OTRS Stopped Fetching Mail

Post by salientanimal »

I can't seem to find the logs.... What is the default location for the logs?
OTRS 3.1.10 (NEWBIE) - UNIX (NEWBIE) - MySQL (INTERMEDIATE)
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Stopped Fetching Mail

Post by reneeb »

You can find the last x entries of the OTRS system log in the admin area -> system log.


In the SysConfig (Framework -> Core::Log) you can see whether your OTRS uses SysLog or a File based log. If a file is used in the same subgroup of the SysConfig you can find the location of that file.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
salientanimal
Znuny newbie
Posts: 58
Joined: 03 Oct 2012, 14:13
Znuny Version: 3.1.10
Real Name: Leon Claassen
Company: Virgin

Re: OTRS Stopped Fetching Mail

Post by salientanimal »

Ok I have found the log message which seems to be causing the problem. Any advice please?


Error Message in Log

Code: Select all

Can't create PID PostMasterMailbox, because it's already running (yourhost.example.com/4488)!
OTRS 3.1.10 (NEWBIE) - UNIX (NEWBIE) - MySQL (INTERMEDIATE)
arvas
Znuny newbie
Posts: 44
Joined: 15 Oct 2012, 09:08
Znuny Version: 3.0.11

Re: OTRS Stopped Fetching Mail

Post by arvas »

Hi,

im not a pro at OTRS so maybe you could try the following until you get a permanent solution (I used to face it a couple of times in the past and the following have worked for me):
1) See if u can retrieve the emails manually by clicking on the fetch now inside the mailbox?
2) Try restarting the whole otrs by stopping it, then starting it.
3) export the db out and uninstall the whole directory then install again and import the db back (drastic but fixed it all the time xD)
Post Reply