<?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: Linux not shutting down :-( in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653652#M79796</link>
    <description>??? Sorry, I don't understand your&lt;BR /&gt;response. My system does support&lt;BR /&gt;APM and it usually does turn it self&lt;BR /&gt;off... However its not anymore.&lt;BR /&gt;I don't mind flipping the switch&lt;BR /&gt;myself but the computer never&lt;BR /&gt;gives me a message like "Its safe to Turn computer off now...".&lt;BR /&gt;&lt;BR /&gt;I don't even know if its suppose to...</description>
    <pubDate>Mon, 28 Jan 2002 12:00:16 GMT</pubDate>
    <dc:creator>JD_5</dc:creator>
    <dc:date>2002-01-28T12:00:16Z</dc:date>
    <item>
      <title>Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653650#M79794</link>
      <description>I try shutting down the computer, but the system hangs at the&lt;BR /&gt;message (from the screen):&lt;BR /&gt;______________________________&lt;BR /&gt;&amp;gt;The system will be halted Immediately.&lt;BR /&gt;&amp;gt; Master resource control:               runlevel 0 has been reached&lt;BR /&gt;&amp;gt;Skipping services in runlevel 0:      personal-firewall.initial&lt;BR /&gt;______________________________&lt;BR /&gt;&lt;BR /&gt;HELP!  The only thing I can think of is that I switched on my screen&lt;BR /&gt;saver a few sessions ago, and&lt;BR /&gt;It just started for the first time in the session when the problem&lt;BR /&gt;started. But I'm just a newbie so I really don't know whether this could be the problem or not. I'm positive I didn't touch the personal-firewall.initial file. I know from a few messages back that it says its unused. I'm scared now to even turn on Linux because I know it won't stop. ITS GONE MAD.      &amp;gt;:-)&lt;BR /&gt;&lt;BR /&gt;1) Is it safe to just flip the switch after this message? When is it&lt;BR /&gt;safe to flip the switch if  it hangs?&lt;BR /&gt;&lt;BR /&gt;2) Is there a file somewhere that lists the logout proceedures?&lt;BR /&gt;&lt;BR /&gt;3) Where  is the file that the computer runs for logging out?&lt;BR /&gt;&lt;BR /&gt;4) Is there documentation somewhere about the shutdown proceedure so I can learn a bit more on what is happening and why its happening...&lt;BR /&gt;&lt;BR /&gt;:-/</description>
      <pubDate>Sun, 27 Jan 2002 17:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653650#M79794</guid>
      <dc:creator>JD_5</dc:creator>
      <dc:date>2002-01-27T17:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653651#M79795</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;shutdown procedure&lt;BR /&gt;1) login as root user&lt;BR /&gt;2) # cd /&lt;BR /&gt;3) # sync;sync&lt;BR /&gt;4) # shutdown -h 0&lt;BR /&gt;5) If your system support APM, system will power off.&lt;BR /&gt;   If your system don't support APM, the power is keep on. You will see" system halted" message on the console. Which mean, you may power off your system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jan 2002 05:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653651#M79795</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2002-01-28T05:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653652#M79796</link>
      <description>??? Sorry, I don't understand your&lt;BR /&gt;response. My system does support&lt;BR /&gt;APM and it usually does turn it self&lt;BR /&gt;off... However its not anymore.&lt;BR /&gt;I don't mind flipping the switch&lt;BR /&gt;myself but the computer never&lt;BR /&gt;gives me a message like "Its safe to Turn computer off now...".&lt;BR /&gt;&lt;BR /&gt;I don't even know if its suppose to...</description>
      <pubDate>Mon, 28 Jan 2002 12:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653652#M79796</guid>
      <dc:creator>JD_5</dc:creator>
      <dc:date>2002-01-28T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653653#M79797</link>
      <description>Hello&lt;BR /&gt;1. It relatively save to just flip the switch if your box hangs. You just may lost some application data. It also may affect filesystem integrity but all modern filesystems are able to repair themself automatically.&lt;BR /&gt;&lt;BR /&gt;2. It depends on Linux version you have. Usually shutdown procedure runs scripts from /etc/rc.d/rc?.d catalogs.&lt;BR /&gt;3. It depends on wich runlevel your linux system is operating and what the next runlevel is. There are some runlevels:&lt;BR /&gt;   0 - shutdown and halt&lt;BR /&gt;   6 - shutdown and reboot&lt;BR /&gt; Usually system runs all stop scrips from current run level /etc/rc.d/rc&lt;RUNLEVEL&gt;.d/K*&lt;BR /&gt;and then runs all start scripts for the next runlevel /etc/rc.d/rc&lt;NEXT_RUNLEVEL&gt;.d/S*&lt;BR /&gt;4. &lt;A href="http://www.linuxdoc.org" target="_blank"&gt;www.linuxdoc.org&lt;/A&gt; &lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/linux/" target="_blank"&gt;http://www.redhat.com/docs/manuals/linux/&lt;/A&gt;&lt;BR /&gt;&lt;/NEXT_RUNLEVEL&gt;&lt;/RUNLEVEL&gt;</description>
      <pubDate>Mon, 28 Jan 2002 15:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653653#M79797</guid>
      <dc:creator>Vladislav Demidov</dc:creator>
      <dc:date>2002-01-28T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653654#M79798</link>
      <description>Most systems I have worked with do not power off after a shutdown command (shutdown or init 0).&lt;BR /&gt;&lt;BR /&gt;The machine will not give you windows' "Its safe to Turn computer off now...", but the screen should say something like "power down" or "Master resource control: runlevel 0 has been reached".&lt;BR /&gt;&lt;BR /&gt;It is then okay to turn off the machine.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 21:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653654#M79798</guid>
      <dc:creator>Mubedi Kaninda</dc:creator>
      <dc:date>2002-02-20T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653655#M79799</link>
      <description>Since it says you have reached run level 0 it's going to be messing around in the /etc/rc.d/rc0.d/ directory trying to run any files it finds that start with K.  Apparently one of them is not completing.  do&lt;BR /&gt;ls /etc/rc.d/rc0.d &lt;BR /&gt;and see what you find there. They may link to files in the /etc/rc.d/init directory.  I think it just executes the files in numerical order so see if you can find the K file that kills the firewall.  The next one after that is probably where the problem is happening. When I get something like this I go into the K file and add echo statements (each on its own line in the appropriate place in the code) such as&lt;BR /&gt;&lt;BR /&gt;echo "starting Kx"&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;echo "finished Kx"&lt;BR /&gt;&lt;BR /&gt;This causes it to print to the console as it starts the file and then when it ends.  If I see it get through one file then I try the next until I locate the evil doer.  &lt;BR /&gt;&lt;BR /&gt;You might also look in /var/log/ and see if any of the log files tell you anything.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 20 Feb 2002 22:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653655#M79799</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-02-20T22:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653656#M79800</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;I do not think so. At least my linux box (SuSE) prints "Runlevel x reached" AFTER executing those scripts starting with the Letter "K".&lt;BR /&gt;&lt;BR /&gt;Possibly those scripts are not present or - probably - you made some changes to /etc/inittab ?&lt;BR /&gt;&lt;BR /&gt;Christoph&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Mar 2002 10:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653656#M79800</guid>
      <dc:creator>Christoph Rothe_3</dc:creator>
      <dc:date>2002-03-12T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linux not shutting down :-(</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653657#M79801</link>
      <description>It is possible the screen saver changed some APM settings or is causing the APM module to be unloaded. This could cause the powerdown not occur.  &lt;BR /&gt;&lt;BR /&gt;If APM is loaded as a module check the output of 'lsmod' to see if it is loaded.  You may want to put a call to this in your level 0 K* scripts.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Mar 2002 17:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-not-shutting-down/m-p/2653657#M79801</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-03-28T17:48:59Z</dc:date>
    </item>
  </channel>
</rss>

