Re: again system, exec and passthru.

From: Date: Wed, 05 Sep 2001 15:44:02 +0000
Subject: Re: again system, exec and passthru.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66055@lists.php.net to get a copy of this message
On Wed, 5 Sep 2001, Richard Lynch wrote: > > So I can read in the errorlog of apache (/var/log/httpd/error_log): > > > > sh: /isdnrep: No such file or directory > > > > Note, that in the errorlog it is "/isdnrep" and in the phpcode it is > > "/usr/bin/isdnrep". > > Almost for sure that's to be interpreted as: > > "The /isdnrep process you attempted to run is trying to access a > non-existent file or directory" rather than "/isdnrep does not exist" > > Your mission now is to figure out what isdnrep does, and what files it needs > to access and why can't it find them. Ok, you are right in this special point. isdnrep needs root-privileges to access /var/log/isdn.log. So for testing suppose I switched to: '/bin/ls' '/bin/cat /etc/hosts' "/bin/cat /etc/hosts" Here is the result from /var/log/httpd/error_log sh: /ls: No such file or directory sh: /cat: No such file or directory sh: /cat: No such file or directory I really don't know what or where to look for. *puzzled* thorsten -- Thorsten Wandersmann Phone: +49-911-8172249 Bonhoefferstr. 79 Mobile: +49-179-6670562 90473 Nuremberg e-Mail: pitu@caipy.de Germany http://www.caipy.de

« previous php.general (#66055) next »