libbz2 is bzip library. it supposed to be included with gzip/bzip. try searching for arc / arj package in the ports. The ftp server is down right now anyway.
So the "/usr/local/bin/freshclam" causes clamav to update its virusdatabase or the folders that is going to be searched?
Is the "/usr/local/bin/clamscan -ri -l /mnt/data location>a" command running all the time once started to search the data location for viruses or just when you execute the command? If so shouldnt this be preformed regularly via the cron?
And last how do I know that clamav have identified a virus/trojan and what will happen with the virus/infected files?
I added clamav in my freenas (freebsd) 7.2 using the follwing command and it installed successfully "pkg_add -rv ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/security/clamav-0.95.2.tbz"
I also ran "/usr/local/bin/freshclam"
It updated the database upto 100% the i performed file scan using
/usr/local/bin/clamscan -ri -l logfile /mnt/"your data location" and it functioned properly BUT AFTER THAN WHEN I TRY TO RUN FRESHCLAM IT GIVE ME THE FOLLOWING ERROT" WARNING: Can't get information about user clamav. pLEASE HELP HOW DO I UPADATE THE DATABASE: CIRKIT
I have managed to resolve the above problem by modifying the owner of clamav databses. this setting is present in /usr/local/etc/freshclam.conf, change the database owner from clamav to root and then freshclam update works well. But now i have another problem, I have set a cron job to execute freshclam upadte every hour by adding cron job in advanced - cro in FreenAS 7.2 4735 but when I click on "execute now" I get a message cron job failed, If I run it from shell it runs perfect Please help to solve this problem...Cirkit
i am using freenas which uses freebsd 7.2 and i am receiving a similar file missing error but the file name is libbz2.so.2
ReplyDeletenitesh
libbz2 is bzip library. it supposed to be included with gzip/bzip. try searching for arc / arj package in the ports. The ftp server is down right now anyway.
ReplyDeleteftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/archivers/lbzip2-0.15.tbz
ReplyDeletetry that already?
So you are install ClamAV onto FreeNAS FULL installation not embended right?
ReplyDeleteThis comment has been removed by the author.
ReplyDelete@Cyber Knights
ReplyDeleteYes, Full installation, not embedded
Maybe im slow but just want to be sure
ReplyDeleteSo the "/usr/local/bin/freshclam" causes clamav to update its virusdatabase or the folders that is going to be searched?
Is the "/usr/local/bin/clamscan -ri -l /mnt/data location>a" command running all the time once started to search the data location for viruses or just when you execute the command? If so shouldnt this be preformed regularly via the cron?
And last how do I know that clamav have identified a virus/trojan and what will happen with the virus/infected files?
/user/local/bin/freshclam - causes vlamav to update its database
ReplyDeleteah sorry for the typos, it is actually
/usr/local/bin/clamscan -ri -l logfile /mnt/"your data location". wysiwyg editor problem. sorry.
-ri = recursive, infected
means it scans directories recursively and it will only print out the infected file in the screen and the logfile.
to remove the infected file automatically use "--remove" without quotation.
I added clamav in my freenas (freebsd) 7.2 using the follwing command and it installed successfully "pkg_add -rv ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/security/clamav-0.95.2.tbz"
ReplyDeleteI also ran "/usr/local/bin/freshclam"
It updated the database upto 100% the i performed file scan using
/usr/local/bin/clamscan -ri -l logfile /mnt/"your data location"
and it functioned properly BUT AFTER THAN WHEN I TRY TO RUN FRESHCLAM IT GIVE ME THE FOLLOWING ERROT" WARNING: Can't get information about user clamav. pLEASE HELP HOW DO I UPADATE THE DATABASE: CIRKIT
I have managed to resolve the above problem by modifying the owner of clamav databses. this setting is present in /usr/local/etc/freshclam.conf, change the database owner from clamav to root and then freshclam update works well. But now i have another problem, I have set a cron job to execute freshclam upadte every hour by adding cron job in advanced - cro in FreenAS 7.2 4735 but when I click on "execute now" I get a message cron job failed, If I run it from shell it runs perfect Please help to solve this problem...Cirkit
ReplyDelete