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: jailshell - No such file or directory

Discussion in 'General Discussion' started by ripefruit, Dec 5, 2018.

  1. ripefruit

    ripefruit Registered

    Joined:
    Oct 8, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    A cron that has been running for many years has suddenly stopped working with this error:

    /usr/local/cpanel/bin/jailshell: https://www.xxxxxxxx.net.au/coin_cron/bills.php: No such file or directory

    bills.php is still here, so what am I doing wrong?

    Any assistance would be greatly appreciated.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,923
    Likes Received:
    177
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    What specifically is the crontab task in question? What is the full output of

    crontab -l -u %user%
     
  3. ripefruit

    ripefruit Registered

    Joined:
    Oct 8, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    With all due respect, why is the task relevant?

    As stated, the cron job has operated without issue for a number of years and is now causing an error: No such file or directory

    It is not saying it can't run or anything other than cannot find a file which is still there are many years
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,923
    Likes Received:
    177
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Well...

    It sounds like you have the crontab task command set to:

    https://www.xxxxxxxx.net.au/coin_cron/bills.php

    Which isn't a valid command.

    I don't know how it was working before... probably either wasn't or you have since modified the crontab command incorrectly.

    But if you don't have the crontab task command set as

    https://www.xxxxxxxx.net.au/coin_cron/bills.php

    Then I would be in error in my judgement.

    But I don't have a lot of information to go on with what you gave... so I'm just using what I've got.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,955
    Likes Received:
    485
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The docs should be of some use:
    docs.phpcoin.com/index.php/Cron#Direct_crontab_editing
     
    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