changing hostname => errors

From: Pim Vullers (pimvullers_at_hotmail.com)
Date: 10/14/03


Date: Tue, 14 Oct 2003 15:17:07 +0200

Hello,

During the installation of my linux system I gave it the hostname
'linux'. Now i've got a extra linux pc in my network (hostname: server)
and so I want to change the hostname of the first pc so it doesn't get
confusing. I did this by changing /etc/HOSTNAME. I replaced linux by
woody, the new name I want to use.

But now I get error messages from programs like lpc (and some others).
when I try to run it I get the following message:

root@woody:/home/pim# lpc
Get_local_host: hostname 'woody.localdomain' bad
root@woody:/home/pim#

Has anybody any idea what's going wrong here?? Don't I have a free
choice to choose and change the hostname everytime I want to, or is this
only possible when installing the system? Is there no decent way to
change it afterwards?

My system is a pentium 2 266mhz, 192mb ram, 10GB hd, slackware 9.1.

Could someone help me, please?

With kind regards,

-- 
Pim 'WWWebMaster' Vullers             ////      http://www.vullersnet.tk
pimvullers@hotmail.com               (@ @)               vullers@home.nl
---------------------------------oOO--(_)--OOo--------------------------


Relevant Pages

  • Re: Help w/ Not-booting Problem
    ... >No - setting the hostname is one element in the boot process. ... I have had a working system of RedHat Linux 7.2 for several months. ... >external DNS server on an adsl router! ... >You appear to have a networking problem. ...
    (comp.os.linux.misc)
  • jboss and mysql5 cant resolve hostname with dsl
    ... I'm running 9.3 and dhcp is _not_ set to change the hostname. ... My default hostname is 'linux'. ... The MySQL daemon, mysqld, should work ... # Modified_by: pppd ...
    (alt.os.linux.suse)
  • Re: Freezes in an hour or so...
    ... > It freezed with Mozilla, ... Is it just certain applications freezing, ... If you are using dhcp have you set it in Linux ... to NOT change your hostname (changing hostname on the fly can throw a ...
    (comp.os.linux.networking)
  • Default list of exported variables in sh(1) - $HOSTNAME
    ... because $HOSTNAME is exported by default. ... because Apache is spawned from shfrom rcand in FreeBSD ... Linux soundwave 2.6.25.14-108.fc9.x86_64 ... Bash has set_machine_varsin variables.c: ...
    (freebsd-questions)
  • Re: DHCP working but not assigning clients names.
    ... But it doesn't give the PCs connecting a ... > I'm attaching the dhcpd.conf I'm using to teach RHCE class this week, ... automatically give each PC the next available IP with the same hostname? ... Linux is easy, lazy people critise, curse and fail. ...
    (Fedora)