Centos Error Problem With Internal Logger Updatelogfile = /var/log/clamav/freshclam.log
» Print Pages: [1] Author Topic: [SOLVED] CLAMAV update problem (Read 7560 times) 0 Members and 2 Guests are viewing this topic. brinsleyparagao Newbie Posts: 2 [SOLVED] CLAMAV update problem « on: August 16, 2015, 01:06:44 AM » I make a new server and install clamav and extras, but in restart service i see this error log:Stopping Clam AntiVirus Daemon: [ OK ]Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************LibClamAV Warning: *** The virus database is older than 7 days! ***LibClamAV Warning: *** Please update it as soon as possible. ***LibClamAV Warning: **************************************************[ OK ]So, i try make a update on prompt with this: [root@server ~]# freshclam but i have this errorERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).How to fix this ? « Last Edit: October 26, 2015, 08:19:26 PM by Igor S. » Logged zakrpa Jr. Member Posts: 64 Re: CLAMAV update problem « Reply #1 on: September 16, 2015, 09:14:34 AM » Hi,Had same errors after CWP or Centos update.. could not receive emails from google some kind TLS error cant remember but there are paths changed to crt files. After fixed that in config had to change user from clam to root because clam could not scan any mail. Then I got that error since nothing with permissions didnt help I changed name of log file in config. Try that and seeRegards Logged Igor S. The System Administrator for any GNU/Linux Global Moderator Hero Member Posts: 531 Re: CLAMAV update problem « Reply #2 on: September 16, 2015, 04:53:50 PM » HiLatest versions does not have any troubles with it.ClamAV does not mostly bad permissions/owner to /var/clamav Logged Services Monitoring & RBL Monitoringhttp://centos-webpanel.com/services-monitorJoin our Development Team and get paid !http://centos-webpanel.com/develope-modules-for-cwp Installation Instructionshttp://centos-webpanel.com/installation-instructionsGet Fast Support Herehttp://centos-webpanel.com/support-services Mamas Newbie Posts: 7 Re: CLAMAV update problem « Reply #3 on: October 18, 2015, 04:18:42 AM » Hi. I have problem with clamav. After I rebuilder postfix conf
on VMware 11 Custom Icon Sets for ExtJS tool types System Services on CentOS 7 Apache/PHP: Runtime Configuration CentOS 6.5: Installing the Pagoda Client Ruby Gem Backlight of the Raspberry TFT Touchscreen CentOS: ClamAV update fails CentOS: Chromium with Adobe Flash Player ExtJS4: grid row background colors Multiple HGFS Shares with VMware Tools on CentOS Ubuntu: Show Hidden Files in Nautilus Converting UNIX time to/from http://forum.centos-webpanel.com/centos-6-problems/clamav-update-problem/ ISO 8601 format Ubuntu: "fsck at reboot" Notification Statement: The Multiuser Seat-Reservation References NetWrix Corporation DM produce The Magic Touch andullation.info Ebert EDV Concentric IT forcesoperations.com GRIP Systems General Information Services Terms & Conditions Contact Imprint Posts by Tag.htaccess ADB AJAX Android Android 5.1 Android Tablet annoyances Apache Bash bugfix CDMA CentOS http://www.codefx.biz/2014/04/centos-clamav-update-fails Chrome Client Detection config connect CSS Detection Enable example ExtJS ExtJS4 Google Maps API V3 HSDPA HTML IE10 IE6 IE7 IE9 install Internet Explorer Jaunty JavaScript jQuery Karmic Lenovo X200 Linux Mobile Broadband multi-user openCart PagodaBox PHP reconnect Root Smarty PHP solution SPK Subversion Synology Templates Tool ttyACM Ubuntu update USB vhost VMware vmware-tools WordPress wvdial « CentOS: Chromium with Adobe Flash Player Backlight of the Raspberry TFT Touchscreen » CentOS: ClamAV update fails In case your ClamAV stopped it's daily update via cronjob and the Anacronist complains: ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). This is because the system-user which ClamAV uses may have changed due to an update. This issue can be easily fixed, when knowing which user/group needs to be set. a) open a terminal and obtain root permissions: su password: b) then set the permissions: chown clam:clam /var/log/clamav/fresh
Post #1 of 4 (9168 views) Permalink Freshclam problems after updating packages Running http://www.gossamer-threads.com/lists/clamav/users/53614 CentOS 6, I've started getting messages like No updates detected in the log for the freshclam daemon (the ClamAV update process). If the freshclam daemon is http://forums.fedoraforum.org/showthread.php?t=154110 not running, you may need to restart it. Other options: etc... and /etc/cron.daily/freshclam: ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). ERROR: Can't open /var/log/clamav/freshclam.log in centos error append mode (check permissions!). I've tried to sort this out, without success. First, then, can you tell me what permissions freshclam.log should have? Currently it is owned clamav:clamav with rw access for clamav. what other checks should I be making? Thanks Anne _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net centos error problem http://www.clamav.net/support/ml bburke at eecs Nov18,2011,12:35PM Post #2 of 4 (9079 views) Permalink Re: Freshclam problems after updating packages [In reply to] > I've tried to sort this out, without success. First, then, can you tell me > what permissions freshclam.log should have? Currently it is owned > clamav:clamav with rw access for clamav. > > what other checks should I be making? Maybe try becoming the clamav user and appending something to the file? #> su -l clamav -s /bin/bash clamav> echo "test" >> /var/log/clamav/freshclam.log Not sure... thinking about this abstractly I can't imagine why it would happen. -- Bryan Burke IT Administrator Department of Electrical Engineering and Computer Science University of Tennessee, Knoxville bburke [at] eecs (865) 974-4694 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml ged at jubileegroup Nov19,2011,3:36AM Post #3 of 4 (9078 views) Permalink Re: Freshclam problems after updating packages [In reply to] Hi there, On Sat, 19 Nov 2011 Anne
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Installation, Upgrades and Live Media freshclam won't update because of logfile FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Installation, Upgrades and Live Media Help with Installation, FedUp & Live Media (Live CD, USB, DVD) problems. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 30th April 2007, 10:37 AM marcussmit Offline Registered User Join Date: Apr 2007 Posts: 4 freshclam won't update because of logfile Hi all! Please help me with this problem? Freshclam won't update the virusdefinitions because it thinks that is cannot append. Code: [root@mailserver ~]# freshclam ERROR: Can't open /var/log/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger. strace says: Code: munmap(0xb7f38000, 4096) = 0 setgroups32(1, [103]) = 0 setgid32(103) = 0 setuid32(102) = 0 umask(037) = 022 open("/var/log/freshclam.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied) umask(022) = 037 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f38000 write(1, "ERROR: Can\'t open /var/log/fresh"..., 78ERROR: Can't open /var/log/freshclam.log in append mode (check permissions!). uid102 = clamav and gid103 = clamav, filepermissions are: Code: [root@mailserver ~]# ls -l /var/log/freshclam.log -rwxr--r-- 1 clamav clamav 0 apr 30 10:51 /var/log/freshclam.log What more can i try to get this working? Thanks for any response, Marcus marcussmit View Public Profile Find all posts by marcussmit #2 13th June 2007, 09:13 AM pascald Offline Registered User Join Date: Jan 2007 Location: Blainville/Orne, France Posts: 33 you need the p