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 errors running php file

Discussion in 'General Discussion' started by ekblackwell, Jul 31, 2014.

  1. ekblackwell

    ekblackwell Registered

    Joined:
    Jul 31, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Currently, I'm getting:

    /usr/local/cpanel/bin/jailshell: /path/to/file.php: No such file or directory​

    I have double checked the path, even adding the public_html at the beginning just in case. It made no difference.

    I changed permissions to 777. No difference.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Could you let us know the exact cron job you have configured? Also, have you contacted your web hosting provider for assistance with this issue (root access might be required to troubleshoot)?

    Thank you.
     
  3. ekblackwell

    ekblackwell Registered

    Joined:
    Jul 31, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I already answered the above (and didn't get an answer) but I wanted to know the latest error message:

    /usr/local/cpanel/bin/jailshell: /usr/local/lib/php: is a directory
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you elaborate on this? Where did you answer that question? Have you consulted with your web hosting provider?

    Thank you.
     
  5. ekblackwell

    ekblackwell Registered

    Joined:
    Jul 31, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    You are our web host; that's why I'm consulting you.

    I might have replied to an email so just in case:
    20 10 * * * /usr/local/lib/php -f /tickler-report-Greg.php

    As I said in my first post, I have used all the paths provided under PHP configuration. All give the errors I have noted.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    cPanel is not a hosting provider, rather we provide software that your web hosting provider uses. The following document is helpful if you are unsure how to find out who is hosting your website:

    Who Hosts My Website?

    While we are happy to help you as much as possible, your hosting provider will have access to the server to investigate this issue and determine the source of the problem.

    Thank you.
     
  7. ekblackwell

    ekblackwell Registered

    Joined:
    Jul 31, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
Loading...

Share This Page