Solved

help setting up Apache on RedHat7

Posted on 2001-07-18
9
206 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
Comment Utility
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
Comment Utility
you have a bin file named apachectl which give the control of Apache
with start stop restart ....
0
 
LVL 3

Author Comment

by:slok
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 3

Author Comment

by:slok
Comment Utility
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
Comment Utility
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
Comment Utility
so my answer was good look at the post time !
0
 
LVL 19

Expert Comment

by:jools
Comment Utility
No Probs :-)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

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 …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now