Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Apache Web Server


  • Please log in to reply
5 replies to this topic

#1 rockville

rockville

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:12:07 AM

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

BC AdBot (Login to Remove)

 


#2 rockville

rockville
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:12:07 AM

Posted 18 March 2008 - 08:59 PM

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

#3 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:09:07 PM

Posted 18 March 2008 - 09:35 PM

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

Billy3
Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:07 PM

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.

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]


#5 rockville

rockville
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  
  • Local time:12:07 AM

Posted 19 March 2008 - 08:51 AM

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 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:10:07 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users