Results 1 to 10 of 13
I need to know how to find out if Apache is installed on a RH server. When I try to run the command 'service httpd start' I get an error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-28-2004 #1Just Joined!
- Join Date
- Mar 2004
- Posts
- 7
How do you find out if Apache is installed?
I need to know how to find out if Apache is installed on a RH server. When I try to run the command 'service httpd start' I get an error message failed.
Thanks
- 03-28-2004 #2
Could u post the error mesage up here? That should help!
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 03-29-2004 #3Just Joined!
- Join Date
- Mar 2004
- Posts
- 2
do an rpm -q apache
- 03-29-2004 #4Just Joined!
- Join Date
- Mar 2004
- Posts
- 7
This is what I get when I try to start the service.
service httpd start
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[FAILED]
So I added the servers static ip address in the httpd.conf file and just get Starting httpd: [FAILED]
And when I check to see if any httpd processes are running I get this.
ps -aux |grep httpd
root 22140 0.0 0.1 5076 588 pts/0 S 01:50 0:00 grep httpd
- 03-29-2004 #5Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
do you know where your apache error log file is located?
if so jsut do a tail -f <filename? and see the error message.
unless you post the error message things will be difficult to debug.Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 03-29-2004 #6Just Joined!
- Join Date
- Mar 2004
- Posts
- 7
I've came to the conclusion that apache is not installed on the server. Does anyone know of a good tutorial or could walk me through the basics on getting apache installed on a dedicated RH server remotely with ssh?
Thanks
- 03-29-2004 #7
Apache is installed, you just have to edit apache's config files..
Kriss
- 03-29-2004 #8Just Joined!
- Join Date
- Mar 2004
- Posts
- 7
I've looked around and found the following files:
/usr/sbin/apachectl
/etc/httpd/ --> config files
but can't find an apache directory.
ran rpm -q apache and returns that it is not installed.
since apachectl is on the system does that mean that apache has to already been installed?
- 03-29-2004 #9Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
run "apachectrl start" to start it.
in redhat, apache doesnt have its own directory for binaries, you just have your httpd in /usr/bin/ from what i remember.
Jason
- 03-29-2004 #10Just Joined!
- Join Date
- Mar 2004
- Posts
- 7
When I try to start apache with /apachectl start I get the following error.
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName.


Reply With Quote
