Help - Search - Members - Calendar
Full Version: Apache Web Server
BleepingComputer.com > Operating Systems > Linux & Unix
   
rockville
Hello,
I instaled Fedora 7 and I am trying to configure Apache web server and with;

rom -q httpd I get " httpd -2.2.4-4"

/sbin/service httpd status

httpd is stopped"

/sbin/service httpd restart

"stopping httpd: [FAILED]
"starting httpd;: [FAILED]


I activated httpd at services but could not run.


Any ideas what is wrong?

Thanks

RA
rockville
Sorry there is a typo on command "rpm" not "rom"
as stated on my previous post.
Billy O'Neal
Sorry, have to ask, are you root doing this?

Billy3
groovicus
Your apache log file will tell you what is wrong. It should be under /var/log/httpd or /var/log/httpd-admin.

QUOTE
Sorry, have to ask, are you root doing this?

A user who is not authorized to run that command would get a permission denied message because they would not be able to remove the process identifier.
CODE
rm: cannot remove `/var/run/httpd.pid': Permission denied  [FAILED]

rockville
QUOTE
Your apache log file will tell you what is wrong. It should be under /var/log/httpd or /var/log/httpd-admin.

/var/log/httpd is an empty directory and there s no such /var/log/httpd-admin
groovicus
That's where it usually goes. See if you can find this file:
httpd.conf

From the command line, type in sudo updatedb
Then:
sudo locate httpd.conf

How did you install Apache?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.