<?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: &amp;quot;uname -S &amp;lt;name greater than 9 chars&amp;gt;&amp;quot; fails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-uname-s-lt-name-greater-than-9-chars-gt-quot-fails/m-p/2606207#M853564</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;See this posting of a few days ago, it gives some valuable advice.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
    <pubDate>Fri, 02 Nov 2001 04:49:23 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2001-11-02T04:49:23Z</dc:date>
    <item>
      <title>"uname -S &lt;name greater than 9 chars&gt;" fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-uname-s-lt-name-greater-than-9-chars-gt-quot-fails/m-p/2606206#M853563</link>
      <description>Hi all,&lt;BR /&gt; Iam having a server running HPUX11i. I had setup the dhcp server to give ipaddress for lan0 and when the server boots Iam seeing in the HPUX Startup sequence that the hostname setup script (/sbin/rc1.d/S320hostname fails.&lt;BR /&gt;"Setting hostname..... FAIL *"&lt;BR /&gt;&lt;BR /&gt;When I run this from command line I figured out that the hostname / nodename that the dhcp server setsup is longer than 9 chars and so the command "uname -S ${HOSTNAME} fails.&lt;BR /&gt;&lt;BR /&gt;Reading some docs I figuredout that there is a variable in sys/utsname.h structure has a variable "UTSLEN" that is set to 9 which is the limiting factor.&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90682&amp;amp;service=hpux&amp;amp;path=../B2355-90682/00/02/226&amp;amp;title=HP-UX%20Reference%20Volume%203%3A%20Sections%202%20and%204" target="_blank"&gt;http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90682&amp;amp;service=hpux&amp;amp;path=../B2355-90682/00/02/226&amp;amp;title=HP-UX%20Reference%20Volume%203%3A%20Sections%202%20and%204&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a way to setup the variable to be bigger than that. Can someone help me please!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, my "swlist" command fails because it is not able to get the right name for the server, is there a workarround for this.</description>
      <pubDate>Fri, 02 Nov 2001 04:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-uname-s-lt-name-greater-than-9-chars-gt-quot-fails/m-p/2606206#M853563</guid>
      <dc:creator>Soma_1</dc:creator>
      <dc:date>2001-11-02T04:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: "uname -S &lt;name greater than 9 chars&gt;" fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-uname-s-lt-name-greater-than-9-chars-gt-quot-fails/m-p/2606207#M853564</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;See this posting of a few days ago, it gives some valuable advice.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x77d1cf38d6bdd5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Fri, 02 Nov 2001 04:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-uname-s-lt-name-greater-than-9-chars-gt-quot-fails/m-p/2606207#M853564</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-02T04:49:23Z</dc:date>
    </item>
  </channel>
</rss>

