LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2003, 12:57 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
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
 
Old 11-23-2003, 03:07 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
------------
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.2.4 voyager
hostname=voyager
I'm fairly certain that the last line
shouldn't be there ... never seen
any entries like that one before :)
and the man page certainly doesn't
warrant it, either.


Cheers,
Tink
 
Old 11-23-2003, 03:14 PM   #3
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Original Poster
Rep: Reputation: 15
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
 
Old 11-23-2003, 04:30 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
multi on
Cheers,
Tink
 
Old 11-23-2003, 04:43 PM   #5
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Original Poster
Rep: Reputation: 15
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
 
  


Reply


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
NFSd fails to start due to RPC? TexasDex Linux - Software 10 03-23-2010 03:02 AM
I followed everything correctly but startx refuses to start x, among other problems.. Mr. Hill Debian 10 04-01-2005 11:53 AM
Gnome doesn't start correctly soren625 Linux - Software 0 07-08-2004 05:36 PM
eMail Blocked due to Reverse DNS Issue VorlonInfoTech Linux - Networking 4 06-23-2004 05:23 PM
I can't start Win XP due to disk error after RH9 instalation ! sydzmizaar Linux - General 5 11-24-2003 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration