#1 (permalink)  
Old 07-22-2006, 05:30 AM
Registered User
 
Join Date: Apr 2002
Posts: 647
Snowman30
Cannot lock /tmp/ClamAVBusy.lock, Input/output error

Ive got a weird issue on one server ive just upgraded mailscanner and clamav on

eveythign seems to be workign ok but in the mail log im forever seeing

Cannot lock /tmp/ClamAVBusy.lock, Input/output error

ive forced an eximup done a mailscanner and clam update ive rebooted the server and still same error


anyone got any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-22-2006, 06:04 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
If that file exists in /tmp, try deleting it. It's also possible that if you have a virtual /tmp partition that it's become corrupt and needs recreating.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-22-2006, 06:21 AM
Registered User
 
Join Date: Apr 2002
Posts: 647
Snowman30
hrmm

no file of that type in /tmp and im not sure where a virtual /tmp folder would be hiding?

ive tried to locate the file with no luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-22-2006, 06:29 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
If you run:

df

And see a line similar to (sizes will differ):

/usr/tmpDSK 1007896 18336 938360 2% /tmp

Then you're using a virtual partition (i.e. it's a partition in a file).

You need to stop all the processes with files open in /tmp:

cd /root/
service chkservd stop
service httpd stop
service mysql stop
service postgresql stop
service xinetd stop


Wait a few seconds then:

umount /var/tmp
umount /tmp


If it says it's in use, find out which processes with:

lsof | grep /tmp

Kill them off and then retry the umount.

Once umounted, delete and recreate /tmp:

rm -fv /usr/tmpDSK
/scripts/securetmp


That should be it in most cases.

Oh, restart the stopped processes:

cd /root/
service xinetd start
service postgresql start
service mysql start
service httpd startssl
service chkservd start
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-06-2006, 03:05 AM
Registered User
 
Join Date: Apr 2002
Posts: 647
Snowman30
Jonathon this has happened again and every time i try and unmount /var/tmp it keep telling me its busy

any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc