Solved

help setting up Apache on RedHat7

Posted on 2001-07-18
9
218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

738 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