The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Failed to write lock file

Discussion in 'General Discussion' started by EcSistemas, Aug 11, 2015.

  1. EcSistemas

    EcSistemas Registered

    Joined:
    Jul 15, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    ecuador
    cPanel Access Level:
    Root Administrator
    Output:

    Code:
    Failed to write lock file: /etc/my.cnf.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/cpbackup.conf.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/cpbackup.conf.cache.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/trueuserdomains.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/trueuserowners.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/userplans.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/domainusers.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/trueuserdomains.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/trueuserowners.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/userplans.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/domainusers.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23.
    Failed to write lock file: /etc/cpupdate.conf.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 23
    
     
    #1 EcSistemas, Aug 11, 2015
    Last edited by a moderator: Aug 11, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check to see if you are at your disk inodes limit:

    Code:
    df -i
    Inodes represent the number of files on your system. You may need to remove some files to get below 100% usage. If that's the case, first try running the following command in the event the usage is from comet files:

    Code:
    /usr/local/cpanel/bin/purge_dead_comet_files 
    Thank you.
     
Loading...

Share This Page