BleepingComputer.com: Apache Web Server

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Apache Web Server The server is not workng

#1 User is offline   rockville 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 30
  • Joined: 23-January 08

Posted 18 March 2008 - 08:53 PM

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

#2 User is offline   rockville 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 30
  • Joined: 23-January 08

Posted 18 March 2008 - 08:59 PM

Sorry there is a typo on command "rpm" not "rom"
as stated on my previous post.

#3 User is online   Billy O'Neal 

  • Bleepin Engineer GRADUATE
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Instructor
  • Posts: 10,394
  • Joined: 17-January 08
  • Gender:Male
  • Location:Cleveland, Ohio

Posted 18 March 2008 - 09:35 PM


#4 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,604
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 19 March 2008 - 07:56 AM

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.
rm: cannot remove `/var/run/httpd.pid': Permission denied  [FAILED]

"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#5 User is offline   rockville 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 30
  • Joined: 23-January 08

Posted 19 March 2008 - 08:51 AM

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

#6 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,604
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 19 March 2008 - 12:21 PM

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?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users