LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 03-01-2012, 08:31 AM   #1
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Question Strange error starting apache - not showing up in google ;-)


Ok, so it's a gentoo distro on a virtual box patched up to the latest of everything, and etc-update and revdep-rebuild are not asking to do anything either. I'm trying to start Apache using any of the following:
Code:
/etc/init.d/apache2 start
/etc/init.d/apache2 restart
apache2ctl start
apache2ctl restart
and when doing so I get:

Code:
 * Starting apache2 ...
 * start-stop-daemon: failed to start `/usr/sbin/apache2'        [ ok ]
which it clearly isn't, because I would like to see it running. Not sure what you'd need to see in the way of conf files and the like so do let me know. What I can tell you is that an
Code:
apache2ctl configtest
came back with no errors, so in that sense things are just fine.

As ever, your ideas, suggestions, and solutions gratefully accepted!

Kind Regards
Marcus
 
Old 03-01-2012, 09:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
don't use the service script. run the httpd binary in foreground with debugging as a starting point for info. You've also not mentioend the apache error_log file... is it OK?
 
Old 03-01-2012, 10:06 AM   #3
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Ah, well the error_log tells me this:
Quote:
[Thu Mar 01 16:03:35 2012] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address of "bab2"
 
Old 03-01-2012, 10:13 AM   #4
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
... which has led me to the solution for the problem. There was no alias for bab2 in my /etc/hosts file. Thanks so much acid_kewpie, that really resolved matters for me!
 
  


Reply

Tags
apache, apache2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 custom 500 error not showing after php syntax error vockleya Linux - Server 7 08-11-2011 04:42 PM
[SOLVED] Error starting Google Chrome. hackum Slackware 10 05-06-2011 01:40 PM
Apache Virtual Hosts (strange warning error when starting) Maeltor Linux - Software 2 06-08-2006 02:48 PM
Apache Virtual Hosts (strange warning error when starting) Maeltor Linux - Kernel 1 06-08-2006 10:47 AM
apache, fedora, strange starting up mazonka Linux - Software 3 11-25-2005 03:38 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration