<?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: Apache inconsistent start in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809467#M83885</link>
    <description>I am starting the system as root, with the target user and group of 'phpdev' set in the httpd.conf file.&lt;BR /&gt;&lt;BR /&gt;I have bumped up the shmmax and ninode parameters and rebooted the box. The httpd daemons started OK, but it remains to be seen if the Oracle integration works.&lt;BR /&gt;&lt;BR /&gt;Thanks for your assistance.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
    <pubDate>Thu, 19 Sep 2002 12:28:50 GMT</pubDate>
    <dc:creator>Ian Dennison_1</dc:creator>
    <dc:date>2002-09-19T12:28:50Z</dc:date>
    <item>
      <title>Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809460#M83878</link>
      <description>I have inherited an Apache install which sometimes starts and sometimes doesn't.&lt;BR /&gt;&lt;BR /&gt;The behaviour it exhibits is that it will only start 1 httpd process, which will not respond to a web query. It also puts an incorrect pid in the apache/logs/httpd.pid file, and so cannot close down cleanly.&lt;BR /&gt;It also states that it cannot create the scoreboard with a shared memory failure.&lt;BR /&gt;&lt;BR /&gt;The real curse of this problem is that it worked fine this morning, i made some changes &amp;amp; it didn't work, so I reverted the changes and the problem remains.&lt;BR /&gt;&lt;BR /&gt;Is there something else lurking around in the system? Port Numbers tied up, temporary files to be cleaned (I have cleared apache/logs/* every time). &lt;A href="http://www.php.net" target="_blank"&gt;www.php.net&lt;/A&gt; was singularly unhelpful.&lt;BR /&gt;&lt;BR /&gt;Has anyone seen this before and know how to fix it?&lt;BR /&gt;&lt;BR /&gt;Cheers, Ian Dennison&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Sep 2002 09:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809460#M83878</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-09-19T09:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809461#M83879</link>
      <description>what version of apache?&lt;BR /&gt;where did you d/load it from?&lt;BR /&gt;(does it show on swlist)&lt;BR /&gt;&lt;BR /&gt;anything in the error_log, are there PID logs?&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 19 Sep 2002 09:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809461#M83879</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-09-19T09:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809462#M83880</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Directory of logs,...&lt;BR /&gt;-rw-------   1 root       sys              0 Sep 19 11:38 apache_runtime_status&lt;BR /&gt;srwxrwxrwx   1 phpdev     sys              0 Sep 19 11:38 cgisock&lt;BR /&gt;-rw-------   1 root       sys            357 Sep 19 11:38 error_log&lt;BR /&gt;-rw-------   1 root       sys              5 Sep 19 11:38 httpd.pid&lt;BR /&gt;-rw-------   1 root       sys              0 Sep 19 11:34 phpdev.dcsit.net-error_log&lt;BR /&gt;drwx------   2 root       sys           1024 Sep 19 10:20 prev&lt;BR /&gt;drwx------   2 root       sys             96 Sep 19 10:22 prev2&lt;BR /&gt;&lt;BR /&gt;Contents of error log&lt;BR /&gt;&lt;BR /&gt;[Thu Sep 19 11:34:59 2002] [crit] (17)File exists: unable to create scoreboard (name-based shared memory failure)&lt;BR /&gt;[Thu Sep 19 11:38:20 2002] [warn] pid file /phpdev/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?&lt;BR /&gt;[Thu Sep 19 11:38:20 2002] [crit] (17)File exists: unable to create scoreboard (name-based shared memory failure)&lt;BR /&gt;&lt;BR /&gt;I did a netstat and found the following process open,...&lt;BR /&gt; 6516840 stream      0      0          8062180                0                0                0 /phpdev/apache/logs/cgisock&lt;BR /&gt;&lt;BR /&gt;Should I be killing this off to make a clean shutdown?&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 19 Sep 2002 11:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809462#M83880</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-09-19T11:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809463#M83881</link>
      <description>You should be using apachectl stop and apachectl start to stop and start.&lt;BR /&gt;&lt;BR /&gt;Without the scoreboard the software will not work - are you out of shared memory or very low?  You could try having it use an external file with the following stanza in the config file:&lt;BR /&gt;&lt;BR /&gt;ScoreBoardFile logs/apache_runtime_status</description>
      <pubDate>Thu, 19 Sep 2002 11:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809463#M83881</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2002-09-19T11:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809464#M83882</link>
      <description>have changed the umask within the apachectl script to allow rw for all users on the scoreboard file. Same result.&lt;BR /&gt;&lt;BR /&gt;Noticed that the following output from sar shows,...&lt;BR /&gt;&lt;BR /&gt;dcsux108&amp;gt; sar -v 2 20&lt;BR /&gt;&lt;BR /&gt;HP-UX dcsux108 B.11.11 U 9000/869    09/19/02&lt;BR /&gt;&lt;BR /&gt;13:29:59 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;13:30:01   N/A   N/A 150/664   0  7360/7360  0  697/12018 0&lt;BR /&gt;13:30:03   N/A   N/A 150/664   0  7360/7360  0  697/12018 0&lt;BR /&gt;13:30:05   N/A   N/A 150/664   0  7360/7360  0  697/12018 0&lt;BR /&gt;13:30:07   N/A   N/A 150/664   0  7360/7360  0  696/12018 0&lt;BR /&gt;&lt;BR /&gt;swapinfo and top both show memory free. I am guessing more inodes are needed. Which kernel parameter should I adjust?&lt;BR /&gt;&lt;BR /&gt;Cheers, Ian Dennison</description>
      <pubDate>Thu, 19 Sep 2002 11:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809464#M83882</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-09-19T11:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809465#M83883</link>
      <description>george,&lt;BR /&gt;&lt;BR /&gt;Yes I have the line in the httpd.conf file for scoreboard. I remove the external scoreboard file every time I shutdown the apache server. I also use the apachectl script, with environment variables set inside for Oracle Integration.&lt;BR /&gt;&lt;BR /&gt;Cheers, Ian Dennison</description>
      <pubDate>Thu, 19 Sep 2002 11:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809465#M83883</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-09-19T11:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809466#M83884</link>
      <description>If you are using an external scoreboard file you shouldn't be getting those shared memory errors because the software is not supposed to need to create one.&lt;BR /&gt;&lt;BR /&gt;Are you starting/stopping this software as root?</description>
      <pubDate>Thu, 19 Sep 2002 12:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809466#M83884</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2002-09-19T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809467#M83885</link>
      <description>I am starting the system as root, with the target user and group of 'phpdev' set in the httpd.conf file.&lt;BR /&gt;&lt;BR /&gt;I have bumped up the shmmax and ninode parameters and rebooted the box. The httpd daemons started OK, but it remains to be seen if the Oracle integration works.&lt;BR /&gt;&lt;BR /&gt;Thanks for your assistance.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 19 Sep 2002 12:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809467#M83885</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-09-19T12:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Apache inconsistent start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809468#M83886</link>
      <description>Good to hear that worked.  The ninode parameter only applies if you are using hfs file systems - most likely the shmmax parameter was the fix.</description>
      <pubDate>Thu, 19 Sep 2002 15:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-inconsistent-start/m-p/2809468#M83886</guid>
      <dc:creator>George A Bodnar</dc:creator>
      <dc:date>2002-09-19T15:52:08Z</dc:date>
    </item>
  </channel>
</rss>

