<?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: Regarding hostname magic!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086438#M441620</link>
    <description>&amp;gt;Or whether it is because of more than 8 character i am using for hostname.&lt;BR /&gt;&lt;BR /&gt;Very possibly.  Though I would have thought it would truncate?&lt;BR /&gt;Note the scary WARNINGS under uname(1).</description>
    <pubDate>Thu, 03 Jan 2008 11:35:33 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-01-03T11:35:33Z</dc:date>
    <item>
      <title>Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086435#M441617</link>
      <description>&lt;BR /&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;  For my HP-UX 11.23 U ia64 box,I have changed &lt;BR /&gt;  my hostname as "vigilance2".&lt;BR /&gt;&lt;BR /&gt;  When I run hostname command it gives proper output as "vigilance2".But when I give uname -a or uname -n , it is showing as "unknown".&lt;BR /&gt;  &lt;BR /&gt;  Can anybody help me out in this scenario,what could be the area where i need to make change.Or weather it is because of more than 8 character i am using for host name.Below is the actual snapshot from the server.&lt;BR /&gt;&lt;BR /&gt;   vigilance2 #&lt;BR /&gt;   vigilance2 # hostname&lt;BR /&gt;   vigilance2&lt;BR /&gt;   vigilance2 # uname -n&lt;BR /&gt;   unknown&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  Any help will appreciable!! many thanks. &lt;BR /&gt;  &lt;BR /&gt;  Rgds,&lt;BR /&gt;  &lt;BR /&gt; -Yogesh&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2008 10:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086435#M441617</guid>
      <dc:creator>Yogesh M Puranik</dc:creator>
      <dc:date>2008-01-03T10:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086436#M441618</link>
      <description>The simplest, most complete way to successfully change a host name in all the locations it needs to be changed is to run "/sbin/set_parms hostname".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 03 Jan 2008 10:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086436#M441618</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-01-03T10:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086437#M441619</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Pls ensure these:&lt;BR /&gt;1.- In /etc/hosts file:&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;2.- Configure appropriately your /etc/resolv.conf:&lt;BR /&gt;search &lt;YOUR_DOMAIN.COM&gt;&lt;BR /&gt;nameserver &lt;YOUR_DNS_SERVER_IP&gt;&lt;BR /&gt;&lt;BR /&gt;3.- Configure appropriately your resolution rule into /etc/nsswitch.conf, i.e:&lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/YOUR_DNS_SERVER_IP&gt;&lt;/YOUR_DOMAIN.COM&gt;</description>
      <pubDate>Thu, 03 Jan 2008 11:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086437#M441619</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2008-01-03T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086438#M441620</link>
      <description>&amp;gt;Or whether it is because of more than 8 character i am using for hostname.&lt;BR /&gt;&lt;BR /&gt;Very possibly.  Though I would have thought it would truncate?&lt;BR /&gt;Note the scary WARNINGS under uname(1).</description>
      <pubDate>Thu, 03 Jan 2008 11:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086438#M441620</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-03T11:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086439#M441621</link>
      <description>&lt;BR /&gt;Thanks everybody for great help!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Pete!!&lt;BR /&gt;&lt;BR /&gt;   Yah , in /sbin/set_parms hostname is showing as unknown please refer the below snapshot!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   # Reset hostname to what's expected at this point.  May be unnecessary...&lt;BR /&gt;    hostname unknown&lt;BR /&gt;&lt;BR /&gt;   So, you mean to say i need put my hostname  instead of "unknown". But i am quite afraid that whether it require reboot after changing parameter?? &lt;BR /&gt;&lt;BR /&gt;   Please let me!!&lt;BR /&gt;&lt;BR /&gt;  Thanks!!&lt;BR /&gt;&lt;BR /&gt;  Rgds&lt;BR /&gt;&lt;BR /&gt; Yogesh&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2008 12:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086439#M441621</guid>
      <dc:creator>Yogesh M Puranik</dc:creator>
      <dc:date>2008-01-03T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086440#M441622</link>
      <description>Shalom Yogesh,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.hp.com" target="_blank"&gt;http://software.hp.com&lt;/A&gt; has an extension for 11i v2 that permits host names longer than 8 digits.&lt;BR /&gt;&lt;BR /&gt;I wouldn't use it but if you MUST have eight characters go ahead.&lt;BR /&gt;&lt;BR /&gt;I built a system in 2002 with the name jerusalem and got the exact same results as you. The OS can't handle it without the add in. I was forced to change the hostname because serious issues existed and scripts that used uname broke.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Jan 2008 12:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086440#M441622</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-01-03T12:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086441#M441623</link>
      <description>Hi Yogesh:&lt;BR /&gt;&lt;BR /&gt;You don't say how you changed your hostname.&lt;BR /&gt;&lt;BR /&gt;Normally, you define the variable 'HOSTNAME' in '/etc/rc.config.d/netconf' and leave the variable 'NODENAME' undefined.  This is by default what '/sbin/set_parms' will do.&lt;BR /&gt;&lt;BR /&gt;During startup (after a reboot), when '/sbin/init.d/hostname' runs, if 'NODENAME' is empty (or undefined) then 'uname -s' is run with the value of HOSTNAME to set it to be the same as the HOSTNAME or to the first string of characters before a dot ('.').&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 03 Jan 2008 13:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086441#M441623</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-03T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086442#M441624</link>
      <description>&lt;BR /&gt;Thanks everyvody!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Well James!! thanks for reply.I need to give you the update that hostname and other details, i have already set properly in /etc/rc.config.d /netconf file.Moreover i dont have the parameter "NODENAME" under this file.So no question of keep it empty.Below are the actual details from the server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="vigilance2"&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]="lan0"&lt;BR /&gt;IP_ADDRESS[0]="10.0.xx.xx"&lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]=""&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;INTERFACE_MODULES[0]=""&lt;BR /&gt;&lt;BR /&gt;DEFAULT_INTERFACE_MODULES=""&lt;BR /&gt;ROUTE_GATEWAY[0]=10.0.xx.xx&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Yogesh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2008 14:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086442#M441624</guid>
      <dc:creator>Yogesh M Puranik</dc:creator>
      <dc:date>2008-01-03T14:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding hostname magic!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086443#M441625</link>
      <description>Thnx everybody!!</description>
      <pubDate>Sun, 28 Sep 2008 01:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-hostname-magic/m-p/5086443#M441625</guid>
      <dc:creator>Yogesh M Puranik</dc:creator>
      <dc:date>2008-09-28T01:14:19Z</dc:date>
    </item>
  </channel>
</rss>

