not able to start up apache correctly due to fqdn issue
Hello everybody..
Problem received when I start apache(./apachectl start): [root@voyager bin]# ./apachectl start httpd: Could not determine the server's fully qualified domain name, using 192.168.2.4 for ServerName -running mandrake 9.2 -trying to setup a namebased virtual host... -apache seems to be running because the default page does appear.. ------------ /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.2.4 voyager hostname=voyager ---------------------- /etc/httpd/conf/httpd.conf. copy/pasted part of it.. ServerType standalone ServerRoot /wwwroot/apache2 ServerName voyager #LockFile /etc/httpd/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /etc/httpd/httpd.scoreboard ErrorLog logs/error_log LogLevel warn ResourceConfig /dev/null AccessConfig /dev/null DocumentRoot /var/www/html ------------------------------------------------- /etc/sysconfig/network HOSTNAME=voyager NETWORKING=yes GATEWAY=192.168.2.1 any ideas |
Quote:
shouldn't be there ... never seen any entries like that one before :) and the man page certainly doesn't warrant it, either. Cheers, Tink |
HI thanks for the reply..
------------ /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.2.4 voyager hostname=voyager i added the last line based on a research i did to resolve this problem but problem still remains. but if its incorrect i will remove it. problem still remains |
Next question ... is the machine only meant
to be visible on your intranet? What does your /etc/host.conf look like? Code:
order hosts, bind Tink |
the machine is being setup to be visible from the internet. so, it will be available to be accessed through the internet..
as per the file /etc/host.conf order hosts, bind multi on nospoof on spooflaert on |
All times are GMT -5. The time now is 12:31 AM. |