Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread Lee
In Perl, check for keywords exec and system, and back-tick characeters like this: ` These all execute via the shell. HTH Lee On 03/03/2011 10:48, Tom Evans wrote: On Thu, Mar 3, 2011 at 9:30 AM, David Hubbard wrote: That unfortunately is all there is with regard to this error: sh: /which:

Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 9:30 AM, David Hubbard wrote: > That unfortunately is all there is with regard to this error: > > sh: /which: No such file or directory > > no timestamp, pid, etc. > > David > Then it isn't being emitted by apache, but by a CGI script. Examine your cgi scripts. Cheers Tom

RE: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread David Hubbard
d.apache.org > Subject: RE: [users@httpd] Weird error in error_log -> sh: > /which: No such file or directory > > Hi David, > > Can you please send some lines of your error log file? > > Thanks, > Manoj > > > Date: Wed, 2 Mar 2011 16:30:26 -0500 &g

RE: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-02 Thread Manoj Samtani
Hi David, Can you please send some lines of your error log file? Thanks,Manoj > Date: Wed, 2 Mar 2011 16:30:26 -0500 > From: dhubb...@dino.hostasaurus.com > To: users@httpd.apache.org > Subject: [users@httpd] Weird error in error_log -> sh: /which: No such file > or directo

Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-02 Thread Eric Covener
> Any ideas on how I can track it down?  I'm assuming it's > outputting that each time a child restarts and reads > some config somewhere that it doesn't like. looks more like CGI writing to stderr - The official User-To-User sup

[users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-02 Thread David Hubbard
I'm seeing this in the error_log file: sh: /which: No such file or directory fairly frequently. Server is centos 5.5 with current centos rpm of apache 2.2.3. The server is running the plesk control panel so there are lots of various include files that make up the apache config. That error seem