That unfortunately is all there is with regard to this error:

sh: /which: No such file or directory 

no timestamp, pid, etc.

David

> -----Original Message-----
> From: Manoj Samtani [mailto:manoj.kuma...@hotmail.com] 
> Sent: Thursday, March 03, 2011 2:43 AM
> To: users@httpd.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
> > From: dhubb...@dino.hostasaurus.com
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Weird error in error_log -> sh: 
> /which: No such file or directory
> > 
> > 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 seems to occur a random amount of time after
> > the server has been started and then continues to occur
> > maybe every ten or fifteen minutes.
> > 
> > I've tried to strace the main httpd and child processes
> > but can't find any execve that involves "which" or sh.
> > I checked for /sh and which in all the domain-level
> > config files and everything under /etc/httpd/ and no
> > matches. 
> > 
> > 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.
> > 
> > Thanks,
> > 
> > David
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP 
> Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > " from the digest: users-digest-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> > 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to