Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 88: Line 88:  
  2013-02-25 08:53:53.915137500 Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.
 
  2013-02-25 08:53:53.915137500 Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.
 
===The howTO===
 
===The howTO===
#Stop qpsmtpd/sqpsmtpd:
+
*Stop qpsmtpd/sqpsmtpd:
 
  /usr/local/bin/svc -d /service/qpsmtpd/  
 
  /usr/local/bin/svc -d /service/qpsmtpd/  
 
  /usr/local/bin/svc -d /service/sqpsmtpd/
 
  /usr/local/bin/svc -d /service/sqpsmtpd/
   −
#Stop clamAV:
+
*Stop clamAV:
 
  /usr/local/bin/svc -d /service/freshclam/  
 
  /usr/local/bin/svc -d /service/freshclam/  
 
  /usr/local/bin/svc -d /service/clamd/  
 
  /usr/local/bin/svc -d /service/clamd/  
   −
#Delete all:
+
*Delete all:
 
  cd /var/clamav
 
  cd /var/clamav
 
  rm -f /var/clamav/*
 
  rm -f /var/clamav/*
   −
#Update clamAV database
+
*Update clamAV database
 
  freshclam -v
 
  freshclam -v
 
   
 
   
#Restart qpsmtpd/sqpsmtpd & clamAV:
+
*Restart qpsmtpd/sqpsmtpd & clamAV:
 
  /usr/local/bin/svc -u /service/freshclam/  
 
  /usr/local/bin/svc -u /service/freshclam/  
 
  /usr/local/bin/svc -u /service/clamd/  
 
  /usr/local/bin/svc -u /service/clamd/  
Line 109: Line 109:  
  /usr/local/bin/svc -u /service/sqpsmtpd/
 
  /usr/local/bin/svc -u /service/sqpsmtpd/
   −
===Verify your started services ===
+
===Verify If all is fine ===
   −
#Check services
+
*Check services
 
  service clamd status
 
  service clamd status
 
  service freshclam status
 
  service freshclam status
Line 117: Line 117:  
  service sqpsmtpd status
 
  service sqpsmtpd status
   −
#Check logs
+
*Check logs
 
  tail -25 /var/log/freshclam/current | tai64nlocal  
 
  tail -25 /var/log/freshclam/current | tai64nlocal  
   −
#Check directories
+
*Check directories
 
  ls -lah /var/clamav/
 
  ls -lah /var/clamav/
      −
#To check freshclam when services are running
+
*To check freshclam when services are running, start a new instance of the supervised freshclam service:
#start a new instance of the supervised freshclam service:
   
  sv t /service/freshclam
 
  sv t /service/freshclam
 
  tail -5 /var/log/freshclam/current | tai64nlocal
 
  tail -5 /var/log/freshclam/current | tai64nlocal
    
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu