try 'cat /proc/uptime'  logged in as the
webserver user and see what you get ....

(or try it thru a PHP script)


> -----Original Message-----
> From: infoz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 9:56 AM
> To: Peter Phillips; [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP Uptime error
> 
> 
> It sounds like it might be the permissions on /proc itself.
> 
> What does 'ls -ld /proc' say?
> 
> - Tim
>   http://www.phptemplates.org
> 
> ----- Original Message -----
> From: "Peter Phillips" <[EMAIL PROTECTED]>
> Subject: Re: [PHP] PHP Uptime error
> 
> 
> > Thanks for your help, this is what I get when I try a uptime while logged
> in
> > as nobody.
> >
> > These are the permissions is /proc:
> > -r--r--r--   1 root     root            0 Jun 26 02:39 loadavg
> > -r--r--r--   1 root     root            0 Jun 26 02:33 uptime
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to