Bug 286171 - fetchmail complains about another fetchmail running
Summary: fetchmail complains about another fetchmail running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fetchmail
Version: 7
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-11 15:20 UTC by n0dalus
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-20 08:06:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description n0dalus 2007-09-11 15:20:10 UTC
Description of problem:
I have a cronjob that recently has been outputting an error every time it runs
(using fetchmail):
fetchmail: can't poll specified hosts with another fetchmail running at <number>.

The problem is, there is definitely no other fetchmail running, and there is no
stale .fetchmail.pid file lying around. To make matters more complicated, I am
unable to reproduce this outside of a cronjob. Running fetchmail directly on the
shell produces no error message.

Here is the cron entry:

*/5 * * * * fetchmail myserver > /dev/null

I have had no problems until the update to fetchmail-6.3.7-2.fc7, at which point
the problem has occurred every time the cronjob runs.

I put an strace into the cronjob (strace -o /tmp/straceout fetchmail myserver),
and it shows a successful open() for reading only of .fetchmail.pid - which
makes no sense as the file does not exist. I suspect that there is a threading
issue or something.

Version-Release number of selected component (if applicable):
fetchmail-6.3.7-2.fc7

How reproducible:
Only from the cronjob for some reason

Comment 1 n0dalus 2007-09-20 08:06:22 UTC
Found the problem - for some reason, there were two crond's running. So two
fetchmail instances were being started simultaneously every time. If it happens
again I'll file a bug against vixie-cron instead.

Apologies for the non-bug report. Closing.


Note You need to log in before you can comment on or make changes to this bug.