<?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: Couldn't change system name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802711#M82292</link>
    <description>Hi Vic,&lt;BR /&gt;&lt;BR /&gt;What is the /etc/rc.config.d/redconf file, and why does it have an entry for HOSTNAME in it?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Sep 2002 17:43:47 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2002-09-10T17:43:47Z</dc:date>
    <item>
      <title>Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802699#M82280</link>
      <description>Hi all,&lt;BR /&gt;    I have a strange problem that I really need to get the help from you. &lt;BR /&gt;My system is HP-UX   B.11.00 U 9000/800 138901587 unlimited-user license , the last patch is PHSS_23823.&lt;BR /&gt;old system name: unixh100   &lt;BR /&gt;new system name: unixh145  ( no ip change)&lt;BR /&gt;Application: CiscoWorks 2000&lt;BR /&gt;No DNS enabled&lt;BR /&gt;&lt;BR /&gt;I used the set_parms initial to change the system name to unixh145,then reboot the box, but the system name is still unixh100 when it back, I check the /etc/hosts and /etc/rc.config.d/netconf, there are only unixh145 there no unixh100 exist in these file.&lt;BR /&gt;Checked from SAM, the system name was still unixh100, change it to unixh145 and exit SAM, logout and login again, system name is unixh145 now; But if I reboot the box, it will still be unixh100.&lt;BR /&gt;If you need more messages please let me know,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   Any suggestions will be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Vic&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 18:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802699#M82280</guid>
      <dc:creator>ChuanH</dc:creator>
      <dc:date>2002-09-09T18:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802700#M82281</link>
      <description>Hi Vic,&lt;BR /&gt;&lt;BR /&gt;Check to make sure that you don't have any extra copies of netconf in your /etc/rc.config.d directory (netconf.save, netconf.old, etc.)  One of our guys got bitten by this problem a few weeks ago when he had made a copy of the netconf file in /etc/rc.config.d.  The rc script will include all the files in that directory, so any copies will get included after the regular file.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 18:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802700#M82281</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-09-09T18:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802701#M82282</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;set_parms should change the system name.&lt;BR /&gt;&lt;BR /&gt;During the system bootup process, the hostname is setup with the rc scripts /sbin/init.d/hostname. So try running the script "/sbin/init.d/hostname start" after the system came up with the old hostname.&lt;BR /&gt;&lt;BR /&gt;I feel that there might be someother III party rc script that is hardcoded with your old hostname running "hostname" command later.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 09 Sep 2002 18:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802701#M82282</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-09-09T18:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802702#M82283</link>
      <description>set_parms hostname&lt;BR /&gt;&lt;BR /&gt;should have been sufficient. Also check /etc/hosts and /etc/net/*/hosts.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 09 Sep 2002 18:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802702#M82283</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-09-09T18:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802703#M82284</link>
      <description>&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;. /etc/rc.config.d/netconf&lt;BR /&gt;echo $HOSTNAME&lt;BR /&gt;&lt;BR /&gt;If it returns the old name, then see how many times HOSTNAME= appears in the netconf file? On special occasions I've found a redundant set of variables at the end of the file clobbering everything else at the top.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 18:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802703#M82284</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-09-09T18:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802704#M82285</link>
      <description>&lt;BR /&gt;Good call, Poff. As a rule, never keep such copies in the same location. However, if you ever need to, they must be preceded by dot, comma, tilde, or hash ([.,~\#]) as dictated by /etc/rc.config.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Sep 2002 18:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802704#M82285</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-09-09T18:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802705#M82286</link>
      <description>Hi John,&lt;BR /&gt;Isn't that funny. I just saw the same thing on a coworkers test(play) system where he generated a .old backup of the netconf file and it kept changing the hostname back on him. Poor guy played with it for a couple of days before asking for help.&lt;BR /&gt;I'd never seen this before, but it made for a cute learning experinece.&lt;BR /&gt;&lt;BR /&gt;Hi Vic,&lt;BR /&gt;Sounds like John my be on the money.&lt;BR /&gt;&lt;BR /&gt;Good luck to you,&lt;BR /&gt;Kel</description>
      <pubDate>Mon, 09 Sep 2002 20:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802705#M82286</guid>
      <dc:creator>Kelli Ward</dc:creator>
      <dc:date>2002-09-09T20:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802706#M82287</link>
      <description>NOTE: If you use Omniback, you will have to do additional work, because the hostname is used for the Omniback Cell Name.&lt;BR /&gt;&lt;BR /&gt;I have attached a file containing the stages required.</description>
      <pubDate>Tue, 10 Sep 2002 07:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802706#M82287</guid>
      <dc:creator>David Andrews_1</dc:creator>
      <dc:date>2002-09-10T07:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802707#M82288</link>
      <description>Thanks all for your helpful message!&lt;BR /&gt;The problem is still there.&lt;BR /&gt;This is what I did after I got your suggestion:&lt;BR /&gt;&lt;BR /&gt;1. replaced unixh100 with unixh145 in the following files:&lt;BR /&gt;/etc/net/ticlts/hosts&lt;BR /&gt;/etc/net/ticots/hosts&lt;BR /&gt;/etc/net/ticotsord/hosts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. transfer /tmp/netconf.901 and /tmp/netconf.back to another box ( these 2 files been removed from /etc/rc.config.d/ to /tmp on last Friday), rm these 2 files on this box;&lt;BR /&gt;&lt;BR /&gt;3. Stop the applications and ITO agents , reboot the box, the system is still unixh100,&lt;BR /&gt;try following:&lt;BR /&gt;. /etc/rc.config.d/netconf &lt;BR /&gt;echo $HOSTNAME  ( the response is unixh145 )&lt;BR /&gt;&lt;BR /&gt;I would like to supply more system information if necessary,&lt;BR /&gt;&lt;BR /&gt;   Thanks again!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vic&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2002 13:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802707#M82288</guid>
      <dc:creator>ChuanH</dc:creator>
      <dc:date>2002-09-10T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802708#M82289</link>
      <description>&lt;BR /&gt;Has the hostname been hardcoded by chance in /sbin/init.d/hostname in the start section around line 41?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2002 13:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802708#M82289</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-09-10T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802709#M82290</link>
      <description>&lt;BR /&gt;Have you looked at the other config files for the variable HOSTNAME?&lt;BR /&gt;&lt;BR /&gt;grep -l HOSTNAME /etc/rc.config.d/*&lt;BR /&gt;&lt;BR /&gt;Hopefully you only get the netconf file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2002 13:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802709#M82290</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-09-10T13:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802710#M82291</link>
      <description>Thanks Jordan!&lt;BR /&gt;   Is there something wrong with this output?&lt;BR /&gt;&lt;BR /&gt;unixh145-root@ /sbin/init.d &amp;gt; grep -l HOSTNAME /etc/rc.config.d/*&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;/etc/rc.config.d/redconf &lt;BR /&gt;&lt;BR /&gt;Could you please check the attached file for me?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot&lt;BR /&gt;&lt;BR /&gt;Vic&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2002 17:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802710#M82291</guid>
      <dc:creator>ChuanH</dc:creator>
      <dc:date>2002-09-10T17:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802711#M82292</link>
      <description>Hi Vic,&lt;BR /&gt;&lt;BR /&gt;What is the /etc/rc.config.d/redconf file, and why does it have an entry for HOSTNAME in it?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2002 17:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802711#M82292</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-09-10T17:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802712#M82293</link>
      <description>&lt;BR /&gt;I assume the script you attached is /sbin/init.d/hostname. It's fine.&lt;BR /&gt;&lt;BR /&gt;The problem is most certainly with the redconf file. Let's have a look at it. I suspect that HOSTNAME is being set in it. Because most rc scripts use /etc/rc.config to source ALL files in /etc/rc.config.d in alpanumeric order, redconf will be processed after netconf, thus overriding that value that you want. Please attach the redconf file.</description>
      <pubDate>Tue, 10 Sep 2002 18:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802712#M82293</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-09-10T18:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802713#M82294</link>
      <description>Thanks a lot  for all of your advise! &lt;BR /&gt;&lt;BR /&gt;Looks like there is a ghost been killed by one of you guys :) :).  I reboot at least 5 times from Sep. Last Friday when I rebooted it again,&lt;BR /&gt;my system came to unixh145 now! ow ow!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Vic</description>
      <pubDate>Mon, 14 Oct 2002 21:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802713#M82294</guid>
      <dc:creator>ChuanH</dc:creator>
      <dc:date>2002-10-14T21:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802714#M82295</link>
      <description>Hi Vic,&lt;BR /&gt;&lt;BR /&gt;I'm glad your problem is solved, but I'm always happier when I know what was wrong.  I'm willing to bet an ice cold alcoholic beverage that your /etc/rc.config.d/redconf file isn't there any more.   :)&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 01:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802714#M82295</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-15T01:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't change system name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802715#M82296</link>
      <description>Thanks John,&lt;BR /&gt;   /etc/rc.config.d/redconf is still there without unixh100 inside. :)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Vic</description>
      <pubDate>Tue, 15 Oct 2002 12:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/couldn-t-change-system-name/m-p/2802715#M82296</guid>
      <dc:creator>ChuanH</dc:creator>
      <dc:date>2002-10-15T12:43:12Z</dc:date>
    </item>
  </channel>
</rss>

