<?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: shutdown command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604111#M34849</link>
    <description>Shouldn't &lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d/K88kminit stop&lt;BR /&gt;&lt;BR /&gt;be&lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d/K888kminit stop&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;&lt;BR /&gt;could be executing out of order, or was it a typo ?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Wed, 31 Oct 2001 16:01:52 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-10-31T16:01:52Z</dc:date>
    <item>
      <title>shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604097#M34835</link>
      <description>Recently added the sept 01 patch set to a hpux 11 system.  Since that time, when I issue the command:  shutdown -r -y 0  the system goes to single user mode but does not reboot.&lt;BR /&gt;Before today the /etc/shutdown.allow file was blank.  I added  + root   this morning but have not tried to shutdown and restart.&lt;BR /&gt;Any other ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 30 Oct 2001 16:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604097#M34835</guid>
      <dc:creator>Louis McCurry</dc:creator>
      <dc:date>2001-10-30T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604098#M34836</link>
      <description>my shutdown.allow has always been blank. &lt;BR /&gt;what happends when you do &lt;BR /&gt;shutdown -ry 0 &lt;BR /&gt;i know its the same thing but do you get the same result?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 30 Oct 2001 16:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604098#M34836</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-30T16:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604099#M34837</link>
      <description>&lt;BR /&gt;A zerobyte (blank) /etc/shutdown.allow file  or a missing shutdown.allow file should be&lt;BR /&gt;good enough to allow root&lt;BR /&gt;to shutdown the box.  There&lt;BR /&gt;is no need to add any entry&lt;BR /&gt;in it, as long you want only&lt;BR /&gt;root to bring the box down.&lt;BR /&gt;&lt;BR /&gt;  Regarding the system coming&lt;BR /&gt;to single user state,   what does the console logs show?&lt;BR /&gt;You can try running the same&lt;BR /&gt;command again from the single&lt;BR /&gt;user state.&lt;BR /&gt;&lt;BR /&gt;  Also, make sure the patches&lt;BR /&gt;were installed correctly!&lt;BR /&gt;Swlist -a and see whether&lt;BR /&gt;they are configured.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Tue, 30 Oct 2001 16:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604099#M34837</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-30T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604100#M34838</link>
      <description>Hi Louis,&lt;BR /&gt;&lt;BR /&gt;Do you get any clues from /etc/shutdownlog, /etc/rc.log, or /etc/rc.log.old?&lt;BR /&gt;&lt;BR /&gt;Does you system shutdown to single-user mode or does it try to reboot and comes up to single-user mode?  Again, check the console.&lt;BR /&gt;&lt;BR /&gt;Obviously and as Raj says, verify your patches are installed correctly.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 30 Oct 2001 16:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604100#M34838</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-10-30T16:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604101#M34839</link>
      <description>Also, try /sbin/shutdown &lt;BR /&gt;Check to see if /etc/shutdown and /usr/sbin/shutdown are links and that no one has replaced them with shutdown scripts..&lt;BR /&gt;&lt;BR /&gt;Just to cover all bases.</description>
      <pubDate>Tue, 30 Oct 2001 16:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604101#M34839</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-10-30T16:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604102#M34840</link>
      <description>Are you in init level 3 ?&lt;BR /&gt;If you are, run ..&lt;BR /&gt;   # init 2&lt;BR /&gt;   # exit&lt;BR /&gt;Then login to the system again and shutdown.</description>
      <pubDate>Tue, 30 Oct 2001 16:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604102#M34840</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-10-30T16:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604103#M34841</link>
      <description>Verified the pathes are installed correctly.&lt;BR /&gt;&lt;BR /&gt;The system console had a text login banner (as opposed to the CDE).&lt;BR /&gt;&lt;BR /&gt;I logged in and the system had 2 or 3 file systems mounted, /, /stand and /tmp (I think).&lt;BR /&gt;&lt;BR /&gt;I issued the same shutdown command and a message similar to the following came up.&lt;BR /&gt;"disabling DHCP access...invalid, not configured" (This is not the exact message, but close.  We do not use DHCP on this server)&lt;BR /&gt;&lt;BR /&gt;It sat at this point for 7+ minutes, I eventually hit the power switch.&lt;BR /&gt;&lt;BR /&gt;On power up the same DHCP message came up and stayed for 6 minutes, then the following messages came out:&lt;BR /&gt;"Synchronization of volume group vg0 complete"&lt;BR /&gt;"Synchronization of volume group vg1 complete"&lt;BR /&gt;The system booted normally.&lt;BR /&gt;The last lines in the rc.log.old file are:&lt;BR /&gt;Unload loadable modules&lt;BR /&gt;Output from "/sbin/rc0.d/K88kminit stop":&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;&lt;BR /&gt;The rc.log shows a normal system start.&lt;BR /&gt;&lt;BR /&gt;There are links in /etc and /usr/sbin to /sbin/shutdown that is dated Apr 12 2000 and is 266240 bytes in size.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 30 Oct 2001 17:04:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604103#M34841</guid>
      <dc:creator>Louis McCurry</dc:creator>
      <dc:date>2001-10-30T17:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604104#M34842</link>
      <description>Is it possible that someone has written a wrapper for the shutdown command in your environment?  If that wrapper is not passing your command flags to /usr/sbin/shutdown that would explain the behavior.&lt;BR /&gt;&lt;BR /&gt;Use "trype shutdown" to show where the shell is resolving your command.  If it is anything other than /usr/sbin/shutdown then try using the full path to the command (and investigate the wrapper, of course).</description>
      <pubDate>Tue, 30 Oct 2001 17:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604104#M34842</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2001-10-30T17:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604105#M34843</link>
      <description>What if you use the 'reboot' command&lt;BR /&gt;instead?&lt;BR /&gt;&lt;BR /&gt;Bo</description>
      <pubDate>Tue, 30 Oct 2001 20:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604105#M34843</guid>
      <dc:creator>Bo Thide'</dc:creator>
      <dc:date>2001-10-30T20:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604106#M34844</link>
      <description>No wrappers as type indicates the correct command is executing.&lt;BR /&gt;&lt;BR /&gt;Is reboot functionally the same as shutdown -r -y 0 ?&lt;BR /&gt;&lt;BR /&gt;Reading the man pages there seem to be no arguments and it immediately restartrs the system, which is fine for my needs.</description>
      <pubDate>Tue, 30 Oct 2001 20:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604106#M34844</guid>
      <dc:creator>Louis McCurry</dc:creator>
      <dc:date>2001-10-30T20:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604107#M34845</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check /etc/rc.config.d/netconf file and look for dhcp, if anywhere you find DHCP_ENABLE=1 then make it to 0 &lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2001 20:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604107#M34845</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-10-30T20:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604108#M34846</link>
      <description>Hi Louis:&lt;BR /&gt;&lt;BR /&gt;In answer to your question about 'reboot' vs. 'shutdown', 'shutdown' is an orderly transition which invokes the kill scripts at the various run-levels of '/sbin/rc?.d/'.  As a last step in the process when a halt or reboot is requested (e.g. 'shutdown -ry 0'), then 'reboot' is called.  Thus, invoking 'reboot' directly would bypass the shutdown scripts.&lt;BR /&gt;&lt;BR /&gt;You indicate that your /etc/rc.log appears not to show any failues.  The behavior you describe is consistent with something taking a very long time to terminate, or perhaps timeout.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Oct 2001 20:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604108#M34846</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-30T20:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604109#M34847</link>
      <description>Do you have Oracle or some other large application on this server? It can take a while for Oracle to shutdown the database if there are a lot of users in it at the time.  &lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2001 22:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604109#M34847</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-10-30T22:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604110#M34848</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try to use reboot -h 0.&lt;BR /&gt;I think there's a link between your shutdown command and a shutdown script.&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2001 15:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604110#M34848</guid>
      <dc:creator>Jej'</dc:creator>
      <dc:date>2001-10-31T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604111#M34849</link>
      <description>Shouldn't &lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d/K88kminit stop&lt;BR /&gt;&lt;BR /&gt;be&lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d/K888kminit stop&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;&lt;BR /&gt;could be executing out of order, or was it a typo ?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 31 Oct 2001 16:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown-command/m-p/2604111#M34849</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-31T16:01:52Z</dc:date>
    </item>
  </channel>
</rss>

