<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: reboot server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361158#M194075</link>
    <description>If you have used reboot, shutdown command, it will be logged in /etc/shutdownlog.&lt;BR /&gt;&lt;BR /&gt;You should be using shutdown instead of reboot. Reboot is a quick, but not a gracefull shutdown of machine.&lt;BR /&gt;&lt;BR /&gt;If you abruptly switch off power, or pull out the power cable, it will not be logged in /etc/shutdownlog.&lt;BR /&gt;&lt;BR /&gt;The following document exlpains why shutdown is better then reboot.&lt;BR /&gt;&lt;BR /&gt;Why shutdown but not reboot.&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;This document from HP explains more about shutdown vs reboot:&lt;BR /&gt;When bringing an HP-UX system down, Hewlett Packard recommends using&lt;BR /&gt;the shutdown(1M) command instead of the reboot command.&lt;BR /&gt;&lt;BR /&gt;The shutdown(1M) command does additional preprocessing to prepare&lt;BR /&gt;the system for the reboot(1M) command.  Primarily, shutdown(1M)&lt;BR /&gt;executes /sbin/rc to shutdown subsystems, unmount filesystems, and&lt;BR /&gt;other tasks to bring the system to run level 0.  This process&lt;BR /&gt;ensures that the system is as quiet as possible before running the&lt;BR /&gt;reboot(1M) command.&lt;BR /&gt;&lt;BR /&gt;The reboot(1M) command will then kill all remaining non-system&lt;BR /&gt;processes, sync the buffer cache, and then calls the reboot(2)&lt;BR /&gt;system call.&lt;BR /&gt;&lt;BR /&gt;Note that issuing a reboot instead of a shutdown does not attempt&lt;BR /&gt;to stop any of the subsystems or unmount the file systems.  While&lt;BR /&gt;reboot does attempt to kill non-system processes, other system&lt;BR /&gt;deamons may be active on the system.  For example, the vxfsd&lt;BR /&gt;daemon may be attempting to flush the inode cache.&lt;BR /&gt;&lt;BR /&gt;Any remaining activity on the system - when the reboot(2) system&lt;BR /&gt;call is made - can cause the system to hang during the reboot if&lt;BR /&gt;the activity locks any resource that the reboot(2) system call&lt;BR /&gt;needs to complete its processing, especially when reboot is trying&lt;BR /&gt;to flush the buffer cache.&lt;BR /&gt;&lt;BR /&gt;Therefore, shutdown(1M) should be used instead of reboot(1M) to&lt;BR /&gt;provide a more comprehensive shutdown and limit the possibility of&lt;BR /&gt;system hangs during a reboot.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Thu, 19 Aug 2004 09:33:10 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-08-19T09:33:10Z</dc:date>
    <item>
      <title>reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361156#M194073</link>
      <description>as I can know if my server were reboot from the button of power and not with shell + command shutdow -r n y 0 &lt;BR /&gt;&lt;BR /&gt;or reboot&lt;BR /&gt;&lt;BR /&gt;1.- tail /var/adm/shutdownlog&lt;BR /&gt;&lt;BR /&gt;other options??&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 19 Aug 2004 09:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361156#M194073</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2004-08-19T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361157#M194074</link>
      <description>If root executed shutdown, it would have been recorded to the /etc/shutdownlog.&lt;BR /&gt;&lt;BR /&gt;If the system panic'd you would see an entry in the shutdownlog, stating panic, and crash files in /var/adm/crash/.&lt;BR /&gt;&lt;BR /&gt;If the system rebooted by itself, you may have a hardware or firmware problem.  Contact Hardware Support for further assistance.</description>
      <pubDate>Thu, 19 Aug 2004 09:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361157#M194074</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-08-19T09:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361158#M194075</link>
      <description>If you have used reboot, shutdown command, it will be logged in /etc/shutdownlog.&lt;BR /&gt;&lt;BR /&gt;You should be using shutdown instead of reboot. Reboot is a quick, but not a gracefull shutdown of machine.&lt;BR /&gt;&lt;BR /&gt;If you abruptly switch off power, or pull out the power cable, it will not be logged in /etc/shutdownlog.&lt;BR /&gt;&lt;BR /&gt;The following document exlpains why shutdown is better then reboot.&lt;BR /&gt;&lt;BR /&gt;Why shutdown but not reboot.&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;This document from HP explains more about shutdown vs reboot:&lt;BR /&gt;When bringing an HP-UX system down, Hewlett Packard recommends using&lt;BR /&gt;the shutdown(1M) command instead of the reboot command.&lt;BR /&gt;&lt;BR /&gt;The shutdown(1M) command does additional preprocessing to prepare&lt;BR /&gt;the system for the reboot(1M) command.  Primarily, shutdown(1M)&lt;BR /&gt;executes /sbin/rc to shutdown subsystems, unmount filesystems, and&lt;BR /&gt;other tasks to bring the system to run level 0.  This process&lt;BR /&gt;ensures that the system is as quiet as possible before running the&lt;BR /&gt;reboot(1M) command.&lt;BR /&gt;&lt;BR /&gt;The reboot(1M) command will then kill all remaining non-system&lt;BR /&gt;processes, sync the buffer cache, and then calls the reboot(2)&lt;BR /&gt;system call.&lt;BR /&gt;&lt;BR /&gt;Note that issuing a reboot instead of a shutdown does not attempt&lt;BR /&gt;to stop any of the subsystems or unmount the file systems.  While&lt;BR /&gt;reboot does attempt to kill non-system processes, other system&lt;BR /&gt;deamons may be active on the system.  For example, the vxfsd&lt;BR /&gt;daemon may be attempting to flush the inode cache.&lt;BR /&gt;&lt;BR /&gt;Any remaining activity on the system - when the reboot(2) system&lt;BR /&gt;call is made - can cause the system to hang during the reboot if&lt;BR /&gt;the activity locks any resource that the reboot(2) system call&lt;BR /&gt;needs to complete its processing, especially when reboot is trying&lt;BR /&gt;to flush the buffer cache.&lt;BR /&gt;&lt;BR /&gt;Therefore, shutdown(1M) should be used instead of reboot(1M) to&lt;BR /&gt;provide a more comprehensive shutdown and limit the possibility of&lt;BR /&gt;system hangs during a reboot.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 19 Aug 2004 09:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361158#M194075</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-08-19T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361159#M194076</link>
      <description>Depending on the server, pressing the power button will do a graceful shutdown. D class and J class servers do this. &lt;BR /&gt;&lt;BR /&gt;This does not apply of you pull the power source (unplug).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2004 09:59:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361159#M194076</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-19T09:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361160#M194077</link>
      <description>I think you are asking whether you can tell if your box was gracefully shutdown or just powered off.  Presuming that this is what you want:&lt;BR /&gt;&lt;BR /&gt;tail /etc/shutdownlog.  &lt;BR /&gt;who -b &lt;BR /&gt;&lt;BR /&gt;Are the times close?  If they are not, then likely you lost power to your box (whether someone hit the switch, UPS failed, not on a UPS and you had a power outage, etc).  &lt;BR /&gt;&lt;BR /&gt;Anytime reboot is run (whether as part of shutdown or just reboot itself) it will log in /etc/shutdownlog.  So no entry, no panic message, but the box booted, then it lost power.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Aug 2004 00:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361160#M194077</guid>
      <dc:creator>e. james</dc:creator>
      <dc:date>2004-08-22T00:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: reboot server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361161#M194078</link>
      <description>If server restart with shutdown -r -y 0, you will find 2 files with correct informations :&lt;BR /&gt;&lt;BR /&gt;1) /var/adm/syslog/OLDsyslog.log will contain, for examples : &lt;BR /&gt;- "HP CIFS Server: Samba successfully shut down" &lt;BR /&gt;- "/usr/sbin/envd[1013]: Interruption par signal 15"&lt;BR /&gt;- "inetd[751]: Going down on signal 15"&lt;BR /&gt;- and finally "syslogd: going down on signal 15"&lt;BR /&gt;&lt;BR /&gt;2) /etc/rc.log.old will also contain a lot of "stop XXX service, Output from XXX stop : ..."&lt;BR /&gt;In my server :&lt;BR /&gt;Stop environment monitoring daemon&lt;BR /&gt;Output from "/sbin/rc1.d/K250envd stop":&lt;BR /&gt;----------------------------&lt;BR /&gt;envd stopped&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BUT, for a reboot from the power button, OLDsyslog.log and rc.log.old will not contains any log from the shutdown, only from previous starting phase.&lt;BR /&gt;&lt;BR /&gt;Olivier.&lt;BR /&gt;&lt;BR /&gt;PS : Please don't forget to ASSIGN POINTS : it is very important for us to know if response helps you (or not !!) and you will have more chance to receive responses !</description>
      <pubDate>Tue, 24 Aug 2004 03:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-server/m-p/3361161#M194078</guid>
      <dc:creator>Olivier Decorse</dc:creator>
      <dc:date>2004-08-24T03:10:57Z</dc:date>
    </item>
  </channel>
</rss>

