-   Linux - Software (
-   -   Server uptime discrepancy (

peppiv 05-17-2004 10:13 AM

Server uptime discrepancy
I have a major concern. We have two Linux RH 7.3 (soon to be updated to 9.0) web servers. I recently enabled mod_status on Apache to give me a quick detail of what the servers are working on. On one of the servers, the server uptime on mod_status and top coincide perfectly. On the other server, top shows an uptime of 89 days (which should be correct), but mod_status shows this:

Current Time: Monday, 17-May-2004 10:04:54 EDT
Restart Time: Sunday, 16-May-2004 04:03:06 EDT
Parent Server Generation: 15
Server uptime: 1 day 6 hours 1 minute 48 seconds
1 requests currently being processed, 18 idle servers

Why would it show an uptime of only 1 day? Server signature is turned off on this particular server. Could that have an affect on this reading? Is it possible this is a compromised box?

Thanks for any light anyone can shed.


shelby 05-17-2004 11:32 AM

I can't remember what version of kernel this affected but older versions of the kernel rolled the days over (started back at zero) on thier uptime.

peppiv 05-17-2004 12:41 PM

Thanks for some light.

Still seems odd to me because both boxes are identical in kernel, apache, and other critical software versions.

All times are GMT -5. The time now is 12:10 AM.