This is a discussion on Hostname change problem within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I had to change the hostname of my AIX 5.2 machine in the DNS. Subsequently, I changed the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I had to change the hostname of my AIX 5.2 machine in the DNS. Subsequently, I changed the hostname using smit so that we get the new hostname when using the "hostname" command. After changing this, the "hostname" command is giving the new hostname, which is fine. But "uname -a" is still displaying the old hostname. I cannot reboot my machine for certain reasons. Is there any workaround possible? Are there any files which if changed manually, will solve this problem? Any help will be appreciable. Thanks in advance, Anunay |
| |||
| The "uname" of the machine is different from the "hostname" and it is best to administer AIX via "smit" and not via individual commands and files. Use "smit tcpip", "Basic Configuration" and change the name there. This does not require a reboot. |
| |||
| In article <1136288984.074184.136090@g43g2000cwa.googlegroups .com>, Anunay <anunaygupta@gmail.com> wrote: > I changed hostname from the same place u r referring to. > After this, the "hostname" cmd returns the new hostname but the "uname > -a" still displays the old one. I want the uname -a output to be the > same as well. # uname -S newhostname (where it's the short, non-FQDN hostname, not the long one with domain.) -Dan |