socket dissapears, how to t/s ?

[email protected]
Newsgroups gmane.org.user-groups.slug.general
Message-ID <[email protected]>
I have a new Centos Postfix/Amavis server, it came as a preconfigured
iRedMail server, a pre configured Postfix + ancillaries

amavisd-new was installed and running, but, after a few days, amavisd
started crashing

I suspect a yum update of clamd from 'incompatible repos' caused it (?)

I'm trying to figure out what's going on, when I start 'clamd' I get a
socket as so:

# service clamd start
Starting Clam AntiVirus Daemon:                            [  OK  ]

# ls -al /var/spool/amavisd/clamd.sock
srw-rw-rw- 1 amavis amavis 0 Dec 16 10:29 /var/spool/amavisd/clamd.sock

but, when I start amavisd it fails with

# amavisd debug
...//...
Use of uninitialized value in subroutine entry at
/usr/local/share/perl5/Net/Server/Proto.pm line 125.
Dec 16 10:31:26.427 emu.sbt.net.au /usr/sbin/amavisd[10618]: Net::Server:
Binding to UNIX socket file "/var/spool/amavisd/clamd.sock"
Dec 16 10:31:26.427 emu.sbt.net.au /usr/sbin/amavisd[10618]: Net::Server:
Binding to TCP port 10024 on host 127.0.0.1 with IPv4
Dec 16 10:31:26.428 emu.sbt.net.au /usr/sbin/amavisd[10618]:
(!)Net::Server: 2013/12/16-10:31:26 Can't connect to TCP port 10024 on
127.0.0.1 [Permission denied]\n  at line 68 in file
/usr/local/share/perl5/Net/Server/Proto/TCP.pm
Dec 16 10:31:26.428 emu.sbt.net.au /usr/sbin/amavisd[10618]: Net::Server:
2013/12/16-10:31:26 Server closing!

and, the socket disapears ?

# ls -al /var/spool/amavisd/clamd.sock
ls: cannot access /var/spool/amavisd/clamd.sock: No such file or directory
# service clamd status
clamd (pid 9263) is running...

any suggestion how to figure this out?


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.