I'm not an expert with this specific software but general knowledge of CentOS would lead me to: 1. I suspect your configuration switched from using unix-domain sockets to tcp sockets. 2. "permission denied" on TCP socket bind would point me to selinux issues or perhaps weird maximum, root-only port limit (unlikely). google it.
On 16 December 2013 10:37, <[email protected]> wrote: > 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 > -- [image: View my profile on LinkedIn] <http://www.linkedin.com/in/gliderflyer> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
