Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 17, 2011 3:49 am 
Offline
Senior Newbie

Joined: Wed Aug 17, 2011 2:07 am
Posts: 12
I've followed the directions at http://library.linode.com/lamp-guides/u ... 0.04-lucid through "Install and Configure the Apache Web Server".

But, when I go to start apache2 using "/etc/init.d/apache2 start," the follow is displayed:

* Starting web server apache2
...fail!

What could be the issue here?


Top
   
 Post subject:
PostPosted: Wed Aug 17, 2011 4:05 am 
Offline
Senior Newbie

Joined: Wed Aug 17, 2011 2:07 am
Posts: 12
I just uninstall apache2 using "apt-get purge apache2". Then I installed it again. Something that might be useful, this showed up during the install:


Setting up apache2-mpm-worker (2.2.14-5ubuntu8.4) ...
* Starting web server apache2
...fail!
invoke-rc.d: initscript apache2, action "start" failed.


Top
   
 Post subject:
PostPosted: Wed Aug 17, 2011 4:12 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Is there any relevant information in /var/log/apache2/error.log or similar?


Top
   
 Post subject:
PostPosted: Wed Aug 17, 2011 5:13 am 
Offline
Senior Newbie

Joined: Wed Aug 17, 2011 2:07 am
Posts: 12
Yes, I finally figured to check the error.log file. The issue was with a virtual host file that I setup incorrectly.

I deleted it and disabled the site... things are working now.


Thanks!


Top
   
PostPosted: Thu Jul 26, 2012 7:42 pm 
Offline

Joined: Thu Jul 26, 2012 7:38 pm
Posts: 1
This is likely an issue with your virtual hosts configuration file.
Most likely under /etc/apache2/sites-available/example.com if you followed the linode tutorial.
Check that everything is correct in the file. I had this issue where I had ~/public/logs/ in the config file but only had a directory ~/public/log/

Not the most helpful error when you just get [fail] ...


Top
   
PostPosted: Fri Jul 27, 2012 3:01 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
Or you could read the last post and discover that the issue was fixed.


Top
   
PostPosted: Fri Jul 27, 2012 5:48 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
@ktown

Let me guess, you always played a cleric in your AD&D games right?

//way to resurrect a year old thread//

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Fri Jul 27, 2012 10:06 pm 
Offline
Senior Member

Joined: Thu Oct 08, 2009 5:07 pm
Posts: 99
Funky virtualhost debug command:

sudo apachectl -t -D DUMP_VHOSTS

PS didn't realise this was an old thread, sorry.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group