cant start greylistd

vitasis

Verified User
Joined
Nov 2, 2009
Messages
20
Location
Lithuanian
Hello,

i cant start greylistd, maybe somebody can help?


/etc/init.d/greylistd start
Starting greylistd: WARNING: initlog is deprecated and will be removed in a future release [FAILED]

/var/log/messages - no errors

name -a
Linux server.xxx.xx 2.6.32-042stab022.1 #1 SMP Thu Jul 21 15:15:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux

i tried use yum and rpm and it always fail to start.

i did this:
chown -R mail.mail /etc/greylistd/
chown -R mail.mail /var/run/greylistd/
chown -R mail.mail /var/lib/greylistd/
chown -R mail.mail /usr/sbin/greylist*

changed /etc/init.d/greylistd to user mail
usermod -g mail -G greylistd mail

cat /etc/issue
CentOS release 5.6 (Final)

Where can be problems, file permissions, file owners or etc?

:)

System have Python 2.4.3
 
No its not problem with initlog, om my other server it works:

/etc/init.d/greylistd restart
Shutting down greylistd: [ OK ]
Starting greylistd: WARNING: initlog is deprecated and will be removed in a future release
[ OK ]

But i cant find whats wrong on this my server.
 
I've never used greylistd, but try set debug mode for greylistd and check logs, or use strace.

Note, as Directadmin does not officially support greylistd, you're mostly on your own with the issue.
 
I think many peoples use directadmin, exim and greylist to protect servers from spam, so maybe somebody knows about this issue. strace shows this error:

write(1, "\33[0;31m", 7) = 7
write(1, "FAILED", 6FAILED) = 6
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\33[0;39m", 7) = 7
write(1, "]", 1]) = 1
)
 
No strace is about 590 lines. But only thats lines shows failed, i don't know exactly what it means:

write(1, "\33[0;31m", 7) = 7
write(1, "FAILED", 6FAILED) = 6

And its very strange that i don't see any error messages in /var/log/messages
 
Last edited:
Did you follow any guide? Or How-To? If it's true, you can share a link to it, so somebody could check it.
 
Back
Top