Line 1: |
Line 1: |
− | ==Freshclam update== | + | ==Method 1 - Freshclam update== |
| | | |
| + | === '''Problem''' === |
| On occasion there can be errors with clamav which can relate to the download of update files as shown below. In some instances, the admin account can be flooded by emails when clamav tries to update its database, this can occur several times a day. | | On occasion there can be errors with clamav which can relate to the download of update files as shown below. In some instances, the admin account can be flooded by emails when clamav tries to update its database, this can occur several times a day. |
| | | |
Line 13: |
Line 14: |
| 2013-03-02 22:58:52.561968500 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-03-02 22:58:52.561968500 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. |
| | | |
| + | === '''Solution''' === |
| {{Tip box|msg= As a result of [[bugzilla:8107]] and [[bugzilla:8108]] a script to refresh clamav is now included in your SME Server}} | | {{Tip box|msg= As a result of [[bugzilla:8107]] and [[bugzilla:8108]] a script to refresh clamav is now included in your SME Server}} |
| | | |
Line 21: |
Line 23: |
| '''All other scripts below are deprecated. They are here for documentation purposes only.''' | | '''All other scripts below are deprecated. They are here for documentation purposes only.''' |
| | | |
− | == Method 0 == | + | == Method 2 - Deprecated == |
| {{Note box|This method is deprecated. | | {{Note box|This method is deprecated. |
| Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} | | Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} |
Line 94: |
Line 96: |
| refreshclam | | refreshclam |
| | | |
− | == Method 1 == | + | == Method 3 - Deprecated == |
| {{Note box|This method is deprecated. | | {{Note box|This method is deprecated. |
| Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} | | Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} |
Line 149: |
Line 151: |
| bytecode.cvd version from DNS: 214 | | bytecode.cvd version from DNS: 214 |
| bytecode.cvd is up to date (version: 214, sigs: 41, f-level: 63, builder: neo) | | bytecode.cvd is up to date (version: 214, sigs: 41, f-level: 63, builder: neo) |
− |
| |
| | | |
| Finally & to be absolutely sure signal-event post-update; signal-event reboot, then go through the logs post reboot to make sure everything started correctly. This is not necessary for this procedure but doesn't hurt. | | Finally & to be absolutely sure signal-event post-update; signal-event reboot, then go through the logs post reboot to make sure everything started correctly. This is not necessary for this procedure but doesn't hurt. |
| | | |
− | == Method 2== | + | == Method 4 - Deprecated== |
| {{Note box|This method is deprecated. | | {{Note box|This method is deprecated. |
| Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} | | Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} |
Line 214: |
Line 215: |
| tail -5 /var/log/freshclam/current | tai64nlocal | | tail -5 /var/log/freshclam/current | tai64nlocal |
| | | |
− | == Method 3== | + | == Method 5 - Deprecated== |
| {{Note box|This method is deprecated. | | {{Note box|This method is deprecated. |
| Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} | | Please use the Freshclam update default script ie refreshclam - see Freshclam update - https://wiki.contribs.org/Clamav:freshclam_update#Freshclam_update}} |
Line 236: |
Line 237: |
| If you want to launch it | | If you want to launch it |
| /root/clamav-update | | /root/clamav-update |
− | | + | |
− | [[Category:Howto]] | + | [[Category:Howto]] |