clamav help..........error.....Can't create temporary directory /var/lib/clamav/tmp.e2c5328459
Hint: The database directory must be writable for UID 1000 or GID 1000

need help slitaz
(3 posts) (2 voices)-
Posted 1 year ago #
-
Hi hellviper,
freshclam need to be execute as root for update database directory.
But in case failed due of ssl issue :/
Think not be fix without bump ssl stack and core packages on rollingI test with 'current', it's work as expected.
root@slitaz:~# freshclam
ClamAV update process started at Fri Feb 23 20:38:30 2024
daily database available for download (remote version: 27194)
Time: 1.2s, ETA: 0.0s [========================>] 59.97MiB/59.97MiB
Testing database: '/var/lib/clamav/tmp.034d1fd0c3/clamav-b36ef56731747e084483033445b0996c.tmp-daily.cvd' ...
Database test passed.
daily.cvd updated (version: 27194, sigs: 2054000, f-level: 90, builder: raynman)
main database available for download (remote version: 62)
Time: 2.4s, ETA: 0.0s [========================>] 162.58MiB/162.58MiB
Testing database: '/var/lib/clamav/tmp.034d1fd0c3/clamav-60beb2b1473ab6fb1a16f4e94f9af0b5.tmp-main.cvd' ...
Database test passed.
main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode database available for download (remote version: 334)
Time: 0.2s, ETA: 0.0s [========================>] 285.12KiB/285.12KiB
Testing database: '/var/lib/clamav/tmp.034d1fd0c3/clamav-1efe0c8f9a284aba113d64d107dab858.tmp-bytecode.cvd' ...
Database test passed.
bytecode.cvd updated (version: 334, sigs: 91, f-level: 90, builder: anvilleg)
root@slitaz:~#tux@slitaz:~$ clamscan /home
Loading: 16s, ETA: 0s [========================>] 8.69M/8.69M sigs
Compiling: 5s, ETA: 0s [========================>] 41/41 tasks----------- SCAN SUMMARY -----------
Known viruses: 8685710
Engine version: 0.104.2
Scanned directories: 1
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 20.993 sec (0 m 20 s)
Start Date: 2024:02:23 20:39:25
End Date: 2024:02:23 20:39:46
Posted 1 year ago # -
this is what i get
root@slitaz:~# freshclam
ClamAV update process started at Sat Feb 24 11:08:46 2024
daily database available for download (remote version: 27194)
WARNING: Download failed (60) WARNING: Message: SSL peer certificate or SSH remote key was not OK
WARNING: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...Posted 1 year ago #
Reply
You must log in to post.