LinuxQuestions.org
Review your favorite Linux distribution.
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-20-2011, 06:04 PM   #1
jtt89
LQ Newbie
 
Registered: Oct 2011
Posts: 17

Rep: Reputation: Disabled
/etc/host


I know this is not very important but I get this error after service httpd star:

httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

I change /etc/hosts from:

10.0.3.15 myhost # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 myhost localhost6.localdomain6 localhost6

to:

10.0.3.15 myhost # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 myhost myhost.com

But the file comes back to its original form after I reboot the system, and then I get the same error...
 
Old 11-20-2011, 06:16 PM   #2
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 827

Rep: Reputation: 200Reputation: 200Reputation: 200
When any Unix boots up, it looks in /etc/rc.. for some default (and their custiomised) boot scripts. See which script is putting back the original.

OK
 
Old 11-20-2011, 08:44 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,005
Blog Entries: 13

Rep: Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025
What distro are you using? Different distros put the startup scripts in slightly different places.
 
Old 11-21-2011, 03:20 AM   #4
jtt89
LQ Newbie
 
Registered: Oct 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
Centos 6
 
  


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
Forwarding ping packets from one 1st host to 2nd host via 2rd host sachee Linux - Networking 1 09-25-2011 01:51 PM
VirtualBox: Slackware64 host and guest; NFS mount from host fails catkin Linux - Virtualization and Cloud 0 11-15-2010 06:54 AM
try install host ; bind9-host uninstalled , how to undo sudo apt-get install host? shojaru Linux - Newbie 0 06-11-2009 12:45 AM
Required to achieve host to host communication via USB file transfer cable may1284 Linux - General 1 03-14-2007 04:02 PM


All times are GMT -5. The time now is 08:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration