I thought if any one could help me it would be you.
I have been reading a lot of things on the internet about this problem when clamav has been upgraded but most of them are a slightly different setup to mine with different programs. Im not that experienced in Linux matters so I was worried that if I tried some of their proposed solutions I might break something else. People have been saying it is a permissions problem, others say it was a flaw in the upgrade and there is a later one that will fix it.
They speak of "volatile repositries". Im not sure what that means or whether it is a good idea.
I feel the major clue is the fact that clamd.conf is looking for:
LocalSocket /var/run/clamav/clamd.ctl
but there is no file called clamd.ctl
I seem to remember during startup, before the upgrade, it used to say something about trying to start clamav and changing something because of what was in clamd.conf.
I think I will try to go through the howto again and see if there are any clues of what needs to be done.
I did notice that in the howto it says:
Quote:
Now run
netstat -tap
and you should see Postfix (master) listening on port 25 (smtp) and 10025, and amavisd-new on port 10024:
|
and mine now says:
Code:
alan@smail:~$ sudo netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 4422/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 15100/master
tcp 0 0 localhost.localdo:mysql *:* LISTEN 4496/mysqld
tcp 0 0 *:www *:* LISTEN 5140/apache2
tcp 0 0 *:smtp *:* LISTEN 15100/master
tcp 0 0 smail.scribalpubl:56420 mta-v15.mail.vip.r:smtp ESTABLISHED 15112/smtp
tcp 0 0 localhost.localdo:44645 localhost.localdo:10024 ESTABLISHED 15110/smtp
tcp 0 1 smail.scribalpubl:46693 mta-v11.mail.vip.r:smtp SYN_SENT 15123/smtp
tcp 0 0 localhost.localdo:52377 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:10025 localhost.localdo:39881 TIME_WAIT -
tcp 0 0 localhost.localdo:mysql localhost.localdo:52414 ESTABLISHED 4496/mysqld
tcp 0 0 localhost.localdo:10025 localhost.localdo:39877 TIME_WAIT -
tcp 0 0 localhost.localdo:52342 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:52362 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:52389 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:10025 localhost.localdo:39867 TIME_WAIT -
tcp 0 0 localhost.localdo:52343 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:52344 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:10024 localhost.localdo:44644 ESTABLISHED 14844/amavisd (ch2-
tcp 0 0 localhost.localdo:44644 localhost.localdo:10024 ESTABLISHED 15107/smtp
tcp 0 0 localhost.localdo:10025 localhost.localdo:39915 TIME_WAIT -
tcp 0 0 localhost.localdo:52390 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:10024 localhost.localdo:44645 ESTABLISHED 14887/amavisd (ch2-
tcp 0 0 localhost.localdo:52413 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:10025 localhost.localdo:39862 TIME_WAIT -
tcp 0 0 localhost.localdo:41188 localhost.localdo:mysql TIME_WAIT -
tcp 0 0 localhost.localdo:52375 localhost.localdo:mysql TIME_WAIT -
tcp 0 1 smail.scribalpubl:53934 mta-v10.mail.vip.m:smtp SYN_SENT 15117/smtp
tcp 0 0 localhost.localdo:10025 localhost.localdo:39921 TIME_WAIT -
tcp 0 0 localhost.localdo:52376 localhost.localdo:mysql TIME_WAIT -
tcp 0 1 smail.scribalpubl:56273 mta-v15.mail.vip.r:smtp FIN_WAIT1 -
tcp 0 0 smail.scribalpubl:39502 211.29.133.14:smtp ESTABLISHED 15111/smtp
tcp 0 0 localhost.localdo:52414 localhost.localdo:mysql ESTABLISHED 15132/cleanup
tcp 0 1 smail.scribalpubl:33520 mta-v9.mail.vip.mu:smtp SYN_SENT 15122/smtp
tcp 0 0 localhost.localdo:52360 localhost.localdo:mysql TIME_WAIT -
tcp6 0 0 [::]:imaps [::]:* LISTEN 4929/couriertcpd
tcp6 0 0 [::]:pop3s [::]:* LISTEN 4963/couriertcpd
tcp6 0 0 [::]:pop3 [::]:* LISTEN 4943/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 4909/couriertcpd
tcp6 0 0 [::]:ssh [::]:* LISTEN 4387/sshd
tcp6 0 0 smail.scribalpublis:ssh 192.168.1.75%76233:3469 ESTABLISHED 14534/sshd: alan [p
I did read that upgrading changed the bash/dash thing so I redid that from the how to.
If all else fails I will have to wipe the server and start again. I really dont want to do that because there is still at least 40,000 emails stuck in the queue that it is ever so slowly sending out and it is a very important mailout.
I do know one thing though.
I will never do an upgrade again.
Thanks for looking at this for me Falko.