[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail: lock creation failed



>    spock>   fetchmail: lock creation failed.
>    spock> So I'm assuming that some flag has been set so that
>    spock> fetchmail thinks it is still open or something
>
> In non-root mode fetchmail is supposed to use a lockfile named
> ~/.fetchmail.pid which I suggest you look for. If it is there,
> delete it.

spock@canopus22:~$ fetchmail
fetchmail: lock creation failed.
spock@canopus22:~$ mv ~./fetchmail.pid ~./fetchmail.pid_RENAMED
spock@canopus22:~$ fetchmail
165 messages for canopus22 at pop3.mail.demon.net (827643 octets).
reading message canopus22@pop3.mail.demon.net:1 of 165 (5246 octets) ..... flushed

O O
 L
\_/


> You can start fetchmail in a daemon mode, i.e. you start it once and
> have it poll your server constantly, which should keep your serial
> line up. For example, to cause a poll every 60 seconds add the line
> "set daemon 60" to your ~/.fetchmailrc file, Or use '-d 60' on the
> command line.

Cheers, setting it to 22 seconds seems to keep it alive.


Many thanks!!!

Malcolm Smith



Reply to: