<?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: httpd package keeps halting on simple cluster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275432#M685385</link>
    <description>Solved this problem by installing and using the HP Serviceguard "Enterprise Cluster Master Toolkit", this has readymade scripts for running apache in a cluster, and a README that takes you through all the steps to do this.&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Sep 2008 12:42:38 GMT</pubDate>
    <dc:creator>Iain Soedring</dc:creator>
    <dc:date>2008-09-25T12:42:38Z</dc:date>
    <item>
      <title>httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275427#M685376</link>
      <description>This is on HP11i v2, Serviceguard 11.17.&lt;BR /&gt;I've got a cluster up and running, but when I try to start the package which should start apache (httpd), it fails immediately.&lt;BR /&gt;&lt;BR /&gt;The package log contains the following:&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc079": Starting package at Wed Sep 24 17:12:38 BST&lt;BR /&gt; 2008 ###########&lt;BR /&gt;Sep 24 17:12:38 - Node "hiptc079": Adding IP address 9.20.51.245 to subnet 9.20.&lt;BR /&gt;50.0&lt;BR /&gt;Sep 24 17:12:39 - Node "hiptc079": Starting service httpd using&lt;BR /&gt;   "/opt/hpws/apache/bin/httpd -k start"&lt;BR /&gt;/usr/lib/hpux64/dld.so: End of liblist, invalid RTLD_NEXT argument.&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc079": Package start completed at Wed Sep 24 17:12&lt;BR /&gt;:39 BST 2008 ###########&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc079": Halting package at Wed Sep 24 17:12:39 BST&lt;BR /&gt;2008 ###########&lt;BR /&gt;Sep 24 17:12:39 - Node "hiptc079": Halting service httpd&lt;BR /&gt;cmhaltserv: Service name httpd is not running.&lt;BR /&gt;Sep 24 17:12:39 - Node "hiptc079": Remove IP address 9.20.51.245 from subnet 9.2&lt;BR /&gt;0.50.0&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc079": Package halt completed at Wed Sep 24 17:12:&lt;BR /&gt;39 BST 2008 ###########&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously it looks like there's an error there when starting httpd, but this is a red-herring, httpd still starts ok.  In fact, the httpd process are still running on the server after this failure:&lt;BR /&gt;hiptc079: 23 : ps -ef | grep http&lt;BR /&gt;     www 26655 26639  0 17:12:39 ?         0:00 /opt/hpws/apache/bin/httpd -k start&lt;BR /&gt;     www 26652 26639  0 17:12:39 ?         0:00 /opt/hpws/apache/bin/httpd -k start&lt;BR /&gt;    root 26639     1  0 17:12:39 ?         0:00 /opt/hpws/apache/bin/httpd -k start&lt;BR /&gt;     www 26644 26639  0 17:12:39 ?         0:00 /opt/hpws/apache/bin/httpd -k start&lt;BR /&gt;/etc/cmcluster/apach&lt;BR /&gt;&lt;BR /&gt;What's strange is all these processes have the '-k start' in them, if I start httpd from the command line, then they don't.&lt;BR /&gt;&lt;BR /&gt;The syslog.log contains:&lt;BR /&gt;&lt;BR /&gt;Sep 24 17:12:38 hiptc079 cmcld[10988]: Request from node hiptc068 to start packa&lt;BR /&gt;ge iainpackage on node hiptc079.&lt;BR /&gt;Sep 24 17:12:38 hiptc079 cmcld[10988]: Executing '/etc/cmcluster/apach/apach.sh&lt;BR /&gt; start' for package iainpackage, as service PKG*63489.&lt;BR /&gt;Sep 24 17:12:38 hiptc079 CM-CMD[26630]: cmmodnet -a -i 9.20.51.245 9.20.50.0&lt;BR /&gt;Sep 24 17:12:39 hiptc079 CM-CMD[26635]: cmrunserv httpd &amp;gt;&amp;gt; /etc/cmcluster/apach/&lt;BR /&gt;apach.sh.log 2&amp;gt;&amp;amp;1 /opt/hpws/apache/bin/httpd -k start&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Service PKG*63489 terminated due to an ex&lt;BR /&gt;it(0).&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Started package iainpackage on node hiptc&lt;BR /&gt;079.&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Service httpd terminated due to an exit(0&lt;BR /&gt;).&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Service httpd in package iainpackage has&lt;BR /&gt;gone down.&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Disabled node hiptc079 from running packa&lt;BR /&gt;ge iainpackage.&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Executing '/etc/cmcluster/apach/apach.sh&lt;BR /&gt; stop' for package iainpackage, as service PKG*63489.&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmomd[26479]: Successfully started package iainpackage&lt;BR /&gt;on node hiptc079.&lt;BR /&gt;Sep 24 17:12:39 hiptc079 CM-CMD[26648]: cmhaltserv httpd&lt;BR /&gt;Sep 24 17:12:39 hiptc079 CM-CMD[26651]: cmmodnet -r -i 9.20.51.245 9.20.50.0&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Service PKG*63489 terminated due to an ex&lt;BR /&gt;it(0).&lt;BR /&gt;Sep 24 17:12:39 hiptc079 cmcld[10988]: Halted package iainpackage on node hiptc0&lt;BR /&gt;79.&lt;BR /&gt;&lt;BR /&gt;The package script apach.sh has the following parameters set:&lt;BR /&gt;&lt;BR /&gt;IP[0]=9.20.51.245&lt;BR /&gt;SUBNET[0]=9.20.50.0&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME[0]=httpd&lt;BR /&gt;SERVICE_CMD[0]="/opt/hpws/apache/bin/httpd -k start"&lt;BR /&gt;SERVICE_RESTART[0]=""&lt;BR /&gt;&lt;BR /&gt;Also, I set the 'Listen' parameter in httpd.conf to be the relocatable ip address 9.20.50.245&lt;BR /&gt;&lt;BR /&gt;Other potentially interesting params, in the package .config file:&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME                   httpd&lt;BR /&gt;SERVICE_FAIL_FAST_ENABLED      NO&lt;BR /&gt;SERVICE_HALT_TIMEOUT          5&lt;BR /&gt;&lt;BR /&gt;Could starting it with 'httpd -k start' be the problem? &lt;BR /&gt;&lt;BR /&gt;Any ideas on this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2008 15:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275427#M685376</guid>
      <dc:creator>Iain Soedring</dc:creator>
      <dc:date>2008-09-24T15:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275428#M685378</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;could you try starting with /sbin/init.d/apache start.</description>
      <pubDate>Wed, 24 Sep 2008 17:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275428#M685378</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2008-09-24T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275429#M685380</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Looks like a a problem in the package configuration file.&lt;BR /&gt;&lt;BR /&gt;invalid RTLD_NEXT argument.&lt;BR /&gt;&lt;BR /&gt;If apache runs normally without SG, its the package configuration script.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 24 Sep 2008 17:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275429#M685380</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-09-24T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275430#M685382</link>
      <description>I fixed the RTLD_NEXT error, but still find it is halting immediately on startup:&lt;BR /&gt;&lt;BR /&gt;Sep 25 11:13:29 - Node "hiptc068": Starting service httpd using&lt;BR /&gt;   "/opt/hpws/apache/bin/httpd -k start"&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc068": Package start completed at Thu Sep 25 11:13&lt;BR /&gt;:29 BST 2008 ###########&lt;BR /&gt;&lt;BR /&gt;        ########### Node "hiptc068": Halting package at Thu Sep 25 11:13:29 BST&lt;BR /&gt;2008 ###########&lt;BR /&gt;Sep 25 11:13:29 - Node "hiptc068": Halting service httpd&lt;BR /&gt;cmhaltserv: Service name httpd is not running.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Sep 2008 09:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275430#M685382</guid>
      <dc:creator>Iain Soedring</dc:creator>
      <dc:date>2008-09-25T09:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275431#M685383</link>
      <description>Made some progress, setting:&lt;BR /&gt;&lt;BR /&gt;SERVICE_RESTART[0]="-R"&lt;BR /&gt;&lt;BR /&gt;Httpd stays running in this situation, and the relocatable ip address stays active.  However the server is continually restarting, and the log file is getting bigger and bigger, filling up with these messages:&lt;BR /&gt;&lt;BR /&gt;hiptc068: 119 : tail -f apach.sh.log&lt;BR /&gt;httpd (pid 1534) already running&lt;BR /&gt;httpd (pid 1534) already running&lt;BR /&gt;httpd (pid 1534) already running&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;This is kind of a brute force way of getting it working, and obviously I can't leave it like this.&lt;BR /&gt;&lt;BR /&gt;Still no idea why httpd halts itself.</description>
      <pubDate>Thu, 25 Sep 2008 09:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275431#M685383</guid>
      <dc:creator>Iain Soedring</dc:creator>
      <dc:date>2008-09-25T09:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: httpd package keeps halting on simple cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275432#M685385</link>
      <description>Solved this problem by installing and using the HP Serviceguard "Enterprise Cluster Master Toolkit", this has readymade scripts for running apache in a cluster, and a README that takes you through all the steps to do this.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Sep 2008 12:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-package-keeps-halting-on-simple-cluster/m-p/4275432#M685385</guid>
      <dc:creator>Iain Soedring</dc:creator>
      <dc:date>2008-09-25T12:42:38Z</dc:date>
    </item>
  </channel>
</rss>

