650) this.width=650; "title=" QQ20150112140728 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" QQ20150112140728 "src=" http://s3.51cto.com/wyfs02/M01/58/98/ Wkiol1s1qbkjk0rcaacwc3kjsh0821.jpg "width=" 643 "height=" "/>"
The log shows an error while executing the Freshclam script under the Crond service. Freshclam.log log files cannot be superimposed, check permissions.
Now that you have permission issues, look at which users and groups the attribution permission belongs to.
/etc/cron.daily/freshclam is a timed update script for the ClamAV virus database.
Fresclam is the ClamAV Virus Database Update tool.
/etc/freshclam.conf is the configuration file for the ClamAV Virus Section Update tool.
View/etc/cron.daily/freshclam Scripts
650) this.width=650; "title=" Freshclam2 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" freshclam2 "src=" http://s3.51cto.com/wyfs02/M02/58/98/ Wkiol1s1qbpy89hwaae-39g17xk197.jpg "width=" 643 "height=" "/>"
Freshclam.log user and group is clam, permissions 644, database directory under/var/lib/clamav.
Daily Command execution:
/usr/bin/freshclam–quiet--datadir= "/var/lib/clamav"--log= "/var/log/clamav/freshclam.log
View Freshclam.log Log directory permissions
650) this.width=650; "title=" Freshclam3 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" freshclam3 "src=" http://s3.51cto.com/wyfs02/M00/58/98/ Wkiol1s1qbosxbktaabdlwyxlpc043.jpg "width=" 643 "height="/>
Log files belong to clam users and groups
View configuration file/etc/freshclam.conf
650) this.width=650; "title=" freshclam1 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" freshclam1 "src=" http://s3.51cto.com/wyfs02/M01/58/98/ Wkiol1s1qbxry0tkaadlldh4qja611.jpg "width=" 640 "height=" 163 "/>
The configuration file database directory for the Databasedirectory/var/clamav:freshclam Update tool is/var/clamav
Databaseowner ClamAV: Owner of the database ClamAV
Notifyclamd/etc/clamd.conf: When the virus database update is performed, the CLAMD service is notified to reload the virus library
When the Freshclam command is executed directly at the command line, the command is executed according to this configuration file.
Users and groups of the database are ClamAV, modify/etc/cron.daily/freshclam and/var/log/clamav users and groups
650) this.width=650; "title=" Freshclam4 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" freshclam4 "src=" http://s3.51cto.com/wyfs02/M02/58/98/ Wkiol1s1qbbsxo3haafaqejccmi227.jpg "width=" 637 "height=" 383 "/>
You can also modify the--datadir directory here with freshclam.conf consistent, according to individual wishes.
650) this.width=650; "title=" FRESHCLAM5 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" FRESHCLAM5 "src=" http://s3.51cto.com/wyfs02/M00/58/98/ Wkiol1s1qbfqsxagaacdbc3mg4c549.jpg "width=" 636 "height="/>
Execute the Freshclam script and view the log
[Email protected] ~]# Sh/etc/cron.daily/freshclam
650) this.width=650; "title=" Freshclam6 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" freshclam6 "src=" http://s3.51cto.com/wyfs02/M01/58/98/ Wkiol1s1qbiqyvudaaglzskc0q4076.jpg "width=" 637 "height=" 204 "/>
Update successful ...
Freshclam-can ' t open/. /.. /freshclam.log in append mod (check permission)