sh: line 1: /cat: No such file or directory

groefie

Verified User
Joined
Apr 1, 2005
Messages
32
Hi,

since last night we've a lot of these errors in the Apache error log:

sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /uname: No such file or directory
sh: line 1: /uptime: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
[Sun Jul 24 12:50:02 2005] [notice] caught SIGTERM, shutting down
[Sun Jul 24 12:50:03 2005] [warn] module perl_module is already loaded, skipping
[Sun Jul 24 12:50:04 2005] [notice] Apache configured -- resuming normal operations
[Sun Jul 24 12:50:04 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 24 12:50:04 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Jul 24 12:51:00 2005] [notice] caught SIGTERM, shutting down
[Sun Jul 24 12:51:01 2005] [warn] module perl_module is already loaded, skipping
[Sun Jul 24 12:51:02 2005] [notice] Apache configured -- resuming normal operations
[Sun Jul 24 12:51:02 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 24 12:51:02 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)


Anyone knows what these mean? :confused:

Also our Cron log, exim paniclog, system mail log and system messages log are empty since last night. In the DA Task Queue log I found this:

2005:07:24-04:02:00: DaTaskQ is already running. Delete the file /var/run/dataskq.pid to reset

Looking in /var/run there isn't a dataskq.pid. Is this normal? :rolleyes:

Thanks!
 
The dataskq.pid file could be located in a different location than the one the message specifies.
You might try searching for it (locate) after updating your database (updatedb).

those commands will vary depending on your OS.
 
Hi,

just did

[root]# updatedb
[root]# locate dataskq.pid
[root]#

It found nothing.
 
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /uname: No such file or directory
sh: line 1: /uptime: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory
sh: line 1: /cat: No such file or directory

No one knows what these mean? There are thousands of these in the Task Queue log right now... And why the Cron log, exim paniclog, system mail log and system messages log are empty? We activated php safe mode on that server last Saturday, it seems the problem happened since then... :rolleyes:
 
Then have you tried disabling php to see if that fixes the problem?
Have you tried updating and recompiling everything with customapache?

Those error messages can be caused by a lot of things raning from apache itself to a a script a user is running with a cronjob to a corupted file somehwere else. See if you can find the exact file that is causing it if possible.
 
It means there's a shell script running asking the server to do things it can do.

Find the cronjob running a script asking it to do something with "/cat" instead of just "cat" (without the "/" mark.

It's that "/" mark that's causing the errors.

Jeff
 
Back
Top