www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Etienne Pallier <pall...@ast.obs-mip.fr>
Subject Re: os-hpux/7284: cannot launch apache 1.3.17 on hpux1020 (shmctl error)
Date Wed, 21 Feb 2001 14:10:01 GMT
The following reply was made to PR os-hpux/7284; it has been noted by GNATS.

From: Etienne Pallier <pallier@ast.obs-mip.fr>
To: slive@apache.org
Cc: apbugs@apache.org
Subject: Re: os-hpux/7284: cannot launch apache 1.3.17 on hpux1020 (shmctl error)
Date: Wed, 21 Feb 2001 15:04:26 +0100

 slive@apache.org a =E9crit :
 > =
 
 > [In order for any reply to be added to the PR database, you need]
 > [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 > [subject line starts with the report component and number, with ]
 > [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 > ["Re: general/1098:").  If the subject doesn't match this       ]
 > [pattern, your message will be misfiled and ignored.  The       ]
 > ["apbugs" address is not added to the Cc line of messages from  ]
 > [the database automatically because of the potential for mail   ]
 > [loops.  If you do not include this Cc, your reply may be ig-   ]
 > [nored unless you are responding to an explicit request from a  ]
 > [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 > =
 
 > Synopsis: cannot configure and install 1.3.9 on hpux1020
 > =
 
 > State-Changed-From-To: open-closed
 > State-Changed-By: slive
 > State-Changed-When: Tue Feb 20 09:29:49 PST 2001
 > State-Changed-Why:
 > =
 
 > Please try again with the most recent version of Apache
 > =
 
 > and let us know if there are still problems.
 
 
 OK, I've installed the 1.3.17 version, and it installed (just one small
 error, see at the end of this mail)
 
 But when I start it, it does nothing :
 # /usr/local/apache/bin/apachectl start
 /usr/local/apache/bin/apachectl start: httpd
 started                                                                  =
       =
 
 
 If I look for a wwwrun user in /etc/passwd, there is none
 In fact, /etc/passwd has not been modified at all !! Shouldn't it ?
 
 In fact, apache fails to run :
 
 # cat error_log
 [Wed Feb 21 13:24:20 2001] [error] (22)Invalid argument: shmctl() could
 not set segment #9609
 [Wed Feb 21 13:24:20 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:24:20 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:24:20 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:24:20 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:24:20 2001] [notice] Apache/1.3.17 (Unix) configured --
 resuming normal operations
 [Wed Feb 21 13:24:20 2001] [alert] Child 27902 returned a Fatal error...
 Apache is exiting!
 [Wed Feb 21 13:24:20 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [warn] pid file
 /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of
 previous Apache run?
 [Wed Feb 21 13:27:42 2001] [error] (22)Invalid argument: shmctl() could
 not set segment #9809
 [Wed Feb 21 13:27:42 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [alert] (22)Invalid argument: setgid: unable
 to set group id to Group 4294967294
 [Wed Feb 21 13:27:42 2001] [notice] Apache/1.3.17 (Unix) configured --
 resuming normal operations
 [Wed Feb 21 13:27:42 2001] [alert] Child 27917 returned a Fatal error...
 Apache is
 exiting!                                                                 =
                                          =
 
 
 
 Here is what I have done :
 1) ./configure --prefix=3D/usr/local/apache
 2) make
 3) make install
 
 The small error I've had is during the "make install" (chown error on
 proxy/ dir)
 Here are the output messages :
 # make install
 =3D=3D=3D> [mktree: Creating Apache installation tree]
         ./src/helpers/mkdir.sh /usr/local/apache/bin
 mkdir /usr/local/apache
 mkdir /usr/local/apache/bin
         ./src/helpers/mkdir.sh /usr/local/apache/bin
         ./src/helpers/mkdir.sh /usr/local/apache/libexec
 mkdir /usr/local/apache/libexec
         ./src/helpers/mkdir.sh /usr/local/apache/man/man1
 mkdir /usr/local/apache/man
 mkdir /usr/local/apache/man/man1
         ./src/helpers/mkdir.sh /usr/local/apache/man/man8
 mkdir /usr/local/apache/man/man8
         ./src/helpers/mkdir.sh /usr/local/apache/conf
 mkdir /usr/local/apache/conf
         ./src/helpers/mkdir.sh /usr/local/apache/htdocs
 mkdir /usr/local/apache/htdocs
         ./src/helpers/mkdir.sh /usr/local/apache/icons
 mkdir /usr/local/apache/icons
         ./src/helpers/mkdir.sh /usr/local/apache/cgi-bin
 mkdir /usr/local/apache/cgi-bin
         ./src/helpers/mkdir.sh /usr/local/apache/include
 mkdir /usr/local/apache/include
         ./src/helpers/mkdir.sh /usr/local/apache/include/xml
 mkdir /usr/local/apache/include/xml
         ./src/helpers/mkdir.sh /usr/local/apache/logs
 mkdir /usr/local/apache/logs
         ./src/helpers/mkdir.sh /usr/local/apache/logs
         ./src/helpers/mkdir.sh /usr/local/apache/proxy
 mkdir /usr/local/apache/proxy
 chown nobody /usr/local/apache/proxy
 /usr/local/apache/proxy: Invalid argument
 chgrp nogroup /usr/local/apache/proxy
 /usr/local/apache/proxy: Invalid argument
 *** Error exit code 1
 (ignored)                                                                =
                              =
 
 
 *** Error exit code 1 (ignored)
 <=3D=3D=3D [mktree]
 =3D=3D=3D> [programs: Installing Apache httpd program and shared objects]=
 
 =2E/src/helpers/install.sh -c -m 755 -s ./src/httpd
 /usr/local/apache/bin/httpd
         ./src/helpers/install.sh -c -m 644 ./src/support/httpd.8
 /usr/local/apache/man/man8/httpd.8
 <=3D=3D=3D [programs]
 =3D=3D=3D> [support: Installing Apache support programs and scripts]
         ./src/helpers/install.sh -c -m 755 -s ./src/support/ab
 /usr/local/apache/bin/ab
         ./src/helpers/install.sh -c -m 644 ./src/support/ab.8
 /usr/local/apache/man/man8/ab.8
 =2E/src/helpers/install.sh -c -m 755 ./src/support/apachectl[*]
 /usr/local/apache/bin/apachectl
 =2E/src/helpers/install.sh -c -m 644 ./src/support/apachectl.8
 /usr/local/apache/man/man8/apachectl.8
         ./src/helpers/install.sh -c -m 755 -s ./src/support/htpasswd
 /usr/local/apache/bin/htpasswd
         ./src/helpers/install.sh -c -m 644 ./src/support/htpasswd.1
 /usr/local/apache/man/man1/htpasswd.1
         ./src/helpers/install.sh -c -m 755 -s ./src/support/htdigest
 /usr/local/apache/bin/htdigest
         ./src/helpers/install.sh -c -m 644 ./src/support/htdigest.1
 /usr/local/apache/man/man1/htdigest.1
 =2E/src/helpers/install.sh -c -m 755 ./src/support/dbmmanage[*]
 /usr/local/apache/bin/dbmmanage
         ./src/helpers/install.sh -c -m 644 ./src/support/dbmmanage.1
 /usr/local/apache/man/man1/dbmmanage.1
         ./src/helpers/install.sh -c -m 755 -s ./src/support/logresolve
 /usr/local/apache/bin/logresolve
         ./src/helpers/install.sh -c -m 644 ./src/support/logresolve.8
 /usr/local/apache/man/man8/logresolve.8
         ./src/helpers/install.sh -c -m 755 -s ./src/support/rotatelogs
 /usr/local/apache/bin/rotatelogs
         ./src/helpers/install.sh -c -m 644 ./src/support/rotatelogs.8
 /usr/local/apache/man/man8/rotatelogs.8
 =2E/src/helpers/install.sh -c -m 755 ./src/support/apxs[*]
 /usr/local/apache/bin/apxs
         ./src/helpers/install.sh -c -m 644 ./src/support/apxs.8
 /usr/local/apache/man/man8/apxs.8
 <=3D=3D=3D [support]
 =3D=3D=3D> [include: Installing Apache C header files]
         cp ./src/include/*.h /usr/local/apache/include/
         cp ./src/lib/expat-lite/*.h /usr/local/apache/include/xml/
 cp ./src/os/unix/os.h /usr/local/apache/include/
 cp ./src/os/unix/os-inline.c /usr/local/apache/include/
         chmod 644 /usr/local/apache/include/*.h
 /usr/local/apache/include/xml/*.h
 <=3D=3D=3D [include]
 =3D=3D=3D> [data: Installing initial data files]
 Copying tree ./htdocs/ -> /usr/local/apache/htdocs/
 =2E/src/helpers/install.sh -c -m 644 ./conf/printenv[*]
 /usr/local/apache/cgi-bin/printenv
 =2E/src/helpers/install.sh -c -m 644 ./conf/test-cgi[*]
 /usr/local/apache/cgi-bin/test-cgi
 Copying tree ./icons/ -> /usr/local/apache/icons/
 <=3D=3D=3D [data]
 =3D=3D=3D> [config: Installing Apache configuration files]
 =2E/src/helpers/install.sh -c -m 644 ./conf/httpd.conf-dist[*]
 /usr/local/apache/conf/httpd.conf.default
 =2E/src/helpers/install.sh -c -m 644 ./conf/httpd.conf-dist[*]
 /usr/local/apache/conf/httpd.conf
 =2E/src/helpers/install.sh -c -m 644 ./conf/access.conf-dist[*]
 /usr/local/apache/conf/access.conf.default
 =2E/src/helpers/install.sh -c -m 644 ./conf/access.conf-dist[*]
 /usr/local/apache/conf/access.conf
 =2E/src/helpers/install.sh -c -m 644 ./conf/srm.conf-dist[*]
 /usr/local/apache/conf/srm.conf.default
 =2E/src/helpers/install.sh -c -m 644 ./conf/srm.conf-dist[*]
 /usr/local/apache/conf/srm.conf
 =2E/src/helpers/install.sh -c -m 644 ./conf/mime.types
 /usr/local/apache/conf/mime.types.default
 =2E/src/helpers/install.sh -c -m 644 ./conf/mime.types
 /usr/local/apache/conf/mime.types
 =2E/src/helpers/install.sh -c -m 644 ./conf/magic
 /usr/local/apache/conf/magic.default
 =2E/src/helpers/install.sh -c -m 644 ./conf/magic
 /usr/local/apache/conf/magic
 <=3D=3D=3D [config]
 +--------------------------------------------------------+
 | You now have successfully built and installed the     =
 
 |                                                                  =
 
 | Apache 1.3 HTTP server. To verify that Apache actually |
 | works correctly you now should first check the         |
 | (initially created or preserved) configuration files   |
 |                                                        |
 |   /usr/local/apache/conf/httpd.conf
 |                                                        |
 | and then you should be able to immediately fire up     |
 | Apache the first time by running:                      |
 |                                                        |
 |   /usr/local/apache/bin/apachectl start
 |                                                        |
 | Thanks for using Apache.       The Apache Group        |
 |                                http://www.apache.org/  |
 +--------------------------------------------------------+               =
                                                    =
 
 
 
 If I look for nobody and nogroup in /etc/passwd and /etc/group, I get
 this :
 # grep nobody /etc/passwd
 nobody:*:-2:-24::/:                                                      =
                                                                          =
                                                      =
 
 # grep nogroup /etc/group
 nogroup:*:-2:        =
 
 
 What's the matter ?
 
 Thank you for helping...
 
 
 -- =
 
 Etienne PALLIER - pallier@ast.obs-mip.fr - Observatoire Midi-Pyrenees
 Labo Astrophysique - Planetologie - Tel:05.61.33.28.11 -
 Fax:05.61.33.28.40
 "He is no fool who gives what he cannot keep
 to gain what he cannot lose" (Jim Elliot) ><>

Mime
View raw message