LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-23-2006, 11:31 AM   #1
Phil Armstrong
LQ Newbie
 
Registered: Mar 2006
Location: Liverpool, UK
Distribution: Fedora Core 5
Posts: 4

Rep: Reputation: 0
Apache - Fedora Core 5


When I just installed Fedora Core 5, I chose to install Apache with PHP and I also installed MySQL and PostGreSQL.

My question is how do I use them?
I've tried doing:

/sbin/service httpd start
and
/etc/init.d/httpd start
but they return [FAILED]

when I try status both say they are stopped.

obviously I have to initiate them somehow but I don't know how so can anyone help?

Thanks,
Phil
 
Old 03-23-2006, 12:05 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Anything showing in the logs ? if it tries to start and fails it should be logging a reason.

I believe Fedora puts your apache logs in /etc/httpd/logs look for the error log
 
Old 05-17-2006, 05:18 AM   #3
tuntsfaah
Member
 
Registered: Jul 2004
Location: Chicago
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43

Rep: Reputation: 15
I did the samething and apache failed to start.
I checked the logs folder but it was empty.

What else is there to do?
 
Old 05-17-2006, 05:27 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Actually, it's probably in /var/logs, not /etc.

My guess is that you are indeed trying to start httpd, but it is missing some initial configuration settings or something. Have you modified/created your httpd.conf?
 
Old 06-10-2006, 05:12 PM   #5
tendonut
Member
 
Registered: Nov 2005
Location: Niagara Falls, NY
Distribution: SuSE 10.2, Fedora Core 7, Ubuntu 6.06
Posts: 49

Rep: Reputation: 15
A Little Late

Don't know if this post will help or not, but it appears that when the developers included Apache with FC5, they failed to give us an up-to-date httpd.conf file. If you try to start the service in a terminal and not remotely, it tells you that it cannot find certain modules. Check it out
 
Old 07-07-2006, 06:22 PM   #6
Joiry
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Sorry to bump this old thread, but in searching the many threads on this subject, I've yet to find a solution. I have to start by saying I'm a Linux moron but I'm trying to learn. I thought it would be fun to try to build a simple web server. I'm using Fedora 5, and it's a fresh install. In fact it's 3 fresh installs trying to resolve this problem.

The problem being is that httpd won't start. service httpd start just returns failed. service httpd start -DEBUG returns errors in the httpd.conf file in the modules section where it would appear that about 8 of them are non-existant on my default/fresh install. Weird. These include mod_access.so, mod_auth.so, mod_auth_anon.so, and a few others. I tried commenting out these lines but when loading httpd I next get an error in mailman.conf which means I'm getting nowhere fast.

Oh, /var/log/httpd is completely empty, so that's no help. I've thought about trying to get a new install from apache.org but I have on idea how to install or complile it and I'd think the default one in the OS should work.

Anybody have a clue what I'm doing wrong here?

Joiry
 
Old 07-09-2006, 12:45 AM   #7
tuntsfaah
Member
 
Registered: Jul 2004
Location: Chicago
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43

Rep: Reputation: 15
When u installed FC5 there is a link that appears in your browser when you open one that says something about configuring it. That page has a lot of programs for you to configure including YUM. Maybe there is an update on yum that u can use and then be able to Start HTTPD.

By the way what command did u use to start up HTTPD?
 
Old 07-31-2006, 03:03 AM   #8
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
@tuntsfaah:
Quote:
"service httpd start" just returns failed. "service httpd start -DEBUG" returns errors in the httpd.conf file
Joiry mentioned the commands used, as far as I can tell...
 
Old 07-31-2006, 03:21 AM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try turmimg SELinux off for a bit with

# setenforce 0

and see if it works.


If it does, theres a setting in the gnome security settings under the SELinus tap that lets you turm SELinux off for httpd
 
Old 11-21-2006, 09:26 AM   #10
ancientt
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Rep: Reputation: 0
Happens in FC6 too

I skipped FC5 and just upgraded a server to FC6 and had much the same problem. Basically I had to disable loading some modules that have magically disappeared.

*sigh*

Yum search for mod_auth shows nothing, so I'm off to trying to find another way to rebuild it.
 
Old 11-22-2006, 03:27 AM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try uninstalling with yum and then reinstall with yum
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Error on Fedora Core 2 RJDavison Linux - Software 2 02-16-2009 08:21 AM
Setting Up APACHE on FEDORA CORE 4 gbiyer Linux - Newbie 7 01-24-2006 01:05 PM
Fedora Core 3 And PHP + Apache xbigs Fedora 1 12-17-2005 07:24 AM
in apache on my fedora core 3??!! khafanus Linux - Software 2 02-24-2005 06:03 AM
Fedora Core 1 - Apache questions BrettPower Linux - Networking 4 01-14-2004 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration