Koozali.org: home of the SME Server

Hoow to tell if a sme server has rebooted

Alejandro Lengua

Hoow to tell if a sme server has rebooted
« on: July 15, 2003, 02:06:32 AM »
Is there a way to determine if a SME server has been rebooted, for instance during the weekend?

Is there any log I can check?
A customer is asking me why they haven't received any email during the weekend, one question could be and ISP failure (I am asking about that already) and the other is a power failure that may have forced a server reboot.

The server is working fine right now (as always).
I am using SME 5.6

Andrew Rosenau

Re: Hoow to tell if a sme server has rebooted
« Reply #1 on: July 15, 2003, 02:22:44 AM »
the easiet way that i know of is just ssh into the server with the "admin" user name and password and it should bring up the console, and then choose server uptime, and it will tell you how long the server has been up for.

Cyrus Bharda

Re: Hoow to tell if a sme server has rebooted
« Reply #2 on: July 15, 2003, 02:43:21 AM »
Or check your boot log file, it will have dates and times in it, just check the last date/time that it booted.

Cyrus Bharda

Boris

Re: Hoow to tell if a sme server has rebooted
« Reply #3 on: July 15, 2003, 03:41:09 AM »
"w" or "uptime" commands will show it as well.

Ray Mitchell

Re: Hoow to tell if a sme server has rebooted
« Reply #4 on: July 15, 2003, 07:47:02 AM »
/var/log/messages will have details of server restarts

Ray

Johan

Re: Hoow to tell if a sme server has rebooted
« Reply #5 on: July 15, 2003, 11:10:28 PM »
HEllo Alejandro,

Install the php tool Sysinfo in a e-bay are on you primary website. and you can check the uptime whith your browser.

See for this program on contrib.org

good lock

Johan