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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-23-2006, 11:31 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Location: Liverpool, UK
Distribution: Fedora Core 5
Posts: 4
Rep:
|
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
|
|
|
03-23-2006, 12:05 PM
|
#2
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
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
|
|
|
05-17-2006, 05:18 AM
|
#3
|
Member
Registered: Jul 2004
Location: Chicago
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43
Rep:
|
I did the samething and apache failed to start.
I checked the logs folder but it was empty.
What else is there to do?
|
|
|
05-17-2006, 05:27 AM
|
#4
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
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?
|
|
|
06-10-2006, 05:12 PM
|
#5
|
Member
Registered: Nov 2005
Location: Niagara Falls, NY
Distribution: SuSE 10.2, Fedora Core 7, Ubuntu 6.06
Posts: 49
Rep:
|
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
|
|
|
07-07-2006, 06:22 PM
|
#6
|
LQ Newbie
Registered: Dec 2003
Posts: 1
Rep:
|
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
|
|
|
07-09-2006, 12:45 AM
|
#7
|
Member
Registered: Jul 2004
Location: Chicago
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43
Rep:
|
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?
|
|
|
07-31-2006, 03:03 AM
|
#8
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
@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...
|
|
|
07-31-2006, 03:21 AM
|
#9
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
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
|
|
|
11-21-2006, 09:26 AM
|
#10
|
LQ Newbie
Registered: Feb 2003
Posts: 5
Rep:
|
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.
|
|
|
11-22-2006, 03:27 AM
|
#11
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Try uninstalling with yum and then reinstall with yum
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|