Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    685

    Default 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?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

    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

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    685

    Default

    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

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

    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

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    685

    Default

    Jonathon this has happened again and every time i try and unmount /var/tmp it keep telling me its busy

    any suggestions?

Similar Threads & Tags
Similar threads

  1. Error running cpbackup: ls: reading directory .: Input/output error
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-11-2008, 02:58 AM
  2. rm: cannot lstat `/etc/rndc.key': Input/output error
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-09-2006, 05:32 PM
  3. rsync Input/output error
    By devGOD in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-15-2005, 01:03 AM
  4. (5)Input/output error: anyone seen this before?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-10-2004, 09:59 PM
  5. Shared lock error
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-27-2003, 03:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube