<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 11.31 hostname change issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6168261#M602783</link>
    <description>&lt;P&gt;the length of the new hostname was 7 chars, the old was 6 chars&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2013 14:29:20 GMT</pubDate>
    <dc:creator>Dave Chamberlin</dc:creator>
    <dc:date>2013-08-13T14:29:20Z</dc:date>
    <item>
      <title>11.31 hostname change issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6160763#M602781</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Greetings, running hp-ux 11.31 on PA-RISC rp7420. I was shown a way to change the hostname on 11.31 by 1) editing the /etc/hosts file with the new name, 2) editing the /etc/rc.config.d/netconf with the new name then running /sbin/init.d/hostname start. I have done this several times in the past now, but recently, the hostname is not changed doing this. A uname or hostname command shows the original hostname. If I run set_parms hostname though, it indicates the hostname&amp;nbsp;has already&amp;nbsp;changed and I have the option to keep it or change it. Either way - after running set_parms, the name really is changed - as verified by uname and hostname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; More curious - I can revert to the original hostname&amp;nbsp;with the initial procedure (ending with /sbin/init.d/hostname start) and do not need to run set_parms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can someone explain this behavior?&amp;nbsp; thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 16:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6160763#M602781</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2013-08-06T16:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 hostname change issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6162107#M602782</link>
      <description>&lt;P&gt;What is the length of the new hostname? Is it longer than the old one? Longer than 8 characters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Old versions of HP-UX had a hostname length limit of 8 characters. Then it became possible to extend the hostname beyond 8 characters, but if you did that, you had to also specify a 8-characters-or-less version as a "nodename", to be used by UUCP utilities and possibly other legacy stuff. When the hostname was 8 characters or less, the convention was for the nodename to be automatically set equal to the hostname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In 11.31, even the nodename can be extended beyond 8 characters, but you must activate certain configuration options to do so. It's possible that set_parms includes the functionality to make the necessary configuration changes automatically, while the other ways to change the hostname do not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 14:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6162107#M602782</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-08-07T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 hostname change issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6168261#M602783</link>
      <description>&lt;P&gt;the length of the new hostname was 7 chars, the old was 6 chars&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 14:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6168261#M602783</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2013-08-13T14:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 hostname change issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6168547#M602784</link>
      <description>&lt;P&gt;If you look at what the /sbin/init.d/hostname script is doing, it is first sourcing the configuration files within the /etc/rc.config.d/ as specified by /etc/rc.config. &amp;nbsp;This will get the HOSTNAME value from the netconf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Do you happen to have multiple 'netconf*' files in the /etc/rc.config.d directories?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value is passed to the 'hostname' and 'uname -S' commands to set the name of the host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the following to show what the hostname script is doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; # sh -x /sbin/init.d/hostname start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Look for the line HOSTNAME=xxxxxxx&amp;nbsp;&lt;/SPAN&gt;and then the commands being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Bob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-hostname-change-issue/m-p/6168547#M602784</guid>
      <dc:creator>Robert_Jewell</dc:creator>
      <dc:date>2013-08-13T18:07:21Z</dc:date>
    </item>
  </channel>
</rss>

