Ever a fix for 'Notice: PostMasterPOP3.pl is already running' ?

I see several references to this but I could not see a fix. I noticed no mail coming in for a few days. Manually running PostMasterPOP3.pl:- root@rt3:/opt/otrs/bin# ./PostMasterPOP3.pl Notice: PostMasterPOP3.pl is already running (use '-f 1' if you want to start it forced)! root@rt3:/opt/otrs/bin# Even though it does not seem to be running:- root@rt3:/opt/otrs/bin# ps -ef |grep -i post root 4338 1 0 May09 ? 00:00:07 /usr/lib/postfix/master postfix 4358 4338 0 May09 ? 00:00:05 qmgr -l -t fifo -u postfix 4913 4338 0 May09 ? 00:00:00 tlsmgr -l -t unix -u -c postfix 27554 4338 0 15:14 ? 00:00:00 pickup -l -t fifo -u -c postfix 27916 4338 0 16:30 ? 00:00:00 cleanup -z -t unix -u -c postfix 27917 4338 0 16:30 ? 00:00:00 trivial-rewrite -n rewrite -t unix -u -c postfix 27918 4338 0 16:30 ? 00:00:00 local -t unix root 27929 4532 0 16:30 pts/0 00:00:00 grep -i post Please advise? 'add -f on crontab?' thanks Mike version 2.1.7 ORTS on Ubuntu.

I fixed it by making my own script and running it as a cron job. Here's my script: ===== #!/bin/bash # This script is for a cron job that will write the results to a log file with date stamping. DATE=`date +'%Y-%m-%d %H:%M:%S'` # For easier to read logs... echo " " >> /var/log/OTRS_Connection.log echo "=======================" >> /var/log/OTRS_Connection.log echo "$DATE" >> /var/log/OTRS_Connection.log echo "Starting connection to Mail Server..." >> /var/log/OTRS_Connection.log echo "Processing..." >> /var/log/OTRS_Connection.log # OTRS Command for retrieving mail. /opt/otrs/bin/PostMasterPOP3.pl >> /var/log/OTRS_Connection.log echo "Complete!" >> /var/log/OTRS_Connection.log exit 0 ===== I've minimized the amount of messages that I get by doing this, but I haven't eliminated it completely. I actually had to do the same thing for the Generic Agent since none of those schedules were running either. Jeff Mike Dent wrote:
I see several references to this but I could not see a fix.
I noticed no mail coming in for a few days. Manually running PostMasterPOP3.pl:-
root@rt3:/opt/otrs/bin# ./PostMasterPOP3.pl Notice: PostMasterPOP3.pl is already running (use '-f 1' if you want to start it forced)! root@rt3:/opt/otrs/bin#
Even though it does not seem to be running:-
root@rt3:/opt/otrs/bin# ps -ef |grep -i post root 4338 1 0 May09 ? 00:00:07 /usr/lib/postfix/master postfix 4358 4338 0 May09 ? 00:00:05 qmgr -l -t fifo -u postfix 4913 4338 0 May09 ? 00:00:00 tlsmgr -l -t unix -u -c postfix 27554 4338 0 15:14 ? 00:00:00 pickup -l -t fifo -u -c postfix 27916 4338 0 16:30 ? 00:00:00 cleanup -z -t unix -u -c postfix 27917 4338 0 16:30 ? 00:00:00 trivial-rewrite -n rewrite -t unix -u -c postfix 27918 4338 0 16:30 ? 00:00:00 local -t unix root 27929 4532 0 16:30 pts/0 00:00:00 grep -i post
Please advise? 'add -f on crontab?'
thanks Mike
version 2.1.7 ORTS on Ubuntu. _______________________________________________ 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 Support or consulting for your OTRS system? => http://www.otrs.com/

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Dent schrieb:
I see several references to this but I could not see a fix.
...it might happen that the postmaster is not actually running but the process_id is still in the process table. That happens when the postmaster process dies at some point for some reason. So check the table process_id for entries refering to the postmasterPOP or postmasterIMAP script. If there's an entry and no process is actually running, delete it. regards, Torsten Thau - -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFGTUO/vXo8m5PgoXQRAj60AJ4xa3LE7J41lQne5xvQMT5w5Gy11wCeK/+5 7ahHQuvqQZVn5nKi2xjKfJY= =uwMv -----END PGP SIGNATURE-----

Thanks,
am I missing something?
mysql> select * from process_id;
Empty set (0.00 sec)
mysql>
Mike
On 5/18/07, Torsten Thau
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mike Dent schrieb:
I see several references to this but I could not see a fix.
...it might happen that the postmaster is not actually running but the process_id is still in the process table. That happens when the postmaster process dies at some point for some reason. So check the table process_id for entries refering to the postmasterPOP or postmasterIMAP script. If there's an entry and no process is actually running, delete it.
regards, Torsten Thau
- -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGTUO/vXo8m5PgoXQRAj60AJ4xa3LE7J41lQne5xvQMT5w5Gy11wCeK/+5 7ahHQuvqQZVn5nKi2xjKfJY= =uwMv -----END PGP SIGNATURE----- _______________________________________________ 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 Support or consulting for your OTRS system? => http://www.otrs.com/
participants (3)
-
Jeff Shepherd
-
Mike Dent
-
Torsten Thau