LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-13-2004, 02:29 PM   #1
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Apache start fails... no error messages given


Hi,

I have Fedora Core 1 and installed Apache server form its instalation CDs. I try yo do

service http start

but

Starting httpd: [FAILED]

I donīt get any error message... anybody knows where to find them?

Thanks in advance
 
Old 05-13-2004, 02:38 PM   #2
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
maybe you get an error because Apache is ALREADY running.

try this command "apachectl graceful"

if this command doesnt exist under you distribution i can't help you sorry..


Matteo
 
Old 05-13-2004, 03:37 PM   #3
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
No, it is not the problem, I tried /usr/sbin/apachectl graceful , told me that httpd is not running and tried to start it... but no success, no error message again. I also tried service httpd restart and doesnīt stop anything (since is not runing).... thanks for your try anyway.

Any other idea?
 
Old 05-13-2004, 03:48 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Also try 'apachectl configtest' to see if your httpd.conf is syntacticly correct.

What does the apache error log say?

If you don't know where it is try
/var/log/apache*

or:

locate error_log

Last edited by bulliver; 05-13-2004 at 03:50 PM.
 
Old 05-13-2004, 04:04 PM   #5
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Nothing special. It gives three lines every time I try to start it:

[Thu May 13 21:39:11 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu May 13 22:07:27 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu May 13 22:07:27 2004] [notice] LDAP: SSL support unavailable
[Thu May 13 22:07:28 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu May 13 22:07:31 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu May 13 22:07:31 2004] [notice] LDAP: SSL support unavailable
[Thu May 13 22:07:32 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)


is any of these lines problematic?
 
Old 05-14-2004, 11:16 AM   #6
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Nope this lines ok for what I can see..

You might want to look into
/var/log/message
error logs doesn't contain nothing before the server is started..

Last edited by LuggerHouse; 05-14-2004 at 11:17 AM.
 
Old 05-15-2004, 07:18 AM   #7
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
No more information than the command line in /var/log/messages

May 15 13:23:08 gandalf httpd: httpd startup failed


My system seems a little bit inexpresive. Isnīt it there any oher log or something?. Thanks for your replys... :-(
 
Old 05-25-2004, 08:30 PM   #8
TheGiantHogweed
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
php

Don't know if this is any help but I just had the same problem on a Debian Testing machine, I fixed it by upgrading php4 to the latest version.

Good luck!
 
Old 05-26-2004, 12:09 AM   #9
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
did you compile anything into apache. From source, what distro are you using.

More importantly, have you edited you conf file? if so post some of it.
 
Old 05-26-2004, 12:43 AM   #10
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Rep: Reputation: 15
you may want to start it with

Code:
httpd -e debug
might give you more of an idea what going on


http://httpd.apache.org/docs-2.0/mod/core.html#loglevel

Last edited by Jonasx; 05-26-2004 at 01:26 AM.
 
Old 05-26-2004, 04:50 AM   #11
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks Jonasx

I found it was a problem of SSL configuration. Still wondering why Apache didn't dive any error on this. Anyway, is good to know there is a debug mode!!!. May be useful in the future.
 
Old 05-28-2004, 09:43 PM   #12
TuxLives
Member
 
Registered: Sep 2003
Location: Tacoma, WA
Distribution: Mandriva all the way
Posts: 145

Rep: Reputation: 15
Where did you find yer answer? I have the same issue after upgrading to Man 10 (At Work!). Worked great at home, no errors nothing, here it just wont start.

I don't see any ssl mods in the httpd2.conf

Help!!!
 
Old 05-29-2004, 08:07 AM   #13
esmiz
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I was lucky, just edited a couple of lines in ssl.conf and worked.

# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
#SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server-dsa.key


these lines where what I changed.

Maybe you should try:

httpd -e debug

to see what happens Apache tells..
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache fails with pidfile error synaptical Debian 2 08-07-2005 09:22 AM
apache mod_ssl startup failed with no error messages! aaronvegh Linux - Networking 2 06-06-2005 07:44 PM
apache fails on start: error 256 sohmc Linux - Networking 0 01-07-2005 08:32 AM
Apache start error varunbihani Linux - Software 1 05-06-2004 01:39 PM
apache start error automicro Linux - Newbie 2 08-01-2003 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:54 AM.

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