Can't create PID PostMasterMailbox, because it's already running (otrs.myserver.local/9461)!

Hi Everyone, Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails. Anyone got any idea what this is about? Thanks, David

could it be that a running postmaster is still running ? this could be real
if it has a lot of mail or the mail server where you attach to is
overloadaed or he is unable to disconnect previuos session.
ps -ef | grep PostMasterMailbox.pl return something ? if yes did you try
strace the pid running to see what the process is doing ?
MV
On Thu, Aug 27, 2009 at 3:58 PM, David Holder
Hi Everyone,
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
Thanks,
David
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi Marco,
I have just set up this system and is not even live yet, therefore I doubt
it's an overloading issue.
I have even attempted to kill the PID's but terminal is saying they don't
exist.
Results of ps -ef | grep PostMasterMailbox.pl:
[root@OTRS David]# ps -ef | grep PostMasterMailbox.pl
root 2787 2772 0 16:54 pts/1 00:00:00 grep PostMasterMailbox.pl
Apologies, I'm a bit of a Linux n00b, how do i strace? I attempted to do :
strace 2787 in terminal but the strace command cannot be found.
Cheers,
David
On Thu, Aug 27, 2009 at 4:23 PM, Marco Vannini
could it be that a running postmaster is still running ? this could be real if it has a lot of mail or the mail server where you attach to is overloadaed or he is unable to disconnect previuos session. ps -ef | grep PostMasterMailbox.pl return something ? if yes did you try strace the pid running to see what the process is doing ?
MV
On Thu, Aug 27, 2009 at 3:58 PM, David Holder
wrote: Hi Everyone,
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
Thanks,
David
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

No its ok, I mean, the pid that you found was the one regarding the grep
command, so even though strace is installed it never says anything...
Should be necessary to clean table process_id in otrs "schema" on your
mysql...
Try:
mysql -u otrs -p otrs
delete from process_id where process_name = 'PostMasterMailbox';
but I'm not sure. Would you like to try and tell how did it go :D ?
MV
On Thu, Aug 27, 2009 at 5:55 PM, David Holder
Hi Marco,
I have just set up this system and is not even live yet, therefore I doubt it's an overloading issue.
I have even attempted to kill the PID's but terminal is saying they don't exist.
Results of ps -ef | grep PostMasterMailbox.pl:
[root@OTRS David]# ps -ef | grep PostMasterMailbox.pl root 2787 2772 0 16:54 pts/1 00:00:00 grep PostMasterMailbox.pl
Apologies, I'm a bit of a Linux n00b, how do i strace? I attempted to do : strace 2787 in terminal but the strace command cannot be found.
Cheers,
David
On Thu, Aug 27, 2009 at 4:23 PM, Marco Vannini
wrote: could it be that a running postmaster is still running ? this could be real if it has a lot of mail or the mail server where you attach to is overloadaed or he is unable to disconnect previuos session. ps -ef | grep PostMasterMailbox.pl return something ? if yes did you try strace the pid running to see what the process is doing ?
MV
On Thu, Aug 27, 2009 at 3:58 PM, David Holder
wrote: Hi Everyone,
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
Thanks,
David
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi Marco, I use PHPMyAdmin to check out my DB, I went to that table but it was empty... Got any other clues? :) David Marco Vannini wrote:
No its ok, I mean, the pid that you found was the one regarding the grep command, so even though strace is installed it never says anything...
Should be necessary to clean table process_id in otrs "schema" on your mysql... Try:
mysql -u otrs -p otrs
delete from process_id where process_name = 'PostMasterMailbox';
but I'm not sure. Would you like to try and tell how did it go :D ?
MV
On Thu, Aug 27, 2009 at 5:55 PM, David Holder
mailto:david.holder@gmail.com> wrote: Hi Marco,
I have just set up this system and is not even live yet, therefore I doubt it's an overloading issue.
I have even attempted to kill the PID's but terminal is saying they don't exist.
Results of ps -ef | grep PostMasterMailbox.pl:
[root@OTRS David]# ps -ef | grep PostMasterMailbox.pl root 2787 2772 0 16:54 pts/1 00:00:00 grep PostMasterMailbox.pl
Apologies, I'm a bit of a Linux n00b, how do i strace? I attempted to do : strace 2787 in terminal but the strace command cannot be found.
Cheers,
David
On Thu, Aug 27, 2009 at 4:23 PM, Marco Vannini
mailto:marco.vannini@gmail.com> wrote: could it be that a running postmaster is still running ? this could be real if it has a lot of mail or the mail server where you attach to is overloadaed or he is unable to disconnect previuos session.
ps -ef | grep PostMasterMailbox.pl return something ? if yes did you try strace the pid running to see what the process is doing ?
MV
On Thu, Aug 27, 2009 at 3:58 PM, David Holder
mailto:david.holder@gmail.com> wrote: Hi Everyone,
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
Thanks,
David
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
------------------------------------------------------------------------
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi David, On Aug 27, 2009, at 15:58 , David Holder wrote:
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
It's if "bin/PostMasterMailbox.pl" got not exited normally. E. g. no database connect or a corrupt incoming email (normally PostMasterMailbox.pl can handle this). If you are sure, that no PostMasterMailbox.pl is running currently you can execute the following to force it: shell> bin/PostMasterMailbox.pl -f 1 PS: The same is also valid for "bin/GenericAgent.pl". -Martin

Hi Martin Come to think of it, I accidently tried to start the OTRS service when mysqld was in stopped state, so that may have caused it. I have executed the commands you have provided and have cleared the log, will see what happens after a short while. Thanks for your response. David Martin Edenhofer wrote:
Hi David,
On Aug 27, 2009, at 15:58 , David Holder wrote:
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
It's if "bin/PostMasterMailbox.pl" got not exited normally. E. g. no database connect or a corrupt incoming email (normally PostMasterMailbox.pl can handle this).
If you are sure, that no PostMasterMailbox.pl is running currently you can execute the following to force it:
shell> bin/PostMasterMailbox.pl -f 1
PS: The same is also valid for "bin/GenericAgent.pl".
-Martin --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Ok. I guess it will work now. :) ((enjoy)) -Martin On Aug 27, 2009, at 19:46 , David Holder wrote:
Hi Martin
Come to think of it, I accidently tried to start the OTRS service when mysqld was in stopped state, so that may have caused it.
I have executed the commands you have provided and have cleared the log, will see what happens after a short while.
Thanks for your response.
David
Martin Edenhofer wrote:
Hi David,
On Aug 27, 2009, at 15:58 , David Holder wrote:
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
It's if "bin/PostMasterMailbox.pl" got not exited normally. E. g. no database connect or a corrupt incoming email (normally PostMasterMailbox.pl can handle this).
If you are sure, that no PostMasterMailbox.pl is running currently you can execute the following to force it:
shell> bin/PostMasterMailbox.pl -f 1
PS: The same is also valid for "bin/GenericAgent.pl".
-Martin

Hi Martin, Sorry, but the problem still persists, the error messages are being logged at the same frequency as the postmaster checker (10mins, default) Do you have any more ideas? Regards, David Martin Edenhofer wrote:
Ok. I guess it will work now. :)
((enjoy))
-Martin
On Aug 27, 2009, at 19:46 , David Holder wrote:
Hi Martin
Come to think of it, I accidently tried to start the OTRS service when mysqld was in stopped state, so that may have caused it.
I have executed the commands you have provided and have cleared the log, will see what happens after a short while.
Thanks for your response.
David
Martin Edenhofer wrote:
Hi David,
On Aug 27, 2009, at 15:58 , David Holder wrote:
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
It's if "bin/PostMasterMailbox.pl" got not exited normally. E. g. no database connect or a corrupt incoming email (normally PostMasterMailbox.pl can handle this).
If you are sure, that no PostMasterMailbox.pl is running currently you can execute the following to force it:
shell> bin/PostMasterMailbox.pl -f 1
PS: The same is also valid for "bin/GenericAgent.pl".
-Martin
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi again, If anyone finds this useful... [root@OTRS bin]# ./PostMasterMailbox.pl -f 1 -d 3 Net::POP3>>> Net::POP3(2.29) Net::POP3>>> Net::Cmd(2.29) Net::POP3>>> Exporter(5.62) Net::POP3>>> IO::Socket::INET(1.31) Net::POP3>>> IO::Socket(1.30_01) Net::POP3>>> IO::Handle(1.27) Net::POP3=GLOB(0x2aa8df8)<<< +OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (mail.company.local) ready. Net::POP3=GLOB(0x2aa8df8)>>> USER Domain\account Net::POP3=GLOB(0x2aa8df8)<<< +OK Net::POP3=GLOB(0x2aa8df8)>>> PASS .... Net::POP3=GLOB(0x2aa8df8)<<< +OK User successfully logged on. Net::POP3=GLOB(0x2aa8df8)>>> STAT Net::POP3=GLOB(0x2aa8df8)<<< +OK 0 0 POP3: No messages (Domain\account/mail.company.local) Net::POP3=GLOB(0x2aa8df8)>>> QUIT Net::POP3=GLOB(0x2aa8df8)<<< +OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 signing off. POP3: Connection to mail.company.local closed. Regards, David Martin Edenhofer wrote:
Ok. I guess it will work now. :)
((enjoy))
-Martin
On Aug 27, 2009, at 19:46 , David Holder wrote:
Hi Martin
Come to think of it, I accidently tried to start the OTRS service when mysqld was in stopped state, so that may have caused it.
I have executed the commands you have provided and have cleared the log, will see what happens after a short while.
Thanks for your response.
David
Martin Edenhofer wrote:
Hi David,
On Aug 27, 2009, at 15:58 , David Holder wrote:
Got this error cropping up in my log every now and again, I can confirm that my OTRS install can receive/send e-mails.
Anyone got any idea what this is about?
It's if "bin/PostMasterMailbox.pl" got not exited normally. E. g. no database connect or a corrupt incoming email (normally PostMasterMailbox.pl can handle this).
If you are sure, that no PostMasterMailbox.pl is running currently you can execute the following to force it:
shell> bin/PostMasterMailbox.pl -f 1
PS: The same is also valid for "bin/GenericAgent.pl".
-Martin
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (3)
-
David Holder
-
Marco Vannini
-
Martin Edenhofer