Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Get last Shutdown date

Hello everyone,

how / where do I find information about the last shutdown on the Sophos?

Background info: our Sophos is connected to an UPS. If the ups is running on battery a script makes an SSH login and it should shut down the sophos (using shutdown command).
But I am not sure if that works so I want to check the last shutdown date or some logfiles which give me information about it.

Best regards
Christian


This thread was automatically locked due to age.
Parents
  • Sorry I didn't response earlier.
    We are using the UTM220 rev. 5 hardware. I only reboot for installing sophos updates.
    And, of course, when there was a power outage.

    Some minutes ago I tested again my shutdown script. Still got some problems with starting the command, but the command triggered itself is working.

    2015:07:24-07:06:23 Firewall init: Switching to runlevel: 0
    2015:07:24-07:06:39 Firewall ulogd[23429]: SIGTERM received
    2015:07:24-07:06:42 Firewall postgres[3824]: [3-1] LOG:  received fast shutdown requestJul 24 07:06:42 postgres[3824]: [4-1] LOG:  aborting any active transactions
    2015:07:24-07:06:42 Firewall postgres[32656]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32594]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32645]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32595]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:20-15:09:56 Firewall postgres[3829]: [3-1] WARNING:  pgstat wait timeoutJul 24 07:06:42 postgres[3829]: [4-1] LOG:  autovacuum launcher shutting down
    2015:07:24-07:06:42 Firewall postgres[5167]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[3826]: [2-1] LOG:  shutting downJul 24 07:06:43 postgres[3826]: [3-1] LOG:  database system is shut down
    2015:07:24-07:06:47 Firewall syslog-ng[4783]: syslog-ng shutting down; version='3.4.7'
    2015:07:24-07:10:53 Firewall syslog-ng[4773]: syslog-ng starting up; version='3.4.7'


    Edit says: Logfile shown is from system.log
Reply
  • Sorry I didn't response earlier.
    We are using the UTM220 rev. 5 hardware. I only reboot for installing sophos updates.
    And, of course, when there was a power outage.

    Some minutes ago I tested again my shutdown script. Still got some problems with starting the command, but the command triggered itself is working.

    2015:07:24-07:06:23 Firewall init: Switching to runlevel: 0
    2015:07:24-07:06:39 Firewall ulogd[23429]: SIGTERM received
    2015:07:24-07:06:42 Firewall postgres[3824]: [3-1] LOG:  received fast shutdown requestJul 24 07:06:42 postgres[3824]: [4-1] LOG:  aborting any active transactions
    2015:07:24-07:06:42 Firewall postgres[32656]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32594]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32645]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[32595]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:20-15:09:56 Firewall postgres[3829]: [3-1] WARNING:  pgstat wait timeoutJul 24 07:06:42 postgres[3829]: [4-1] LOG:  autovacuum launcher shutting down
    2015:07:24-07:06:42 Firewall postgres[5167]: [3-1] FATAL:  terminating connection due to administrator command
    2015:07:24-07:06:42 Firewall postgres[3826]: [2-1] LOG:  shutting downJul 24 07:06:43 postgres[3826]: [3-1] LOG:  database system is shut down
    2015:07:24-07:06:47 Firewall syslog-ng[4783]: syslog-ng shutting down; version='3.4.7'
    2015:07:24-07:10:53 Firewall syslog-ng[4773]: syslog-ng starting up; version='3.4.7'


    Edit says: Logfile shown is from system.log
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?