View Full Version : [ubuntu] apache - starting problem
March 13th, 2010, 09:29 AM
I have this problem with apache...
Is not starting when i start the system and when i try to start it manually it give me this error
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
March 13th, 2010, 10:00 AM
Try this (http://wiki.apache.org/httpd/CouldNotDetermineServerName) out, might help. Just be carefull about what file you should use, I'm not sure if it's httpd.conf or apache2.conf.
Does it help?
March 13th, 2010, 10:42 AM
I remembered about this good material
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn
$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 [ OK ]
Thanks again for helping,
March 13th, 2010, 02:38 PM
so, after restart i see that the problem is not solved anymore :(
i have no error message but the apache is not starting automatically wen i start the system
March 13th, 2010, 03:34 PM
update-rc.d <name_of_the_serivce> defaults or something like that. If I'm not mistaken the name of the service is apache2 ...
March 13th, 2010, 04:08 PM
ya... I've tried this:
sudo update-rc.d apache2 defaults
and now is starting perfect
Thanks Helgman, you saved my day.
March 15th, 2010, 06:08 PM
I don't now what is happening but after second reboot apache will not start anymore...
so, I've reinstall apache 2 and all dependencies and... I have the same problem
apache will not start after the second restart of the system and I have to start it manually
I don't now what to say more
March 15th, 2010, 06:39 PM
after siting disappointed in my chair ... I've had new idea
how about to force setting symlinks to default
sudo update-rc.d -f apache2 defaults
And now seems to work, how it should be working.
March 15th, 2010, 08:03 PM
When you mention the -f I do remember it. Sorry for the (hopefully) temporary memory laps. Glad you figured it out!
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.