<?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: Problem on apache running in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650509#M45952</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you post your http.conf file from the httpd directory.&lt;BR /&gt;&lt;BR /&gt;Regds</description>
    <pubDate>Wed, 23 Jan 2002 05:17:38 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2002-01-23T05:17:38Z</dc:date>
    <item>
      <title>Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650506#M45949</link>
      <description>I have succesfully installed Apache.depot on /opt/apache.After change to /opt/apache/etc/httpd.conf:User:nobody,Group:nogroup,other keep default.Then /opt/apache/bin/httpd,and ps -el |grep httpd, no daemon was capture, in /opt/apache/adm/error_log:&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [error] (22)Invalid argument: shmctl() could not set segment #8452&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [notice] Apache/1.3.22 (Unix) configured -- resuming normal operations&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [notice] Accept mutex: fcntl (Default: fcntl)&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] Child 3631 returned a Fatal error...&lt;BR /&gt;Apache is exiting!&lt;BR /&gt;&lt;BR /&gt;When I reboot,and ps,it capture something:&lt;BR /&gt; 1 S         91  1834  1194  0 154 20  2012a00  137  2010928 ?         0:00 httpd&lt;BR /&gt;  1 S         91  1836  1194  0 168 20  2038600  137  113e14c ?         0:00 httpd&lt;BR /&gt;  1 S          0  1194     1  0 154 20  201e280  137   408468 ?         0:00 httpd...&lt;BR /&gt;I could http://ip address,and get the apache working page.&lt;BR /&gt;But in error_log&lt;BR /&gt;[Tue Jan 22 16:29:39 2002] [crit] (226)Address already in use: make_sock: could not bind to port 80 &lt;BR /&gt;&lt;BR /&gt;I wonder:apache have fault(access_log was empty,and the number in httpd.pid was not the number that ps capture).&lt;BR /&gt;Why I could get daemon that apache running,and could get the apache working page.&lt;BR /&gt;&lt;BR /&gt;Thank&lt;BR /&gt;  --Frank&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 00:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650506#M45949</guid>
      <dc:creator>Cai Nan</dc:creator>
      <dc:date>2002-01-23T00:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650507#M45950</link>
      <description>One thing supply:&lt;BR /&gt;Finally I find that strange-apache was running in /usr/local/apache,but I remember clearly, before I install 1.3.22, I use swremove to remove 1.3.6,and success. And now I want to ask,how to remove software to the core that was not registered in HP-SD .just delete that folder/usr/local/apache?&lt;BR /&gt;&lt;BR /&gt;It seems following error related to group setup:&lt;BR /&gt;[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294&lt;BR /&gt;I have create a new group and user:www,I wonder it could help?&lt;BR /&gt;&lt;BR /&gt;By the way,error:&lt;BR /&gt;(226)Address already in use: make_sock: could not bind to port 80&lt;BR /&gt;What's that mean,and how to solve it?&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;BR /&gt;  --Frank&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 01:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650507#M45950</guid>
      <dc:creator>Cai Nan</dc:creator>
      <dc:date>2002-01-23T01:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650508#M45951</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the software was installed at the command&lt;BR /&gt;line and not through 'swinstall' you can &lt;BR /&gt;just remove the directories/files once the&lt;BR /&gt;processes have been terminated (killed)&lt;BR /&gt;&lt;BR /&gt;Make sure that you have the following in the &lt;BR /&gt;/usr/local/appache/conf/httpd.conf file or&lt;BR /&gt;where you directory tree is.&lt;BR /&gt;&lt;BR /&gt;User www&lt;BR /&gt;Group www (or what you want)&lt;BR /&gt;Port 80&lt;BR /&gt;&lt;BR /&gt;The port being in use suggests that something&lt;BR /&gt;is already using the port. Use 'netstat -a'&lt;BR /&gt;to find out.&lt;BR /&gt;Suggest you get an already compile version &lt;BR /&gt;from the porting centre, as this will solve &lt;BR /&gt;some of your problems. You would install&lt;BR /&gt;this via swinstall.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 01:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650508#M45951</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-01-23T01:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650509#M45952</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you post your http.conf file from the httpd directory.&lt;BR /&gt;&lt;BR /&gt;Regds</description>
      <pubDate>Wed, 23 Jan 2002 05:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650509#M45952</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-23T05:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650510#M45953</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a hunch. Can you show us the output for the following:&lt;BR /&gt;&lt;BR /&gt;# grep 4294967294 /etc/group&lt;BR /&gt;&lt;BR /&gt;If your group ID is not defined in /etc/group, then executables might not be able to setgid to this group.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 23 Jan 2002 05:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650510#M45953</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-23T05:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650511#M45954</link>
      <description>In HP-UX the user/group nobody/nogroup have id's of -2 by default.  The error you are seeing is due to the way -2 is represented to a CPU as a 32-bit number (the MSB is set to 1).&lt;BR /&gt;&lt;BR /&gt;The specific reason the setgid calls are failing is because it is trying to set gid to a value beyond the maximum system limit for a group id number (UID_MAX which is most likely = to INT_MAX = 2147483647)&lt;BR /&gt;&lt;BR /&gt;Your best option is to setup apache to run using the www account as someone has stated previously</description>
      <pubDate>Wed, 23 Jan 2002 06:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650511#M45954</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2002-01-23T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on apache running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650512#M45955</link>
      <description>Thank you all,especially Jim.&lt;BR /&gt;I set www group,and it's user www,it worked all right now.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jan 2002 00:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-on-apache-running/m-p/2650512#M45955</guid>
      <dc:creator>Cai Nan</dc:creator>
      <dc:date>2002-01-24T00:36:18Z</dc:date>
    </item>
  </channel>
</rss>

