<?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: wrong hostname after reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100671#M444142</link>
    <description>HI:&lt;BR /&gt;&lt;BR /&gt;There are two things I would check.&lt;BR /&gt;&lt;BR /&gt;First, make sure that you don't have your 'HOSTNAME' variable set in two files in '/etc/rc.config.d'.  The last one source will "win".  Please read the short documentation in '/etc/rc.config' for legal backup file names!&lt;BR /&gt;&lt;BR /&gt;Second, make sure that you are not setting the 'NODENAME' variable when the files in '/etc/rc.config.d' are sourced by '/etc/rc.config' during startup.&lt;BR /&gt;&lt;BR /&gt;An easy way to see this is to do:&lt;BR /&gt;&lt;BR /&gt;# . /etc/rc.config&lt;BR /&gt;# set | grep -e NODENAME -e HOSTNAME&lt;BR /&gt;&lt;BR /&gt;The NODENAME is used when it defined and '/sbin/init.d/hostname' runs during startup.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 31 Mar 2008 15:50:48 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-03-31T15:50:48Z</dc:date>
    <item>
      <title>wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100668#M444139</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This weekend I have reboot the 1st of our Service Guard cluster node and what happened is the following:&lt;BR /&gt;Once rebooted the server, it came up with a different hostname.the hostname was the same as the second cluster's node hostname.&lt;BR /&gt;I have changed the hostname back to the right one by issuing "hostname &lt;RIGHT hostname=""&gt;"&lt;BR /&gt;But still the uname -n returns the wrong hostname.&lt;BR /&gt;&lt;BR /&gt;Any idea why the hostname is wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/RIGHT&gt;</description>
      <pubDate>Mon, 31 Mar 2008 14:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100668#M444139</guid>
      <dc:creator>The_Cina</dc:creator>
      <dc:date>2008-03-31T14:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100669#M444140</link>
      <description>You can fix the uname output by running "uname -S &lt;RIGHT hostname=""&gt;".&lt;BR /&gt;&lt;BR /&gt;As for why it was set wrong on reboot, that's controlled in /etc/rc.config.d/netconf by the HOSTNAME variable. There are other places where the hostname is stored (e.g. /etc/hosts) so your best bet may be to run "set_parms hostname" to be sure they all get set appropriately. This requires a reboot, however.&lt;/RIGHT&gt;</description>
      <pubDate>Mon, 31 Mar 2008 15:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100669#M444140</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2008-03-31T15:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100670#M444141</link>
      <description>Thanks Jeff,&lt;BR /&gt;&lt;BR /&gt;- /etc/rc.config.d/netconf  : reports the right hostname&lt;BR /&gt;- /etc/hosts reports all the right hostnames&lt;BR /&gt;- set_parms hostname : I did set it once, but after I did another reboot, it still came up with the wrong hostname.&lt;BR /&gt;&lt;BR /&gt;I'm tryng to find out where the hostname get set wrong... This is a Service Guard Cluster, but I don't think it has something to do with the cluster functionality... &lt;BR /&gt;&lt;BR /&gt;still looking..</description>
      <pubDate>Mon, 31 Mar 2008 15:22:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100670#M444141</guid>
      <dc:creator>The_Cina</dc:creator>
      <dc:date>2008-03-31T15:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100671#M444142</link>
      <description>HI:&lt;BR /&gt;&lt;BR /&gt;There are two things I would check.&lt;BR /&gt;&lt;BR /&gt;First, make sure that you don't have your 'HOSTNAME' variable set in two files in '/etc/rc.config.d'.  The last one source will "win".  Please read the short documentation in '/etc/rc.config' for legal backup file names!&lt;BR /&gt;&lt;BR /&gt;Second, make sure that you are not setting the 'NODENAME' variable when the files in '/etc/rc.config.d' are sourced by '/etc/rc.config' during startup.&lt;BR /&gt;&lt;BR /&gt;An easy way to see this is to do:&lt;BR /&gt;&lt;BR /&gt;# . /etc/rc.config&lt;BR /&gt;# set | grep -e NODENAME -e HOSTNAME&lt;BR /&gt;&lt;BR /&gt;The NODENAME is used when it defined and '/sbin/init.d/hostname' runs during startup.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 31 Mar 2008 15:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100671#M444142</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-31T15:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100672#M444143</link>
      <description>Thanks James,&lt;BR /&gt;&lt;BR /&gt;I saw your posts in other forums regarding this issue, and it seems to be my problem.&lt;BR /&gt;&lt;BR /&gt;I'm disappointed on how rc.config handles the backup files... but the only thing I can do is accept it and take as a lesson.Good to know for the next time !!&lt;BR /&gt;&lt;BR /&gt;Thanks again for your fast help!!</description>
      <pubDate>Mon, 31 Mar 2008 16:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100672#M444143</guid>
      <dc:creator>The_Cina</dc:creator>
      <dc:date>2008-03-31T16:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100673#M444144</link>
      <description>Hi The Cina,&lt;BR /&gt;&lt;BR /&gt;Please go through the below URL site, before doing any things:-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1206983975696+28353475&amp;amp;threadId=245584" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1206983975696+28353475&amp;amp;threadId=245584&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it will very help full for U.&lt;BR /&gt;&lt;BR /&gt;Best of luck,&lt;BR /&gt;&lt;BR /&gt;Thanks--Yaqub&lt;BR /&gt;HP Support!!!</description>
      <pubDate>Mon, 31 Mar 2008 16:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100673#M444144</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2008-03-31T16:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100674#M444145</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'm disappointed on how rc.config handles the backup files&lt;BR /&gt;&lt;BR /&gt;I would *NOT* be disappointed, only enlightened.  This is documented in '/etc/rc.config': " Filenames containing [.,~#] are not sourced - they are possible names of # backup files such as file.bak, file.OLD, ~file, file~, file,v, #file etc."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Mar 2008 16:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100674#M444145</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-31T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100675#M444146</link>
      <description>Well, now I see the light ;-)&lt;BR /&gt;&lt;BR /&gt;Thanks again you all !&lt;BR /&gt;bye</description>
      <pubDate>Mon, 31 Mar 2008 17:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100675#M444146</guid>
      <dc:creator>The_Cina</dc:creator>
      <dc:date>2008-03-31T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: wrong hostname after reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100676#M444147</link>
      <description>Proposed solution was straight to the problem. Problem solved.</description>
      <pubDate>Mon, 31 Mar 2008 17:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wrong-hostname-after-reboot/m-p/5100676#M444147</guid>
      <dc:creator>The_Cina</dc:creator>
      <dc:date>2008-03-31T17:06:36Z</dc:date>
    </item>
  </channel>
</rss>

