Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron error "Unable to create lock file: No such file or directory"

Discussion in 'General Discussion' started by Pyone, Nov 14, 2015.

  1. Pyone

    Pyone Member

    Joined:
    Oct 9, 2014
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    Hello,

    I've been setting up cron job successfully for 2 months.
    I got the following error in my cronjob notification email just yesterday ;
    Except this error, my script is working fine.

    I'm using the shared hosting so I have no root access.
    Please let me know how to fix this problem. Thanks.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I think there is an issues with your tmp directory permission. Please contact your support team and ask them to check this for you.

    Code:
    chmod 0777 /tmp
    chmod +t /tmp
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please report this issue to your web hosting provider so they can take a closer look.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice