
20th April 2010, 23:06
|
|
Senior Member
|
|
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
|
|
Hello Falko,
Sorry it's me again about this issue. Is the last line in the code box something to worry about ?
To me it looks like clamd.amavisd is not running
Code:
Last login: Tue Apr 20 22:55:41 2010 from 192.168.0.1
-bash-4.0# ps aux | grep clamd.amavisd
amavis 1626 0.0 9.1 118180 93620 ? Ssl 22:57 0:00 clamd.amavisd -c /etc/clamd.d/amavisd.conf --pid /var/run/clamd.amavisd/clamd.pid
root 5870 0.0 0.0 4220 748 pts/0 S+ 23:02 0:00 grep clamd.amavisd
You have new mail in /var/spool/mail/root
-bash-4.0# kill -9 1626
-bash-4.0# rm -f /var/spool/amavisd/clamd.sock
-bash-4.0# /etc/init.d/clamd.amavisd start
Starting clamd.amavisd: LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
[ OK ]
-bash-4.0# /etc/init.d/clamd.amavisd status
clamd.amavisd dead but subsys locked
__________________
With Respect, Robert ------------------------------------------------ Fedora 15 - ISPConfig v3.0.3.3 On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb
|

21st April 2010, 16:57
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please try to restart Clamd.
|

23rd April 2010, 12:22
|
|
Senior Member
|
|
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
|
|
Now I really feel stupid,
I have /etc/init.d/amavisd and /etc/init.d/clamd.amavisd but I don't have /etc/init.d/clamd
Have a good weekend
__________________
With Respect, Robert ------------------------------------------------ Fedora 15 - ISPConfig v3.0.3.3 On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb
|

25th April 2010, 00:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Try
Code:
/etc/init.d/clamd.amavisd restart
|

26th April 2010, 00:12
|
|
Senior Member
|
|
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
|
|
Hello Falko,
/etc/init.d/clamd.amavisd restart:
Code:
Stopping clamd.amavisd: [FAILED]
Starting clamd.amavisd: LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
ERROR: LOCAL: Socket file /var/spool/amavisd/clamd.sock is in use by another process.
[FAILED]
You have new mail in /var/spool/mail/root
-bash-4.0#
Code:
-bash-4.0# ps aux | grep clamd.amavisd
amavis 18234 0.0 9.2 129712 93932 ? Ssl Apr22 0:48 clamd.amavisd -c /etc/clamd.d/amavisd.conf --pid /var/run/clamd.amavisd/clamd.pid
root 29883 0.0 0.0 4220 756 pts/0 SN+ 00:10 0:00 grep clamd.amavisd
-bash-4.0# kill -9 18234
-bash-4.0# rm -f /var/spool/amavisd/clamd.sock
-bash-4.0# /etc/init.d/clamd.amavisd start
Starting clamd.amavisd: LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
[ OK ]
-bash-4.0#
__________________
With Respect, Robert ------------------------------------------------ Fedora 15 - ISPConfig v3.0.3.3 On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb
|

12th July 2010, 14:36
|
|
Senior Member
|
|
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
|
|
After upgrading to Fedora 13 this issue no longer occurs.
__________________
With Respect, Robert ------------------------------------------------ Fedora 15 - ISPConfig v3.0.3.3 On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb
|

27th November 2010, 18:10
|
|
Junior Member
|
|
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Better fix
Fedora 13 and 14 I have found that have the same problem.
The clamd.pid is the problem not the clamd.sock.
You can repair this problem two ways.
1:
This seems to me to be the best way.
by editing the /etc/clamd.d/amavisd.conf
and change the line "PidFile /var/run/amavisd/clamd.pid" to "PidFile /var/run/clamd.amavisd/clamd.pid"
and create the new folder.
mkdir /var/run/clamd.amavisd/
chown amavis.amavis /var/run/clamd.amavisd/
2:
I think that this fix will be broken again on the next update.
edit the /usr/share/clamav/clamd-wrapper
and change CLAMD_PIDFILE=/var/run/clamd.${CLAMD_SERVICE}/clamd.pid to CLAMD_PIDFILE=/var/run/${CLAMD_SERVICE}/clamd.pid
|
|
The Following User Says Thank You to pturkey For This Useful Post:
|
BriX (10th September 2012)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:09.
|
|
Recent comments
1 day 21 min ago
1 day 7 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 20 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 15 hours ago
2 days 15 hours ago