Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
04-19-2004, 11:26 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Colorado
Distribution: Red Hat 9
Posts: 5
Rep:
|
Apache httpd start failed on fedora core 1
I am trying to get the webserver going on my development computer so I can work on the new Beta I am doing for my companies website. I go to the services window and set it to start httpd, I then restart my computer and lo and behold, absolutly nothing happens. I go back into services and attempt to start it, and it says, "Starting httpd: failed"
Next i try running httpd from the init.d folder and it gives me the same thing. No matter how hard I try, it won't start, or even give me a meaningful error message.
I am running Fedora Core 1.
Thanks in advance.
|
|
|
04-19-2004, 11:37 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Have you checked your logs at all? What about trying a apachectl configtest to test your httpd.conf file? What version of apache? What error do you get when attempting to run from the command line and what command are you using to start it?
|
|
|
04-19-2004, 11:39 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Fedora
Posts: 254
Rep:
|
can you copy the relvant lines of error.log you will find this file in /var/log/ or if you install apache from source then in apache2/logs/ directory
|
|
|
05-03-2006, 04:21 PM
|
#4
|
Member
Registered: Oct 2005
Location: Uruguay
Distribution: CentOS 6.6 Ubuntu 12.4 MacOS 10.9
Posts: 121
Rep:
|
I have the same problem after installing FC3. It was installed in the same computer and running. I clean reinstalled it again.
apachectl configtest: syntax OK. All ways to start httpd:all answers were the same cold "httpd startup failed".
|
|
|
05-04-2006, 04:28 AM
|
#5
|
Member
Registered: Jan 2005
Location: UK
Posts: 55
Rep:
|
Is there anything in the log file /var/log/messages anything in apache's error log.
If the configuration syntax is ok, check permissions and aaccess controls on configuration file, log files and document root.
If you have selinux enabled on this machine check that you files have the correct selinux context or temporarily disable it and try to start the webserver.
I have also seen apache fail to start if you have specified a log file location that does not exist, so check your syntax against your filesystem structure.
Any error messages you think are relevant, please post here so people can assist you.
|
|
|
05-04-2006, 04:59 AM
|
#6
|
Member
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451
Rep:
|
What if you try to restart it? Does that work?
I'm just thinking that it's already running so that's why the start is failing. Try to check whether it's running or not:
Code:
/etc/init.d/apache2 status (or where your apache is located)
OR
ps aux| grep httpd
|
|
|
05-04-2006, 03:19 PM
|
#7
|
Member
Registered: Oct 2005
Location: Uruguay
Distribution: CentOS 6.6 Ubuntu 12.4 MacOS 10.9
Posts: 121
Rep:
|
I've just installed all available updates for fedora3, including httpd
Reboot: all services green started, httpd red failed.
SELINUX=disabled
apachectl configtest -> Syntax OK
Apache 2
/var/log/messages displays three lines:
ntpd[3215]: synchronized to LOCAL(0), stratum 10
ntpd[3215]: synchronized to LOCAL(0), kernel time sync disabled 0041
httpd: httpd startup failed
ps aux| grep httpd
root 4376 0.0 0.1 3728 680 pts/1 S+
Thanks for your help
|
|
|
05-04-2006, 04:45 PM
|
#8
|
Member
Registered: Oct 2005
Location: Uruguay
Distribution: CentOS 6.6 Ubuntu 12.4 MacOS 10.9
Posts: 121
Rep:
|
I did not browse /etc/httpd/conf/error-log
Log dir was not created.
|
|
|
05-04-2006, 04:45 PM
|
#9
|
Member
Registered: Oct 2005
Location: Uruguay
Distribution: CentOS 6.6 Ubuntu 12.4 MacOS 10.9
Posts: 121
Rep:
|
I did not browse /etc/httpd/conf/error-log
Log dir was not created.
|
|
|
05-05-2006, 04:05 AM
|
#10
|
Member
Registered: Jan 2005
Location: UK
Posts: 55
Rep:
|
can you post your config file
|
|
|
05-05-2006, 07:40 AM
|
#11
|
Member
Registered: Oct 2005
Location: Uruguay
Distribution: CentOS 6.6 Ubuntu 12.4 MacOS 10.9
Posts: 121
Rep:
|
Sorry if I was not clear.
I solve the problem.
/etc/httpd/conf/error-log informed that a log directory was not found, so I created it. Thanks.
|
|
|
All times are GMT -5. The time now is 08:54 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
|
|