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.

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,146
    Likes Received:
    34
    Trophy Points:
    48
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

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

    Thank you.
     
Loading...

Share This Page