<?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: System not configuring hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373026#M195937</link>
    <description>Line 36 in "hostname" runs /etc/rc.config, which sources all the files in /etc/rc.config.d.  Any one of these could be causing that error, but it's most likely the netconf file if you can't get the hostname set.&lt;BR /&gt;&lt;BR /&gt;Try running ". /etc/rc.config.d/netconf" see if you get errors.  If you don't then "echo $HOSTNAME", or check the contents of the file for the HOSTNAME= parameter.</description>
    <pubDate>Mon, 06 Sep 2004 09:30:44 GMT</pubDate>
    <dc:creator>Simon Hargrave</dc:creator>
    <dc:date>2004-09-06T09:30:44Z</dc:date>
    <item>
      <title>System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373025#M195936</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a system which is failing to retain it's hostname.  uname -a reports unknown.  Even if you configure it with set_parms or uname -S it will be lost after reboot.&lt;BR /&gt;&lt;BR /&gt;I've noticed the following output from /sbin/init.d/hostname&lt;BR /&gt;&lt;BR /&gt;./hostname[36]: Syntax error at line 2 : `)' is not expected.&lt;BR /&gt;&lt;BR /&gt;Has anyone seen this before?&lt;BR /&gt;&lt;BR /&gt;Cheers, Paul&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 09:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373025#M195936</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2004-09-06T09:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373026#M195937</link>
      <description>Line 36 in "hostname" runs /etc/rc.config, which sources all the files in /etc/rc.config.d.  Any one of these could be causing that error, but it's most likely the netconf file if you can't get the hostname set.&lt;BR /&gt;&lt;BR /&gt;Try running ". /etc/rc.config.d/netconf" see if you get errors.  If you don't then "echo $HOSTNAME", or check the contents of the file for the HOSTNAME= parameter.</description>
      <pubDate>Mon, 06 Sep 2004 09:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373026#M195937</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-09-06T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373027#M195938</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;seems that you've wrong chars in the hostname or if the name ist just too long (line 2???)&lt;BR /&gt;Names are limited to UTSLEN - 1 characters; UTSLEN is defined in &lt;SYS&gt; - normally 8 chars&lt;BR /&gt;For more details look at uname (2)&lt;BR /&gt;What about the hostname entry in /etc/rc.config.d/netconf ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/SYS&gt;</description>
      <pubDate>Mon, 06 Sep 2004 09:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373027#M195938</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-09-06T09:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373028#M195939</link>
      <description>What hostname are you trying to set?&lt;BR /&gt;&lt;BR /&gt;MB.</description>
      <pubDate>Mon, 06 Sep 2004 09:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373028#M195939</guid>
      <dc:creator>Marcel Boogert_1</dc:creator>
      <dc:date>2004-09-06T09:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373029#M195940</link>
      <description>&lt;BR /&gt;The hostname is only 8 characters so that should be ok.&lt;BR /&gt;&lt;BR /&gt;I've copied in a new netconf file and added the correct entries.  It still gives the same error on starting hostname.  Though I haven't been able to reboot the box or even stop and start /sbin/init.d/net&lt;BR /&gt;&lt;BR /&gt;Anyother possibilities in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;Cheers, Paul</description>
      <pubDate>Mon, 06 Sep 2004 09:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373029#M195940</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2004-09-06T09:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373030#M195941</link>
      <description>try executing this: -&lt;BR /&gt;&lt;BR /&gt;cd /etc/rc.config.d&lt;BR /&gt;for FILE in *&lt;BR /&gt;do&lt;BR /&gt;echo "Trying $FILE..."&lt;BR /&gt;. ./$FILE&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This will display the name of each file in turn, followed by the output.  If there are any errors you should be able to see which file is causing it.</description>
      <pubDate>Mon, 06 Sep 2004 09:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373030#M195941</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-09-06T09:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373031#M195942</link>
      <description>Hi Simon &amp;amp; Others,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion.  I might be missing something, but these are all configuration files, so how can you execute them to check which one is causing the issue?&lt;BR /&gt;&lt;BR /&gt;Cheers, Paul</description>
      <pubDate>Mon, 06 Sep 2004 10:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373031#M195942</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2004-09-06T10:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373032#M195943</link>
      <description>&lt;BR /&gt;Thankyou all for your help, especially Simon.&lt;BR /&gt;&lt;BR /&gt;I've managed to sort it now.  Somebody had put their own script in /etc/rc.config.d and not tested it, so this issue had only surfaced after a power failure this morning.  Once the offending script was removed it all appears to be ok again.&lt;BR /&gt;&lt;BR /&gt;Cheers, Paul</description>
      <pubDate>Mon, 06 Sep 2004 10:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373032#M195943</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2004-09-06T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: System not configuring hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373033#M195944</link>
      <description>Just a tip, don't put anthying in /etc/rc.config.d except those that need to be there - IE do NOT have a netconf.bak or any other bakup files in that directory - store them somewhere else.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 06 Sep 2004 10:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-not-configuring-hostname/m-p/3373033#M195944</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-06T10:21:49Z</dc:date>
    </item>
  </channel>
</rss>

