<?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: /sbin/powerfail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673620#M797889</link>
    <description>powerwait action is saying as,&lt;BR /&gt;&lt;BR /&gt;Execute the process associated with&lt;BR /&gt;this entry only when boot init&lt;BR /&gt;receives a power-fail signal (SIGPWR)&lt;BR /&gt;and wait until it terminates before&lt;BR /&gt;continuing any processing of inittab.&lt;BR /&gt;&lt;BR /&gt;After configuration with /etc/inittab, kill init process with PWR (signal 19) as,&lt;BR /&gt;&lt;BR /&gt;# kill -19 1&lt;BR /&gt;&lt;BR /&gt;It will create that file.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Thu, 17 Nov 2005 02:44:20 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-11-17T02:44:20Z</dc:date>
    <item>
      <title>/sbin/powerfail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673619#M797888</link>
      <description>Hi!&lt;BR /&gt;I have a test machine D370&lt;BR /&gt;# uname -srm&lt;BR /&gt;HP-UX B.11.11 9000/861&lt;BR /&gt;&lt;BR /&gt;In the /etc/inittab there is a string:&lt;BR /&gt;&lt;BR /&gt;# grep powerwait /etc/inittab&lt;BR /&gt;powf::powerwait:/sbin/powerfail &amp;gt;/dev/console 2&amp;gt;&amp;amp;1            # powerfail&lt;BR /&gt;&lt;BR /&gt;At the begining of the /sbin/powerfail I include the string like this:&lt;BR /&gt;&lt;BR /&gt;/bin/echo "In the /sbin/powerfail" &amp;gt;/powerfail.log&lt;BR /&gt;&lt;BR /&gt;Then:&lt;BR /&gt;# init q&lt;BR /&gt;&lt;BR /&gt;And switch off the power buttom at the front side of the server&lt;BR /&gt;&lt;BR /&gt;As I think after rebooting the file /powerfail.log should be preset. However it is does not.&lt;BR /&gt;&lt;BR /&gt;The same situation appears on machine rx2620/HP-UX 11.23&lt;BR /&gt;&lt;BR /&gt;The question is: WHY???</description>
      <pubDate>Thu, 17 Nov 2005 02:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673619#M797888</guid>
      <dc:creator>ViS_2</dc:creator>
      <dc:date>2005-11-17T02:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/powerfail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673620#M797889</link>
      <description>powerwait action is saying as,&lt;BR /&gt;&lt;BR /&gt;Execute the process associated with&lt;BR /&gt;this entry only when boot init&lt;BR /&gt;receives a power-fail signal (SIGPWR)&lt;BR /&gt;and wait until it terminates before&lt;BR /&gt;continuing any processing of inittab.&lt;BR /&gt;&lt;BR /&gt;After configuration with /etc/inittab, kill init process with PWR (signal 19) as,&lt;BR /&gt;&lt;BR /&gt;# kill -19 1&lt;BR /&gt;&lt;BR /&gt;It will create that file.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 17 Nov 2005 02:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673620#M797889</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-11-17T02:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/powerfail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673621#M797890</link>
      <description>&lt;A href="http://docs.hp.com/en/935/boot.html" target="_blank"&gt;http://docs.hp.com/en/935/boot.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;states &lt;BR /&gt;&lt;BR /&gt;"The HP-UX kernel must be correctly configured to support the powerfail operation. You can change the value of the powerfail variable (the default is zero) by using the reconfiguring the kernel section of sam(1M)."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also check the /etc/powerfail.cfg file.&lt;BR /&gt;&lt;BR /&gt;You should put your commands into /etc/local/powerfail file instead.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Nov 2005 02:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673621#M797890</guid>
      <dc:creator>Orhan Biyiklioglu</dc:creator>
      <dc:date>2005-11-17T02:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/powerfail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673622#M797891</link>
      <description>#grep -i power /usr/sam/lib/kc/*.tx&lt;BR /&gt;/usr/sam/lib/kc/drivers.tx:pfail::Unallowed:0:Power Fail CDIO&lt;BR /&gt;/usr/sam/lib/kc/params.tx:hdlpreg_hash_locks:::Pregion::Number (Given As Power of Two) of Spinlocks Allocated to Pregion Hash Table Objects:KCparam.Undocumented.sdl&lt;BR /&gt;/usr/sam/lib/kc/params.tx:pfail_enabled:::Miscellaneous::Power Fail Enabled:KCparam.PfailEnabled.sdl&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# echo "pfail 1" &amp;gt;&amp;gt;/stand/system&lt;BR /&gt;# echo "pfail_enabled 1" &amp;gt;&amp;gt;/stand/system&lt;BR /&gt;# config&lt;BR /&gt;WARNING: No such device, tunable, or cdio pfail.&lt;BR /&gt;        Ignoring the following line.&lt;BR /&gt;        pfail                   1&lt;BR /&gt;WARNING: No such device, tunable, or cdio pfail_enabled.&lt;BR /&gt;        Ignoring the following line.&lt;BR /&gt;        pfail_enabled&lt;BR /&gt;&amp;lt;..skiped..&amp;gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;So is there any method to shutdown unix properly by pressing the power button on the server's front side, like it happens to proliant servers and windows?</description>
      <pubDate>Thu, 17 Nov 2005 04:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-powerfail/m-p/3673622#M797891</guid>
      <dc:creator>ViS_2</dc:creator>
      <dc:date>2005-11-17T04:55:12Z</dc:date>
    </item>
  </channel>
</rss>

