Strange problem sh: line 1:

BuBa

Active Member
Sep 25, 2002
42
0
156
The Netherlands
I get this line now for a few days (every hour) and that user I don't have on my server anymore.

This is what I get on my hourly check:

sh: line 1: /home/somedo/public_html/forums/sources/action_public/misc/misc.php: No such file or directory

in /var/spool/cron/ I don't have a cron with this line or what ever :rolleyes:

Is there someone how know the solution or can give me a hint to get ride of this annoying line

Regards,
Martin
 

BuBa

Active Member
Sep 25, 2002
42
0
156
The Netherlands
Thanks for that suggestions, I have checked all the cron dirs and it don't exists..
Are there more options to check?

Regards,
Martin
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,453
31
473
Go on, have a guess
Make doubly sure that it's not in a user cron:

grep misc.php /var/spool/cron/*

If not, then try restarting crond:

service crond restart

If it still continues, you'll need to check the cron log in /var/log/cron (usually) which should indicate what it is running and the username it is for.
 

BuBa

Active Member
Sep 25, 2002
42
0
156
The Netherlands
chirpy said:
Make doubly sure that it's not in a user cron:

grep misc.php /var/spool/cron/*

If not, then try restarting crond:

service crond restart
I did all you suggested:

grep returns no response, so not found
restarted crond, everything looks OK.

chirpy said:
If it still continues, you'll need to check the cron log in /var/log/cron (usually) which should indicate what it is running and the username it is for
No user have this, allmost all the crons are mine or not even come close to this line or user:

sh: line 1: /home/betareso/public_html/forums/sources/action_public/misc/misc.php: No such file or directory

Have a new one after restarting crond so I have now two problems :confused:
sh: line 1: A?p: command not found

Regards,
Martin