Skip to main content

Restart a Unix Server

This article applies to: Managed Servers


Every time a Unix (Linux or Solaris) server is started (rebooted or restarted), the area manager, technical contacts, and watchers for that server are notified by email. See sample notification message listed below.

Need Help Before Restart

  • If your server needs to be restarted, and you would like assistance diagnosing the problem before you reboot it:
    • Non-Urgent: Send e-mail to systems-support@cornell.edu.
    • Urgent: Send e-mail to systems-support@cornell.edu. Use "Urgent:" as the first word of the Subject line. (Email is monitored during normal business hours only.)
    • Very Urgent and Urgent outside normal business hours: Follow procedure for Urgent, and then call the IT Service Desk at (607) 255-5500 and ask to speak to the Unix sysadmin on call. The sysadmin will call you back as soon as possible.

Restart without Help

If your server needs to be rebooted and you don't need help diagnosing the problem, restart your server.

  1. Log into the server via Secure Shell (SSH).
    • If you have problems logging into your server with Secure Shell (SSH), see the section above on obtaining assistance.
  2. Run the command:
    sudo /opt/common/sbin/reboot-host
    • When you use the above command to restart the server, monitoring is suspended for 30 minutes. This means a monitoring alert will not occur for this restart.
    • You will be prompted to specify a reason for this reboot. This reason will be included in the email sent to the contacts following the reboot.
    • If you have problems restarting your server with this command, see the section above on obtaining assistance.
  3. A notification email will be sent to the area manager, technical contacts and watchers for the server. To verify the contacts for a server, see the Verify Contacts procedure.

Sample Reboot Message

From: systems-support@cornell.edu
Subject: Reboot notification for YOUR_SERVER_NAME

The server YOUR_SERVER_NAME was rebooted on 04/17/2012 at 10:41:59 and came back on-line 04/17/2012 at 10:44:23.

The reboot was initiated by user USER (NETID), who gave the following reason for the server restart:

--

REASON_PROVIDED_TO_REBOOT-HOST-UTILITY

--

This notification is being sent to all SFInfo contacts for this server. To view the list of services and contacts attached to YOUR_SERVER_NAME, please visit the following URL:

https://sfinfo.cit.cornell.edu/sfinfo_app/htdocs/vserver.php?vs_id=SERVER_ID

Was this page helpful?

Your feedback helps improve the site.

Comments?