Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 21st April 2010, 00:06
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default

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
Reply With Quote
Sponsored Links
  #22  
Old 21st April 2010, 17:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please try to restart Clamd.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 23rd April 2010, 13:22
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default

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
Reply With Quote
  #24  
Old 25th April 2010, 01:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Try
Code:
/etc/init.d/clamd.amavisd restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #25  
Old 26th April 2010, 01:12
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default

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
Reply With Quote
  #26  
Old 12th July 2010, 15:36
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default

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
Reply With Quote
  #27  
Old 27th November 2010, 19:10
pturkey pturkey is offline
Junior Member
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
 
Default 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
Reply With Quote
The Following User Says Thank You to pturkey For This Useful Post:
BriX (10th September 2012)
Reply

Bookmarks

Tags
amavisd, clamd, clamd.amavisd, fedora 12

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing ISPConfig on Suse10.1 nliebherr Installation/Configuration 18 14th September 2007 01:30
dns server error Hellbound General 7 2nd August 2007 10:18
Error on install igbe Installation/Configuration 7 28th February 2007 23:55
Apache trouble wont restart Domain coroption main3 Installation/Configuration 1 16th September 2006 13:09
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 17:14


All times are GMT +2. The time now is 13:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.