Operating System - HP-UX
1838378 Members
4654 Online
110125 Solutions
New Discussion

Problems with apache web server installation.

 
SOLVED
Go to solution
wvsa
Regular Advisor

Problems with apache web server installation.

Greetings, trying to get apache web server to run on a HP1000 11.0 of the os. Have successfully (well maybe) downloaded and compliled (no errors that I could see) apache. But when I try to start the web server it no worke. here is what i get in error log:
[Thu May 3 15:55:04 2001] [error] (22)Invalid argument: shmctl() could not set
segment #1817
[Thu May 3 15:55:04 2001] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967294
[Thu May 3 15:55:04 2001] [notice] Apache/1.3.17 (Unix) configured -- resuming
normal operations
[Thu May 3 15:55:04 2001] [alert] Child 7627 returned a Fatal error...
Apache is exiting!

Not sure where the group id error is coming from. Is there a configuration file that I need to work with? Did review the httpd.conf file and as far I can see there all seems to well. Got the binary from the apache web site, did notice after un taring the file, the files in the created directory had a uid of 114 and a gid of users, before compiling I changed this to root and sys. Was this wrong? If anyone has apache install steps for dummies would you mind sharing.
Thankyou for your input(s) it is greatly appreciated.


2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Problems with apache web server installation.

Hi:
1) Make sure that you have a group www and a user www. Logins should not be permitted so put a '*' in the passwd field of this passwd entry or otherwise disallow logins.
2) In the httpd.conf file set the User to www
(its probably nobody now) and make sure the
Group is set to www.

I think that will fix you.

Clay
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Problems with apache web server installation.

Oh yeah, bounce httpd after you make the changes.

P.S. You could have downloaded a binary version
from one of the HP-UX Porting Centers and perhaps saved yourself a little trouble.

Hope this gets you out of the ditch, Clay
If it ain't broke, I can fix that.