Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th February 2009, 00:02
2smooth 2smooth is offline
Junior Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache2 not starting anymore

Apache does not start anymore, i did an upgrade of alle pakages, but i'm not sure if this is causing the problem.

When i try to start apache manually or automatically after reboot, nothing happens. No error,

* Starting web server apache2 [ OK ]

There's no error message in error.log, neither in syslog...

I checked if there was an proces with

ps ax | grep -i apache

Nothing.

I'm running Ubuntu Hardy
Reply With Quote
Sponsored Links
  #2  
Old 4th February 2009, 07:47
DigitalLinx DigitalLinx is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to DigitalLinx Send a message via MSN to DigitalLinx
Default

Run apache in debug mode, post the output
Code:
/usr/sbin/apache2 -X
Reply With Quote
  #3  
Old 4th February 2009, 12:11
2smooth 2smooth is offline
Junior Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DigitalLinx View Post
Run apache in debug mode, post the output
Code:
/usr/sbin/apache2 -X

Code:
# /usr/sbin/apache2 -X
apache2: bad user name ${APACHE_RUN_USER}
Code:
in the output of strace /usr/sbin/apache2 -X

i also see these lines:
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
..cut..
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
..cut..
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
..cut..

Last edited by 2smooth; 4th February 2009 at 12:13.
Reply With Quote
  #4  
Old 4th February 2009, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
apache2 -t
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 4th February 2009, 18:12
2smooth 2smooth is offline
Junior Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
apache2 -t
?
#apache2ctl configtest
Syntax OK

# apache2ctl restart
httpd not running, trying to start

# ps aux | grep -i apache
root 8353 0.0 0.0 5164 916 pts/0 S+ 16:58 0:00 grep -i apache

#apache2ctl status

#apache2ctl restart
httpd not running, trying to start


#apache2ctl status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/server-status
Reply With Quote
  #6  
Old 4th February 2009, 18:27
2smooth 2smooth is offline
Junior Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I've reinstalled apache after purging everything and it seems it's working again...
Reply With Quote
Reply

Bookmarks

Tags
apache2

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSI with Apache2 on Debian jchaven Server Operation 7 25th August 2008 17:06
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Apache is not starting at boot LeoLinux Installation/Configuration 3 13th August 2007 12:08
dns server error Hellbound General 7 2nd August 2007 09:18
apache2 not starting denni1 Server Operation 2 28th April 2007 18:50


All times are GMT +2. The time now is 02:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.