Page 1 of 1

SOLVED! cannot update Antivirus over the web interface

Posted: Thu Jul 17, 2014 8:51 pm
by ccc
Hi

I have TS-879U-RP with newest firmware 4.1.0 and cannot update Antivirus over the web interface.
Even doesn't work if I try to update manually using main.cvd or daily.cvd?

Re: cannot update Antivirus over the web interface

Posted: Thu Jul 17, 2014 10:36 pm
by doktornotor
Send a crystal ball...

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 5:49 am
by ccc
Is it any way to update Antivirus from the command line, to see what's wrong?

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 7:44 pm
by ccc
using freshclam command I get this error message:

Code: Select all

# freshclam
freshclam: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
# ldd /usr/local/bin/freshclam
        linux-gate.so.1 =>  (0xf77a3000)
        libiconv.so.2 => //lib/libiconv.so.2 (0xf76c7000)
        libclamav.so.6 => not found
        libz.so.1 => //lib/libz.so.1 (0xf76a9000)
        libresolv.so.2 => //lib/libresolv.so.2 (0xf7697000)
        libpthread.so.0 => //lib/libpthread.so.0 (0xf7680000)
        libc.so.6 => //lib/libc.so.6 (0xf754c000)
        /lib/ld-linux.so.2 (0xf77a4000)
# /etc/init.d/antivirus.sh update_db
#

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 7:53 pm
by doktornotor
Uninstall and reinstall the broken package; clearly cannot work without the most important library.

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 8:15 pm
by ccc
doktornotor wrote:Uninstall and reinstall the broken package; clearly cannot work without the most important library.
Thx, but can you pls give me some more details howto uninstall and reinstall Antivirus?
I cannot find it in "App Center".
BTW I cannot understand why is it broken, it's a new box and I have just a default installation.

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 8:37 pm
by doktornotor
Thought it's a QPKG. If it's not and they are still bundling the thing with firmware (no idea why, the thing's plain horrible) then you need to reinstall the entire firmware.

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 8:55 pm
by ccc
doktornotor wrote:Thought it's a QPKG. If it's not and they are still bundling the thing with firmware (no idea why, the thing's plain horrible) then you need to reinstall the entire firmware.
No, I don't use QPKG.
I've reinstalled 4.1.0 -> Antivirus doesn't work.
I have installed old firmware 4.0.7 -> Antivirus still doesn't work.
Even I've tried to go back to 3.8.4 -> Firmware Update failed.
Any other idea howto solve this problem?

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 8:57 pm
by doktornotor
Alternative 1: Move to QNAP support. :arrow: http://helpdesk.qnap.com/index.php?/Tickets/Submit
Alternative 2: Stop wasting time with this.

Re: cannot update Antivirus over the web interface

Posted: Fri Jul 18, 2014 10:34 pm
by ccc
doktornotor wrote:Alternative 1: Move to QNAP support. :arrow: http://helpdesk.qnap.com/index.php?/Tickets/Submit
Alternative 2: Stop wasting time with this.
Thx and next time I will buy Synology NAS.

Re: cannot update Antivirus over the web interface

Posted: Tue Nov 25, 2014 1:09 am
by ccc
Hi

I solved this problem now.
These symlinks should be created manually over putty:

Code: Select all


# ln -s /share/CACHEDEV2_DATA/.antivirus/usr/share/clamav/ /usr/share/clamav
# ln -s /share/CACHEDEV2_DATA/.antivirus/usr/lib/libclamav.so.6.1.13 /usr/lib/libclamav.so.6.1.13
# ln -s /usr/lib/libclamav.so.6.1.13 /usr/lib/libclamav.so.6
# ln -s /usr/lib/libclamav.so.6.1.13 /usr/lib/libclamav.so
# ldconfig
# freshclam -u admin
ClamAV update process started at Mon Nov 24 17:56:44 2014
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.4 Recommended version: 0.98.5
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Downloading daily-19675.cdiff [100%]
daily.cld updated (version: 19675, sigs: 1272598, f-level: 63, builder: shurley)
bytecode.cld is up to date (version: 242, sigs: 46, f-level: 63, builder: dgoddard)
Database updated (3696869 signatures) from db.local.clamav.net (IP: 193.230.240.8)
Why this happens is still unclear and according to many postings on the internet I'm not alone with this problem.