How do I reboot or shut down my Linux server?

To reboot or shut down from the shell (command line):

  • log out all Eclipse Eterm or Solar users
  • Log in as root using the terminal client of your choice (Eterm, PuTTY, etc.)
  • Run the following command to reboot your system:
reboot
  • Run the following command to shut down your system:
halt

To reboot or shut down your server via the GUI (console or DRAC only):

View a step-by-step screencast of this process:

To schedule a reboot to happen at say 4AM, you could type:

at 0400
reboot

Press [CTRL-D] to submit the job

Extended Reboot/shutdown Procedure

If you encountered the “Not all UniVerse processes were successfully terminated” message during a shutdown or reboot, please follow this procedure as root to perform an extended, clean reboot/shutdown of UniVerse:

  • log out all Eclipse Eterm or Solar users
  • Stop SYSTEM.ADMIN, phantoms, JBoss:

RHEL 5 and RHEL 6:

service monit stop
service eclipse-jboss stop
service eclipse-system-admin stop

RHEL 7:

systemctl stop eclipse-jboss 
systemctl stop eclipse-system-admin
For secondary accounts (play, train, stage, etc.), substitute “eclipse” for the account name. For example, a “train” account services would be referred to asĀ train-jboss and train-system-admin.
  • Stop UV processes:
cd /u2/uv
bin/uv
#ESC
MASTER OFF ALL
Q
  • Stop remaining phantoms, UV processes:
pkill -4 -f phantom
  • Stop UV:

RHEL 5 and RHEL 6:

service uv.rc stop

RHEL 7:

systemctl stop universe
  • If UV complains that there are open processes, find any “uv” or “phantom” processes and kill them:
ipcs -mp|grep 0xaceb
kill -15 cpid
uv -admin -stop -force
  • Run the following command to reboot your system:
reboot
  • Run the following command to shut down your system:
halt