<?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 start - error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900085#M104752</link>
    <description>Ignore everything in the /sbin dir itself.&lt;BR /&gt;Concentrate on the entries in init.d &amp;amp; rcX.d.&lt;BR /&gt;What you're looking for is a malformed uname command. So man uname to undestand it's proper syntax &amp;amp; look for a goofball command.&lt;BR /&gt;Don't forget to look in /etc/rc.config.d as well.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Sat, 08 Feb 2003 17:48:48 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-02-08T17:48:48Z</dc:date>
    <item>
      <title>hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900074#M104741</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a "hp-ux B.11.23 U ia64" system. the rc script hostname is giving the following error while booting. And doesn't set the hostname. I have to do it manually using uname -S host_name . How can I fix this?? Pl. help ...&lt;BR /&gt;&lt;BR /&gt;./hostname start&lt;BR /&gt;unknown&lt;BR /&gt;usage: uname [-amnrsvil] [-S nodename]&lt;BR /&gt;EXIT CODE: 1&lt;BR /&gt;WARNING: OPERATING_SYSTEM is not set.&lt;BR /&gt;         using default value of HP-UX&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik</description>
      <pubDate>Sat, 08 Feb 2003 04:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900074#M104741</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-08T04:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900075#M104742</link>
      <description>Hi,&lt;BR /&gt;See that you have correct name in /etc/rc.config.d/netconf or try setting the hostname by&lt;BR /&gt;/sbin/set_parms hostname&lt;BR /&gt;&lt;BR /&gt;Rajeev</description>
      <pubDate>Sat, 08 Feb 2003 05:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900075#M104742</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-08T05:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900076#M104743</link>
      <description>Yeah I have already tried that. Still doesn't work.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Karthik</description>
      <pubDate>Sat, 08 Feb 2003 05:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900076#M104743</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-08T05:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900077#M104744</link>
      <description>The warning message clearly says that in /etc/rc.config.d/netconf &lt;BR /&gt;OPERATING_SYSTEM  is not defined.&lt;BR /&gt;Can you recheck that at starting of netconf file you have the following entries&lt;BR /&gt;HOSTNAME="name"&lt;BR /&gt;OPERATING_SYSTEM ="HP-UX"&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Sat, 08 Feb 2003 05:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900077#M104744</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-08T05:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900078#M104745</link>
      <description>Hi Rajeev,&lt;BR /&gt;&lt;BR /&gt;It already contains those parameters.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="hpatm184"&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik</description>
      <pubDate>Sat, 08 Feb 2003 05:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900078#M104745</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-08T05:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900079#M104746</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;Search for the command string in all files in all the rc dirs. &lt;BR /&gt;&lt;BR /&gt;find /sbin -exec grep -l uname {} \;&lt;BR /&gt;&lt;BR /&gt;May not be in netconf. Could be a stupid problem in another startup script. Maybe even a conf file - search /etc/rc.config.d as well. Something's issuing a bad uname command. Not uncommon with 3rd party SW.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Sat, 08 Feb 2003 06:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900079#M104746</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-02-08T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900080#M104747</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check the permission of /etc/rc.config.d/netconf file should be&lt;BR /&gt;&lt;BR /&gt;-r--r--r--    bin      bin  &lt;BR /&gt;&lt;BR /&gt;check /etc/rc.config should be&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-r--r--r--    bin      bin  &lt;BR /&gt;&lt;BR /&gt;Take a copy of these files and try to use the files taken from a good working server of same HP-UX version.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Feb 2003 06:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900080#M104747</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-02-08T06:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900081#M104748</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;See the startup script /sbin/init.d/hostname&lt;BR /&gt; &lt;BR /&gt;In this script the variable of netconf are exported and hostname is set by uname -S command&lt;BR /&gt;&lt;BR /&gt;So just check this script it should have line such as..&lt;BR /&gt;&lt;BR /&gt;start)&lt;BR /&gt;        if [ -f /etc/rc.config ] ; then&lt;BR /&gt;                . /etc/rc.config&lt;BR /&gt;        else&lt;BR /&gt;                echo "ERROR: /etc/rc.config defaults file MISSING"&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        hostname $HOSTNAME&lt;BR /&gt;        set_return&lt;BR /&gt;&lt;BR /&gt;        if [ -z "$NODENAME" ] ; then&lt;BR /&gt;           uname -S ${HOSTNAME%%.*}&lt;BR /&gt;        else&lt;BR /&gt;           uname -S $NODENAME&lt;BR /&gt;        fi&lt;BR /&gt;        set_return&lt;BR /&gt;&lt;BR /&gt;        setuname -s $OPERATING_SYSTEM -t&lt;BR /&gt;        set_return&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Sat, 08 Feb 2003 06:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900081#M104748</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-08T06:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900082#M104749</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The permissions are OK. Even I tried with a working copy od /sbin/init.d/hostname ( of the same OS version). Still the problem persists.&lt;BR /&gt;&lt;BR /&gt;When I run the following command,&lt;BR /&gt;find /sbin -exec grep -l uname {} \;&lt;BR /&gt;&lt;BR /&gt;it returns many file names as attached in the text file. What do I do with this output??&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Karthik&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Feb 2003 12:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900082#M104749</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-08T12:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900083#M104750</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In most of these problems the cause is a file in the /etc/rc.config.d/ directory that shouldn't be there. Check for the obvious - core files, .old extensions to files etc, otherwise attach the output of "ls -la" in that directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Sat, 08 Feb 2003 14:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900083#M104750</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-02-08T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900084#M104751</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;#/etc/set_parms hostname&lt;BR /&gt;or&lt;BR /&gt;#/etc/set_parms initial&lt;BR /&gt;&lt;BR /&gt;Just a thought.&lt;BR /&gt;&lt;BR /&gt;TT</description>
      <pubDate>Sat, 08 Feb 2003 14:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900084#M104751</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2003-02-08T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900085#M104752</link>
      <description>Ignore everything in the /sbin dir itself.&lt;BR /&gt;Concentrate on the entries in init.d &amp;amp; rcX.d.&lt;BR /&gt;What you're looking for is a malformed uname command. So man uname to undestand it's proper syntax &amp;amp; look for a goofball command.&lt;BR /&gt;Don't forget to look in /etc/rc.config.d as well.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Sat, 08 Feb 2003 17:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900085#M104752</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-02-08T17:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900086#M104753</link>
      <description>If this used to work OK, look at recently changed scripts in /sbin/init.d and settings in /etc/rc.config.d with this:&lt;BR /&gt;&lt;BR /&gt;ll -t /sbin/init.d&lt;BR /&gt;ll -t /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;Recently changed files are a good starting point. You can ignore uname commands except uname -S, and be sure to look in /etc/rc.log for error messages that ocurred dueing startup.</description>
      <pubDate>Sat, 08 Feb 2003 20:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900086#M104753</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-02-08T20:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900087#M104754</link>
      <description>The /sbin/init.d/hostname script that is failing sources its vars from /etc/rc.config.  This then checks the config files in /etc/rc.config.d/*.  Its possible that you have 2 entries for OPERATING_SYSTEM and/or HOSTNAME.&lt;BR /&gt;Try:&lt;BR /&gt;egrep "HOSTNAME=|OPERATING_SYSTEM=" /etc/rc.config.d/*&lt;BR /&gt;&lt;BR /&gt;This should return only one entry for each and it shoud be in the netconf file.&lt;BR /&gt;&lt;BR /&gt;Another very simple check along similar lines is:&lt;BR /&gt;&lt;BR /&gt;. /etc/rc.config.d/*&lt;BR /&gt;echo $HOSTNAME&lt;BR /&gt;echo $OPERATING_SYSTEM&lt;BR /&gt;&lt;BR /&gt;If this does not show what your hostname and operating system then it may be worth trying just netconf:&lt;BR /&gt;&lt;BR /&gt;. /etc/rc.config.d/netconf&lt;BR /&gt;echo $HOSTNAME&lt;BR /&gt;echo $OPERATING_SYSTEM&lt;BR /&gt;&lt;BR /&gt;If this is still not correct examine netconf for unmatched double (") quotes.  If it is now correct look in whatever other file it was that contained HOSTNAME or OPERATING_SYSTEM from the egrep command above.&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Sun, 09 Feb 2003 12:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900087#M104754</guid>
      <dc:creator>Duncan Galbraith</dc:creator>
      <dc:date>2003-02-09T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900088#M104755</link>
      <description>Side question:&lt;BR /&gt;&lt;BR /&gt;I am a little concerned that your uname output shows 11.23.  Is this a typo by any chance?  No released HP-UX has a release number of 11.23.&lt;BR /&gt;&lt;BR /&gt;Ajit&lt;BR /&gt;HP Gigabit Ethernet&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Feb 2003 09:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900088#M104755</guid>
      <dc:creator>Ajit Natarajan</dc:creator>
      <dc:date>2003-02-10T09:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900089#M104756</link>
      <description>No this is a LAB Release ..!!&lt;BR /&gt;&lt;BR /&gt;Karthik</description>
      <pubDate>Mon, 10 Feb 2003 11:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900089#M104756</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-10T11:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: hostname start - error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900090#M104757</link>
      <description>how about giving &lt;BR /&gt;&lt;BR /&gt;#uname -S &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Mon, 10 Feb 2003 12:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-start-error/m-p/2900090#M104757</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-10T12:03:54Z</dc:date>
    </item>
  </channel>
</rss>

