LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-15-2002, 03:49 PM   #1
allel
LQ Newbie
 
Registered: Jul 2002
Location: Vancouver, BC, Canada
Distribution: red hat 7.3 with XFS filing system from SGI.com (on my still alive P1-150 MMX)
Posts: 4

Rep: Reputation: 0
Unhappy /var/log/messages contains "localhost" instead of the real hostname


hi to all,

thanks for giving me an account (posting in) in linuxquestions.org.

i'm a linux newbie or intermediate.

this is my first posting on linuxquestions.org.

i have a linux on my (still alive) P1-150 MMX running red hat 7.3 with XFS filing system (not ext2 nor ext3) which i got from SGI.com. XFS filing system will be my future self-studies.

anyway, without going around the bush, my problem is not really on my filing system, i guess. i am 100 % sure that it would be a simple problem with a simple solution YOU GUYS KNOW already .

this is it, the GIVEN and the PROBLEM :
- one time i ssh2 to my linux box using PuTTY 0.52 (2001)
- done via my PIII-500 windoze 2k adv svr computer
- i just had the need to do "/etc/rc.d/init.d/network restart"

now, when i "more..." or "cat /var/log/messages" as user root, i see the word `localhost' instead of the real hostname of my linux machine.

what happened?

what is the impact/implication in the future?

i don't just want to reboot my linux box. i want to know the proper "fix" if there is any and if it is really considered a fix.

thank you very much.
allelallel@yahoo.com
 
  


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
How to change prompt hostname "localhost"? Arodef Fedora 3 08-02-2004 07:45 AM
"Real time" Apache log filtering with Perl skelly Programming 1 07-01-2004 03:24 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 01:18 AM
xstart: Cannot move old "/var/log/XFree86.0.log.old" linuxgamer09483 Linux - Newbie 2 02-18-2004 08:52 PM
hostname in /var/log/messages not printing bkevind Linux - Newbie 4 01-07-2004 09:39 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration