shell-init: error retrieving current directory: getcwd:
Hi after an dc migration my customers cant exec crontabs/cronjobs
i currently receiving email erros of my whmcs schedule like this:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
No input file specified.
When i copy the crontab line and run direct on putty, runs fine, but on crontab i get this erros
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
No input file specified.
How can i fix this?
Thanks in advance!
Ronan
-
Hello :) Could you elaborate on what the specific cron job does or it's specific contents? How does it appear in cPanel or in the /var/spool/cron/user file? Thank you. 0 -
Hi, I'm running Centos 6.6 WHM 11.48.0 (build 11) There was a cpanel update that happened on my server on Monday evening. I think I started getting these messages since that update, but I don't know if something else triggered it. Starting Monday evening, every time cron runs on one of the accounts (15 minutes) I get an email with the following message: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory No input file specified. The cron job that is being called is: */15 * * * * php -f /home/[username]/public_html/cron.php I have not made any updates to the site in at least a week. In fact, this has been working fine since about 2011, but something has recently changed. Trying to find the problem but no luck so far. thanks 0 -
This is typically caused by deleted, but not removed, virtfs mounted directory for the account. Please post the output from the following command: grep deleted /proc/mounts | grep $username
Thank you.0
Please sign in to leave a comment.
Comments
3 comments