Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: KaiNeR on July 22, 2005, 12:25:54 AM
-
when i run
/sbin/e-smith/db configuration setprop fetchmail status=enabled
i get this
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
what does this mean and how do i get fetchmail t work properly again ??
when i enable it from the server-manager under the mail retrieval, i get cron mails constantly telling me i have another session running in the foreground
any help is greatly appreciated
thanks
-
i also have 2 pop accounts configured in the 'mail retrieval' section on the server-manager and i'm also gettings this error every 5 mins
fetchmail: lock creation failed.
please can someone help, thanks
-
KaiNeR
Leave out the = sign
do
/sbin/e-smith/db configuration setprop fetchmail status enabled
> /sbin/e-smith/db dbfile setprop key prop1 val1
> [prop2 val2] [prop3 val3] ...
That's prompting you for the correct input and showing what is expected (notice there are no equal signs)
-
KaiNeR
Leave out the = sign
do
/sbin/e-smith/db configuration setprop fetchmail status enabled
> /sbin/e-smith/db dbfile setprop key prop1 val1
> [prop2 val2] [prop3 val3] ...
That's prompting you for the correct input and showing what is expected (notice there are no equal signs)
thanks dude that seemed to get it enabled, but now i'm getting this
fetchmail: lock creation failed.
what do i do to ressolve this ?
thanks, Dave
-
I'm not 100% sure but you probably need to do a
/sbin/e-smith/signal-event email-update
after that
I thought the Fetchmail contrib adds a nice server manager panel to configure it all (I don't use it), so why are you playing with the command prompt ??
-
I'm not 100% sure but you probably need to do a
/sbin/e-smith/signal-event email-update
after that
I thought the Fetchmail contrib adds a nice server manager panel to configure it all (I don't use it), so why are you playing with the command prompt ??
i had fetchmail all setup and working ok, but was recieving alot of message logs from fetchmail giving errors. I never had any of the logging or verbose options enabled in the server-manager panel for fetchmail, so i enabled the --silent option from the comman line and that still didnt work.
So i removed all the fetchmail accounts i'd previously setup apart from 1 and try reading through the logs to find the source of the problem, but still no joy.
so i decided to uninstall fetchmail with rpm -e
then reinstalled using rpm -Uvh
this still didnt work, now for every account i have setup i recieved the same error
fetchmail: lock creation failed.
i have tried what you said in your last post
/sbin/e-smith/signal-event email-update
then i rebooted the server, but i'm still recieving those same errors, i'm nearly ready to start backing up all and reinstall the whole thing, but i think that may cause me even more grief as the server is very heavily modded.
i just wish there was a way to completely remove all traces of fetchmail and then reinstall it.
thanks, Dave
-
KaiNeR
>...i had fetchmail all setup and working ok, but
> was receiving a lot of message logs from fetchmail > giving errors.
Maybe it's too late now, but that's the real problem you should be reporting here. If you give some of those errors perhaps others can help.
If you re-add all the fetchmail users/accounts can you get your system back to the "working but with errors" state ? Then report some of the error messages exactly.
-
Something in this thread may help
http://forums.contribs.org/index.php?topic=22814.0
-
KaiNeR
>...i had fetchmail all setup and working ok, but
> was receiving a lot of message logs from fetchmail > giving errors.
Maybe it's too late now, but that's the real problem you should be reporting here. If you give some of those errors perhaps others can help.
If you re-add all the fetchmail users/accounts can you get your system back to the "working but with errors" state ? Then report some of the error messages exactly.
When i say that i had fetchmail working ok i meant it was recieving pop mail from my external pop servers ok.
Now it isnt fetching anything at all. So i removed all the pop accounts aparts from one and enabled logging mode on that one so see what errors i would get.
and i'm still recieving this one error in my mail every 5 mins
fetchmail: lock creation failed.
-
it seems to fetch external mail ok if i just run it from the command line, so i guess its a problem with the server-manager panel template some how ?
-
What about permissions ?
[root@teddy root]# ls -la /var/lock/
total 20
drwxrwxr-x 4 root lock 4096 Jul 25 04:02 .
drwxr-xr-x 24 root root 4096 Jan 11 2005 ..
drwxr-xr-x 2 qmailr qmail 4096 Jul 25 20:10 fetchmail
drwxr-xr-x 2 root root 4096 Jul 25 04:03 subsys
-rw-r--r-- 1 root root 4 Jul 13 19:07 sysmon
[root@teddy root]#
Regards,
William.
-
What about permissions ?
[root@teddy root]# ls -la /var/lock/
total 20
drwxrwxr-x 4 root lock 4096 Jul 25 04:02 .
drwxr-xr-x 24 root root 4096 Jan 11 2005 ..
drwxr-xr-x 2 qmailr qmail 4096 Jul 25 20:10 fetchmail
drwxr-xr-x 2 root root 4096 Jul 25 04:03 subsys
-rw-r--r-- 1 root root 4 Jul 13 19:07 sysmon
[root@teddy root]#
Regards,
William.
i think the permissions are ok, do they look ok to you ?
[root@p31000 root]# ls -la /var/lock/
total 16
drwxrwxr-x 4 root lock 4096 Jul 25 14:45 .
drwxr-xr-x 23 root root 4096 Jun 22 13:55 ..
drwxr-xr-x 2 root root 4096 Jul 25 01:17 fetchmail
drwxr-xr-x 2 root root 4096 Jul 25 14:41 subsys
i found the .pid file and deleted it to see if that would make any difference. i found it at
/root/.fetchmail.pid
-
kainer,
Permissions are right but ownership is wrong.
fetchmail should be qmailr qmail not root root
Use chown or mc to correct ownership
Regards
Jackl
-
Hi dudes, thanks for all your help.
I have sort of fixed it.
I installed SME 6.0.1 on my spare laptop, then installed fetchmail contribs. then ssh'd into the laptop tar'd up the templates and templates-custom directories.
then copied them over to my server and just over written the fetchmail config files in the /etc/e-smith/templates/etc/fetchmail/* directory
and i'm happy to say that fetchmail is now recieving all my mails :-D but i'm still left with my 1st original problem of fetchmail sending me emails with (................) in the body of the mail every 15 mins :hammer: .
at least i'm now recieving my mail. i'll have to try and get my head round this other issue when i can understand what its actually doing.
Thanks for all the help guys and especially RayMitchell for being extremely patient.