I found the reason of this issue : SELinux
by defaut, SELinux is enabled on CentOS5.5 => httpd runs with
"restricted rights"
If I temporary disabled SELinux + restart httpd => "ps -A" from my
script runs as expected
$ setenforce 0
$ /etc/init.d/httpd restart
Le 30/01/2013 19:14,
On 01/30/2013 10:14 AM, patrick ficheux wrote:
Hi,
I want to get the list of running processes. also, I call exec() with
"ps -A"
What user is your httpd process running as?
run this from your cli:
ps aux | grep httpd
and show us the output
--
Jim Lucas
http://www.cmsws.com/
http://www.cm
2 matches
Mail list logo