[lug] Hostname problem

KoolMan koolman at h2net.net
Wed Nov 15 13:21:14 MST 2000


I belelive that your /etc/HOSTNAME and /etc/hosts files both need to contain
refrence to "oldschool" not just /etc/HOSTNAME actually I'm quite shure of
this..

And Dan your /etc/HOSTNAME file just contains the hostname not the IP
address associated with the host name that is the job of /etc/hosts


Brian Carpio - MCP + I, SCSA, (soon to be RedHat Certified)
----- Original Message -----
From: "Dan Radom" <dradom at redback.com>
To: <lug at lug.boulder.co.us>
Sent: Tuesday, November 14, 2000 10:47 PM
Subject: Re: [lug] Hostname problem


> Shouldn't the entry in your hosts file contain an IP?  If not how can it
> resolve oldschool.  Just a thought.
>
> ----- Original Message -----
> From: "Justin" <glowecon at netscape.net>
> To: "BLUG" <lug at lug.boulder.co.us>
> Sent: Tuesday, November 14, 2000 3:50 PM
> Subject: [lug] Hostname problem
>
>
> For some reason one of my boxes is not using the correct hostname in the
> /var/log/messages. It shows the machine name as localhost instead of my
real
> hostname that is specified in /etc/HOSTNAME. I cut out a short example of
> what
> is going on:
>
> [glowecon at oldschool glowecon]$ cat /etc/HOSTNAME
> oldschool
> [glowecon at oldschool glowecon]$ tail -15 /var/log/messages
> Nov 14 14:45:51 localhost PAM_pwdb[19383]: (su) session closed for user
root
> Nov 14 14:55:04 localhost PAM_pwdb[19442]: (su) session opened for user
root
> by glowecon(uid=500)
> Nov 14 14:55:57 localhost PAM_pwdb[19442]: (su) session closed for user
root
> Nov 14 14:59:06 localhost PAM_pwdb[19468]: (su) session opened for user
root
> by glowecon(uid=500)
> Nov 14 14:59:43 localhost PAM_pwdb[19468]: (su) session closed for user
root
> Nov 14 15:08:39 localhost named[487]: Cleaned cache of 0 RRsets
> Nov 14 15:08:39 localhost named[487]: USAGE 974239719 971219314
> CPU=0.01u/0.06s CHILDCPU=0u/0s
>
> Correct me if I'm wrong, but shouldn't "oldschool" be in place of all the
> "localhost" entrys in the syslog? None of my other boxes do this, and yes
> I've
> rebooted after changing the hostname, many times and try's at that. Any
> ideas?
>
> Justin
>
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at
> http://home.netscape.com/webmail
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
>





More information about the LUG mailing list