Solved

help setting up Apache on RedHat7

Posted on 2001-07-18
9
214 Views
Last Modified: 2010-03-04
I'm using RedHat and it has Apache come pre-installed. However, I uninstalled the Apache from the system because I don't like the way RedHat put the files around.

I downloaded apache1.3.20 from apache.org
follow the documentation
http://httpd.apache.org/docs/install.html
and
http://httpd.apache.org/docs/invoking.html

I have placed apache on /usr/local/apache

I tried starting apache as root and invoking
it using "./httpd" when in the /usr/local/apache/bin
directory.

however, when I do "ps -ef | grep httpd",
I couldn't see any httpd process running.
Nor did I get any error message when starting httpd.

0
Comment
Question by:slok
  • 3
  • 2
  • 2
9 Comments
 
LVL 19

Expert Comment

by:jools
ID: 6297585
What happens when you do; /etc/rc.d/init.d/httpd restart

Check out the log files in /var/log/ to see if there is anything in there.

Is your http configuration file OK?


0
 
LVL 1

Expert Comment

by:manucorp
ID: 6301133
you have a bin file named apachectl which give the control of Apache
with start stop restart ....
0
 
LVL 3

Author Comment

by:slok
ID: 6307790
I check the log file at
/usr/local/apache/logs/error_log

it shows the following error:
==
[Mon Jul 23 17:30:45 2001] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten --
 Unclean shutdown of previous Apache run?
[Mon Jul 23 17:30:45 2001] [error] (22)Invalid argument: shmctl() could not set segment #1
1264
[Mon Jul 23 17:30:45 2001] [notice] Apache/1.3.20 (Unix) configured -- resuming normal ope
rations
[Mon Jul 23 17:30:45 2001] [alert] (22)Invalid argument: setgid: unable to set group id to
 Group 4294967295
[Mon Jul 23 17:30:45 2001] [alert] (22)Invalid argument: setgid: unable to set group id to
 Group 4294967295
[Mon Jul 23 17:30:45 2001] [alert] (22)Invalid argument: setgid: unable to set group id to
 Group 4294967295
[Mon Jul 23 17:30:45 2001] [alert] (22)Invalid argument: setgid: unable to set group id to
 Group 4294967295
[Mon Jul 23 17:30:45 2001] [alert] (22)Invalid argument: setgid: unable to set group id to
 Group 4294967295
[Mon Jul 23 17:30:46 2001] [alert] Child 7228 returned a Fatal error...
Apache is exiting!
========


0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 3

Author Comment

by:slok
ID: 6307799
I just managed to solve the problem.
apparently the "Group" in httpd.conf is not set.

thanks all.
0
 
LVL 1

Accepted Solution

by:
manucorp earned 50 total points
ID: 6307803
in your httpd.conf you have
a
User ...
Group ...
and its seems that it doesn't exists !

check your /etc/passwd

0
 
LVL 1

Expert Comment

by:manucorp
ID: 6307806
so my answer was good look at the post time !
0
 
LVL 19

Expert Comment

by:jools
ID: 6308917
No Probs :-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question