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
Hello,
I saw these errors when I did a fresh install of Ultimate Edition 4.5 64 BIT on my desktop machine. I also see this error in the text bootup messages, each time before I login.
(The Ultimate Edition iso I installed is:
ultimate-edition-4.5-x64.iso at sourceforge.net/projects/ultimateedition/ )These are the steps I did to fix the problem:
I checked my boot.log at /var/log/ to confirm the error messages.
I found a related post at: http://www.linuxquestions.org/questions ... de-739917/Since the freshclam.log message was an append mode error I looked to see if there was a file: /var/log/clamav/freshclam.log
The directory /var/log/clamav/ was not there. So I created the directory:
sudo mkdir /var/log/clamav
Then I created a freshclam.log file with #start (any text is fine). I used the nano editor, though most text editors will work.sudo nano freshclam.log
1st line: #start
I saved the file and then found most files in /var/log/ are owned by root:root
Since clamav needs to append to freshclam.log, I decided to give clamav ownership of the file: ( I looked at typical file ownership in /etc/clamav )sudo chown clamav:clamav freshclam.log
I rebooted several times and found the append mode error for freshclam.log was gone. The message in boot.log I now see for clamav is:
* StartingâClamAVâvirusâdatabaseâupdaterâfreshclam [160G
[154G[ OK ]
I attached my boot.log2.txt and system-info.txt files.
I found, on my computer, when Ultimate Edition 4.5 is booting, there is a 20 second pause that may seem like a Grub boot failure. (No disk activity) But it continues booting after 20 seconds. From power on to Desktop loaded is about 2 minutes for my computer.