Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 12-06-2006, 11:05 PM   #1 (permalink)
Vormund
Monster Techie
 
Join Date: May 2004
Location: Tucson, AZ, USA
Posts: 1,184
Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Question Apache2 & Unix ... can they be friends?

Keeping in mind this is all new to me, does anyone happen to have a clue as to...

I downloaded the apache2 source and installed it...but when running ./httpd -k start (or apachectl -k start), it will act normal...however the server isn't starting. Nothing is shown in the process list and doing ./httpd -k stop ...it says the server has not started (thus nothing to stop).

I'm sure it's something simple...but I'm at a guess-and-try point, and a clue might be a bit faster.

Thanks.
__________________
Vormund is offline   Reply With Quote
Old 12-07-2006, 12:36 AM   #2 (permalink)
macdude425
Member (again)
 
macdude425's Avatar
 
Join Date: Jan 2005
Location: Raul's Wild Kingdom...How 'bout that, huh?
Posts: 4,195
Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

If it's Linux, try /etc/init.d/httpd start

If not, well...
__________________



Debian Support Forums!
macdude425 is offline   Reply With Quote
Old 12-08-2006, 03:40 PM   #3 (permalink)
Vormund
Monster Techie
 
Join Date: May 2004
Location: Tucson, AZ, USA
Posts: 1,184
Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Actually it's AIX... though I figured it out, finally. I forgot to check the log file, smart eh? Anyhow, the answer:

In the log file:
Code:
[Wed Dec 06 18:03:43 2006] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967295
Google led me to this page:
http://www.linuxquestions.org/questi...ad.php?t=10015
A quote from it:
Quote:
# 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 nobody on these systems!
So I merely created an apache group and an apache user...problem solved.
__________________
Vormund is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:24 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8