![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Beans: 159
|
Could not reliably determine the server's fully qualified domain name, using 127.0.1,
In Short the problems:
Qualified domain name not f
Hello, while installing apache 2 an error msg about a qualified domain name appeared: Code:
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName According to other posts I added ServerName "localhost" to the apache2.conf and restarting apache2 made the error about qualified domain name vanish. However, I still cannot open localhost to get the message "It works". I edited the /etc/apache2/sites-available/default file and changed the Document Root and the default directory - NO SUCCESS: Code:
[DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/apache2-default>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
Here also the data from the /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ben-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Bottomline: opening http://localhost does not show any page. HELP VERY MUCH APPRECIATED!! ben |
|
|
|
|
|
#2 |
|
Ubuntu addict and loving it
![]() |
Re: Could not reliably determine the server's fully qualified domain name, using 127.
will it load if you use 127.0.0.1?
__________________
Main system: Debian Lenny(64bit) + XFCE4 AM2 5200+ 2gig RAM, 2X160Gig HD what's the difference between an answer and a solution? An answer is what they want to hear, a solution is what they don't want to hear |
|
|
|
|
|
#3 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Beans: 159
|
Re: Could not reliably determine the server's fully qualified domain name, using 127.
|
|
|
|
|
|
#4 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Beans: 159
|
Re: Could not reliably determine the server's fully qualified domain name, using 127.
> > ben@ben-desktop:~$ sudo netstat -anp | grep '^tcp.*LISTEN'
> > [sudo] password for ben: > > tcp 0 0 0.0.0.0:80 0.0.0.0:* > > LISTEN 5114/apache2 So apache is listening on port 80 of all IP addresses. This is as it should be. Then why can't you connect? It could be any number of reasons, but very few of them have anything to do with apache configuration. That is why I again recommend you head over to a ubuntu forum where they understand how your system is setup. You could have a firewall in place. You could be connecting from the wrong machine. There could be some deeper network configuration error on the box. I don't know. Joshua. This answer I got from Apache support. Maybe some Ubuntu user can be of help. |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() |
Re: Could not reliably determine the server's fully qualified domain name, using 127.
Well, IDK if this will help, but with apache comes 2 relevant functions.
a2ensite and a2dissite My guess is that apache doesn't have a site enabled. Is there anything in /etc/apache2/sites-enabled/ ? If there isn't try running the following command sudo a2ensite default That will (In theory) enable the default site Cheers, Belak
__________________
Registered Linux User # 469449 | Registered Ubuntu User # 21486 My Tutorials: Convert SysLinux entries into Grub Entries | Ultimate USB Recovery Drive Chuck Norris can restore a system from sudo rm -rf /. You can't. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|