/bin/cp: target `/var/clamav/' is not a directory

Customer support forums for Atomic Protector (formerly Atomic Secured Linux). There is no such thing as a bad question here as long as it pertains to using Atomic Protector. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)
User avatar
CRServers
Forum User
Forum User
Posts: 54
Joined: Wed Jul 04, 2012 7:44 am
Location: Costa Rica

/bin/cp: target `/var/clamav/' is not a directory

Unread post by CRServers »

When doing an update with

Code: Select all

aum -u
I encountered this detail:

Code: Select all

Updating CLAMAV to 201310171416: updated                 [OK]
/bin/cp: target `/var/clamav/' is not a directory
It is true that we do not have a '/var/clamav/' directory, we run Interworx that runs clamav from '/var/lib/clamav'
We have CLAMAV_DatabaseDirectory pointing to '/var/lib/clamav' on the ASL GUI configuration.

Why are we getting this error?
Should we be concerned?

After the update, all seems to be running OK.

Thanks and regards,
Rodrigo Fernández
Image
http://www.crservers.com
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: /bin/cp: target `/var/clamav/' is not a directory

Unread post by scott »

/var/clamav is required. AUM pushes our updates to that directory, it is not a configurable setting
User avatar
CRServers
Forum User
Forum User
Posts: 54
Joined: Wed Jul 04, 2012 7:44 am
Location: Costa Rica

Re: /bin/cp: target `/var/clamav/' is not a directory

Unread post by CRServers »

scott wrote:/var/clamav is required.
So we should create the directory, right?
Is that all there is to do to fix this?
Thanks,
Rodrigo Fernández
Image
http://www.crservers.com
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: /bin/cp: target `/var/clamav/' is not a directory

Unread post by scott »

I would recommend using our packages/configs/paths. I cant guarantee that just playing with paths will work for your situation
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: /bin/cp: target `/var/clamav/' is not a directory

Unread post by mikeshinn »

And we definitely do not support other vendors packages, if do run into issues and you use someone elses clamav rpms then you will need to ask them for support theres no telling what they may do differently or patches and enhancements they may not include. Always use our packages if you want our support for that software.
Post Reply