<?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: hostname length limitation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197681#M569375</link>
    <description>You can try to use #setparams hostname.&lt;BR /&gt;That'll make sure that you get all the locations that would need to be changed all at once.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
    <pubDate>Fri, 20 Feb 2004 08:29:10 GMT</pubDate>
    <dc:creator>Dave Hutton</dc:creator>
    <dc:date>2004-02-20T08:29:10Z</dc:date>
    <item>
      <title>hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197680#M569374</link>
      <description>Setting hostname of HP-UX length more than 8 digits I obtain the following results:&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt;&lt;BR /&gt;hostname=lab333444&lt;BR /&gt;&lt;BR /&gt;the command:&lt;BR /&gt;#hostname&lt;BR /&gt;return&lt;BR /&gt;lab333444&lt;BR /&gt;&lt;BR /&gt;but the command &lt;BR /&gt;#uname -s&lt;BR /&gt;return&lt;BR /&gt;HP-UX unknown B.11.11 U 9000/800 864950601 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;In addition I cannot use the CDE because I get&lt;BR /&gt;an error concerning a bad configuration of /etc/hosts (that is ok) or network parameter.&lt;BR /&gt;Anyone know if exists a patch for thi problem?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2004 08:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197680#M569374</guid>
      <dc:creator>Salvi Marco</dc:creator>
      <dc:date>2004-02-20T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197681#M569375</link>
      <description>You can try to use #setparams hostname.&lt;BR /&gt;That'll make sure that you get all the locations that would need to be changed all at once.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2004 08:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197681#M569375</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2004-02-20T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197682#M569376</link>
      <description>hostname length is not recommended to be greater than 8 characters.&lt;BR /&gt;&lt;BR /&gt;You cannot do that until you install a patch for that&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2004 08:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197682#M569376</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-20T08:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197683#M569377</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;did you include an entry of the server name and ip address in the /etc/hosts?&lt;BR /&gt;&lt;BR /&gt;by the way, it should be uname -a, right?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 20 Feb 2004 08:30:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197683#M569377</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-02-20T08:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197684#M569378</link>
      <description>check this doc&lt;BR /&gt;&lt;BR /&gt;If the hostname exceeds eight characters you will face the problems defined in doc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063236997" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063236997&lt;/A&gt;</description>
      <pubDate>Fri, 20 Feb 2004 08:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197684#M569378</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-20T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197685#M569379</link>
      <description>The network settings are all rigth.&lt;BR /&gt;I modified the following files&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;/etc/hosts</description>
      <pubDate>Fri, 20 Feb 2004 08:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197685#M569379</guid>
      <dc:creator>Salvi Marco</dc:creator>
      <dc:date>2004-02-20T08:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197686#M569380</link>
      <description>You're seeing the difference between "hostname" and "uname".  Hostname length can be set with MAXHOSTNAMELEN as defined in &lt;SYS&gt;.  However, the node name, returned by uname, is not allowed to exceed 8 characters.  The resulting confusion can wreak havoc on your system.  It's far simpler to keep system names to 8 or fewer characters.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;/SYS&gt;</description>
      <pubDate>Fri, 20 Feb 2004 08:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197686#M569380</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-02-20T08:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197687#M569381</link>
      <description>its a feature&lt;BR /&gt;&lt;BR /&gt;hostname can't be more than 8 digits&lt;BR /&gt;&lt;BR /&gt;you can be server.some.net&lt;BR /&gt;&lt;BR /&gt;you can get longer domain names via DNS&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 20 Feb 2004 08:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197687#M569381</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-20T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197688#M569382</link>
      <description>thanks a lot guys</description>
      <pubDate>Fri, 20 Feb 2004 10:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197688#M569382</guid>
      <dc:creator>Salvi Marco</dc:creator>
      <dc:date>2004-02-20T10:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197689#M569383</link>
      <description>Note that the name used in DNS by other computers can be different than your local hostname. So you can have two names for your computer, one for networking and the other for uname (see man hostname). To set both of them, edit the file /etc/rc.config.d/netconf and add the undocumented variable NODENAME. NODENAME must be no more than 8 characters, but HOSTNAME can be up to 64 chars. So for your case:&lt;BR /&gt; &lt;BR /&gt;HOSTNAME=lab333444&lt;BR /&gt;NODENAME=lb333444 (or whatever you want)&lt;BR /&gt; &lt;BR /&gt;You can set hostname and uname without rebooting:&lt;BR /&gt; &lt;BR /&gt;hostname lab333444&lt;BR /&gt;uname -S lb333444&lt;BR /&gt; &lt;BR /&gt;but make sure you edit the netconf file so the change is permanent after a reboot.</description>
      <pubDate>Fri, 20 Feb 2004 11:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197689#M569383</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-20T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197690#M569384</link>
      <description>"The setuname() system call sets the node name (system name), as returned in  &lt;BR /&gt;the nodename field of the utsname structure, to name, which has a length of  &lt;BR /&gt;namelen characters.  This is usually executed by /sbin/init.d/hostname at  &lt;BR /&gt;system boot time.  Names are limited to UTSLEN - 1 characters; UTSLEN is  &lt;BR /&gt;defined in &lt;SYS&gt;." &lt;BR /&gt; &lt;BR /&gt;UTSLEN is #defined to _SYS_NMLN which is set to 9.&lt;BR /&gt;&lt;BR /&gt;Berlene&lt;/SYS&gt;</description>
      <pubDate>Sat, 21 Feb 2004 05:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197690#M569384</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2004-02-21T05:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197691#M569385</link>
      <description>what is the patch name to go beyond 8 characters?  I did look in params.h and yes 64 is the max but what is there a patch needed to go beyond 8 considering this variable in params.h?&lt;BR /&gt;does this apply to 11i as well?&lt;BR /&gt;thanks&lt;BR /&gt;derek&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2004 16:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197691#M569385</guid>
      <dc:creator>derek b smith_1</dc:creator>
      <dc:date>2004-05-05T16:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: hostname length limitation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197692#M569386</link>
      <description>AS mentioned in the URL above, adding the patch will BREAK a lot of programs. You don't want to change the hostname to more than 8 characters. Even the patch will not work until you create a file that is called something: ItakeFULLresponsibilityFORallTHEproblems&lt;BR /&gt; &lt;BR /&gt;As mentioned above, the network name can be 64 characters long, but the uname value cannot be longer than 8 characters. Although not clearly defined in the netconf file, you must set NODENAME to an 8 character name and set HOSTNAME to anything you like up to 64 chars. This will usually be the name your system will have in DNS. Both NODENAME and HOSTNAME should be set in /etc/rc.config.d/netconf</description>
      <pubDate>Wed, 05 May 2004 20:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-length-limitation/m-p/3197692#M569386</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-05-05T20:08:38Z</dc:date>
    </item>
  </channel>
</rss>

