Apache on Solaris 10
|
Original Message
|
Name: wolf60s
Date: February 12, 2005 at 16:57:50 Pacific
Subject: Apache on Solaris 10 OS: Solaris 10 intelCPU/Ram: p4/500m |
Comment: Hi, I installed apache by: (openssl-0.9.7e-sol10-intel-local and libgcc-3.3-sol10-intel-local have been installed in openssh.) # pkgadd -d apache-2.0.52-sol10-intel-local # pkgadd -d db-4.2.52.NC-sol10-intel-local # pkgadd -d expat-1.95.5-sol10-intel-local # pkgadd -d # pkgadd -d libiconv-1.8-sol10-intel-local # ln -s /usr/local/apache2/bin/apachectl /etc/rc3.d/S99apache # /etc/rc3.d/S99apache start # /etc/rc3.d/S99apache stop httpd (pid 635?) not running How can I know if it is correct? I tried http://192.168.1.2:80 from the other pc and failed. If every is right I believe I should able to access that. Please help. Thanks.
Report Offensive Message For Removal
|
|
Response Number 2
|
Name: wolf60s
Date: February 15, 2005 at 18:39:24 Pacific
|
Reply: (edit)Thanks for your reply, I did see any httpd # cd /var/log # ls Xorg.0.log authlog snmpd.log syslog Xorg.0.log.old pool sysidconfig.log webconsole #
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: David Perry
Date: February 16, 2005 at 05:53:42 Pacific
|
Reply: (edit)The location of the log files is dictated in the httpd.conf file. It will tell you where to look. # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/etc/httpd" will be interpreted by the # server as "/etc/httpd/logs/foo.log".
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: wolf60s
Date: February 19, 2005 at 13:20:24 Pacific
|
Reply: (edit)Thanks for your reply, I found the error log and don't know how to solve the problem, please read following error log from /usr/local/apache2/logs: [Sat Feb 19 15:29:48 2005] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 [Sat Feb 19 15:29:48 2005] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 [Sat Feb 19 15:29:48 2005] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 [Sat Feb 19 15:29:48 2005] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 [Sat Feb 19 15:29:48 2005] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295 [Sat Feb 19 15:29:49 2005] [notice] Apache/2.0.52 (Unix) DAV/2 configured -- resuming normal operations [Sat Feb 19 15:29:49 2005] [alert] Child 497 returned a Fatal error...\nApache is exiting! [Sat Feb 19 15:39:05 2005] [notice] Digest: generating secret for digest authentication ... [Sat Feb 19 15:39:05 2005] [notice] Digest: done [Sat Feb 19 15:39:05 2005] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? Thanks.
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: David Perry
Date: February 22, 2005 at 08:01:50 Pacific
|
Reply: (edit)It says that the apache process is trying to run as an undefined group. Look at the section of the httpd.conf that specifies UID and GID and change to valid values. # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # User apache Group apache
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: