Re: php exec()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Chris,
 my linux system is LFS that i build from scratch.
 i cant su to daemon.

 below is my /etc/passwd:
root [ /srv/www/test ]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false
daemon:x:6:6:daemon:/dev/null:/bin/false

i try to run the same thing in other platform:
it come out a more meaningful msg. i will trace from there.
any hint from you?

[root@Linux test]#tail /opt/logs/error_log

[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20] sh: , referer:
http://169.254.0.101/test/
[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20]
/opt/ipkg-0.99.163/bin/ipkg-cl: Permission denied, referer:
http://169.254.0.101/test/
[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20] , referer:
http://169.254.0.101/test/

regards,-keo

On Mon, Nov 3, 2008 at 1:45 PM, Chris <dmagick@xxxxxxxxx> wrote:

> cheesiong wrote:
>
>> hi Chris,
>>  thank you. i change the path and change the httpd.conf LogLevel to debug
>> then restart apache.
>>  but nothing is change from the output or the error log.
>>  basically it is still not working.
>>
>> this is weird, isn't it. the apache is run with Daemon, but i already
>> change the chmod to 777. should not be a problem.
>>
>
> Log in as root then su to your apache user and run it from the command
> line. What happens?
>
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux