LibClamAV Error: Database Directory Error
Error:
[Thu Mar 22 @ 05:00:16]
[root@Kristi:/usr/local/share/clamav]>freshclam
ClamAV update process started at Thu Mar 22 05:00:17 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
daily.cvd is up to date (version: 2907, sigs: 17378, f-level: 14, builder: ccordes)
LibClamAV Error: Database Directory: /usr/local/share/clamav not locked
Shell:
[Thu Mar 22 @ 05:00:24]
[root@Kristi:/usr/local/share/clamav]>chown clamav:clamav .dbLock
[Thu Mar 22 @ 05:00:28]
[root@Kristi:/usr/local/share/clamav]>ls -la
total 8.9M
drwxrwxr-x 2 clamav clamav 4.0K Mar 22 04:57 .
drwxr-xr-x 6 root root 4.0K Mar 22 02:52 ..
-rw-r–r– 1 clamav clamav 1.1M Mar 22 04:57 daily.cvd
-rwxrwxr– 1 clamav clamav 0 Mar 22 04:54 .dbLock
-rw-rw-r– 1 clamav clamav 7.9M Mar 22 04:56 main.cvd
-rw——- 1 clamav clamav 52 Mar 22 05:00 mirrors.dat
[Thu Mar 22 @ 05:00:29]
[root@Kristi:/usr/local/share/clamav]>freshclam
ClamAV update process started at Thu Mar 22 05:00:32 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
daily.cvd is up to date (version: 2907, sigs: 17378, f-level: 14, builder: ccordes)
Problem was a permissions issue where the ’.dbLock’ file ownership was not set to ’clamav’.
About this entry
You’re currently reading “LibClamAV Error: Database Directory Error,” an entry on Taehoon’s Blog
- Published:
- 03.22.07 / 11pm
- Category:
- Software, Linux, Anti-virus & Anti-Spyware, Errors, ClamAV
No comments
Jump to comment form | comments rss [?] | trackback uri [?]