Results 1 to 6 of 6
Thread: CLAMAV Problem
-
12-04-2013, 07:19 PM #1Junior Guru Wannabe
- Join Date
- Apr 2013
- Posts
- 74
CLAMAV Problem
Hi all,
Installed ClamAV on my server a few days ago and received an email "ERROR: Can't create temporary directory /usr/local/cpanel/3rdparty/share/clamav/clamav-3a48dc9069610df493a05e6e147a5410.tmp"
On the Clam wiki is states
"Error: Can't create temporary directory
If you get the following error, along with a 'HINT' containing a UID and a GID number:
# can't create temporary directory
Correct permissions:
# chown UID:GID /var/lib/clamav & chmod 755 /var/lib/clamav"
I did not get a hint of UID or GID so unable to SSH this command.
Anyone able to help?
Many thanks
earthblaze
Sorry ... didn't mention I am running latest cpanel on Centos 6.3 64 bit with CSF installedLast edited by Earthblaze; 12-04-2013 at 07:22 PM. Reason: add software specs
-
12-04-2013, 09:48 PM #2The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
You need to fix the permission as per the clam wiki instructions.
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
12-05-2013, 01:54 AM #3Junior Guru Wannabe
- Join Date
- Apr 2013
- Posts
- 74
I tried SSHing the command as it is written but it did not solve the problem. Presumably I need to input the actual UID and GID. Any idea where I would find these?
-
12-05-2013, 02:32 AM #4Web Hosting Master
- Join Date
- Jan 2003
- Location
- SLC
- Posts
- 2,278
UID = user identification
GID = Group identification
UID located in /etc/passwd file
GID located in the /etc/group file
-
12-05-2013, 02:56 AM #5Newbie
- Join Date
- Jul 2007
- Posts
- 11
chown clamav:clamav /usr/local/cpanel/3rdparty/share/clamav
cPanel has an internal ticket on this and it is scheduled to be fixed in a cPanel update in the near future.
freshclam is run as user 'clamav', but /usr/local/cpanel/3rdparty/share/clamav is owned by root. Their recommended temporary fix is just to chown that directory clamav:clamav. If they deem permissions should be different down the road, they'll just do that in an update.
M
-
12-05-2013, 07:03 PM #6Junior Guru Wannabe
- Join Date
- Apr 2013
- Posts
- 74
Thanks guys,
All sorted with temporary fix
Similar Threads
-
problem with auromatic scan clamav
By ertebat7 in forum Hosting Security and TechnologyReplies: 6Last Post: 11-19-2012, 09:52 AM -
i have problem with install ClamAV Scanner
By q8yas in forum Managed Hosting and ServicesReplies: 2Last Post: 09-06-2008, 08:28 AM -
ClamAV problem
By AltusHost in forum Hosting Security and TechnologyReplies: 4Last Post: 06-11-2008, 07:15 AM -
clamav problem on cPanel Server
By firestarter in forum Hosting Security and TechnologyReplies: 3Last Post: 05-17-2005, 09:00 AM -
Clamav problem
By chanch in forum Hosting Security and TechnologyReplies: 13Last Post: 01-12-2005, 03:00 AM