Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Install Clamav

Featured Replies

I tried to install Clamav on my Unraid5.0rc8a

I tried to install like described in post

http://lime-technology.com/forum/index.php?topic=13212.msg125447#msg125447

 

I downloaded clamav-0.97.5-i486-1alien.tgz for Slackware.

 

Installation with:

installpkg clamav-0.97.5-i486-1alien.tgz

seems to work well.

 

But wenn I start /usr/bin/freshclam I get the following error message:

freshclam: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory

 

Has anybody an idea or got clamav run on a Unraid5.0

you are missing some dependencies... look for a slack package with libltdl, install that, try again. probably it needs more, so look for the next one and so on...

  • Author

Thank you. After installing libltdl it now works.  :)

 

I also had to to create the directory /usr/share/clamav with the rights 0770

I also had to create the user "clamav" with read access on the shares to scan.

 

Now I can run /usr/bin/freshclam for update

and /usr/bin/clamscan -r -v /mnt/user for scanning

 

I am now working on some further configuration an cyclic scanning

I also want to try the deamon "clamd"

  • 4 months later...

I get an error when scanning something on a user share, but directly scanning the same file via /mnt/disk works fine?

 

Scanning a file on disk1:

$ clamscan "/mnt/disk1/Downloads/Android/4.2Camera_t04.zip" 
/mnt/disk1/Downloads/Android/4.2Camera_t04.zip: OK

----------- SCAN SUMMARY -----------
Known viruses: 2163621
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 26.17 MB
Data read: 9.00 MB (ratio 2.91:1)
Time: 10.733 sec (0 m 10 s)

 

Scanning the same file via user share:

root@Tower 03:16:38 /boot/extra
$ clamscan "/mnt/user/Downloads/Android/4.2Camera_t04.zip" 
WARNING: /mnt/user/Downloads/Android/4.2Camera_t04.zip: Can't access file
/mnt/user/Downloads/Android/4.2Camera_t04.zip: Value too large for defined data type

----------- SCAN SUMMARY -----------
Known viruses: 2163621
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 8.139 sec (0 m 8 s)

 

Any thoughts on why scanning won't work on user shares?

Why are you installing antivirus on your NAS?

To check downloaded (Windows) files automatically. I run Sabnzbd and Newznab on my unRAID setup.

To check downloaded (Windows) files automatically. I run Sabnzbd and Newznab on my unRAID setup.

 

Glad I don't have any more Windows PCs...

I get an error when scanning something on a user share, but directly scanning the same file via /mnt/disk works fine?

 

Scanning a file on disk1:

$ clamscan "/mnt/disk1/Downloads/Android/4.2Camera_t04.zip" 
/mnt/disk1/Downloads/Android/4.2Camera_t04.zip: OK

----------- SCAN SUMMARY -----------
Known viruses: 2163621
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 26.17 MB
Data read: 9.00 MB (ratio 2.91:1)
Time: 10.733 sec (0 m 10 s)

 

Scanning the same file via user share:

root@Tower 03:16:38 /boot/extra
$ clamscan "/mnt/user/Downloads/Android/4.2Camera_t04.zip" 
WARNING: /mnt/user/Downloads/Android/4.2Camera_t04.zip: Can't access file
/mnt/user/Downloads/Android/4.2Camera_t04.zip: Value too large for defined data type

----------- SCAN SUMMARY -----------
Known viruses: 2163621
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 8.139 sec (0 m 8 s)

 

Any thoughts on why scanning won't work on user shares?

 

Send a PM to Lime with a link to this thread. This reveals a bug in the User shares system. He may have some tests for you.

Sent a PM to him.

It could also be caused by an library that has been changed due to the install.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.