<?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: incorrect hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822752#M86897</link>
    <description>Hi,&lt;BR /&gt;Check this file &lt;BR /&gt;/etc/rc.config.d/netconf &lt;BR /&gt;&lt;BR /&gt;What is the hostname set there &lt;BR /&gt;HOSTNAME= ???&lt;BR /&gt;Set the right hostname and do this.&lt;BR /&gt;#/sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;see now&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
    <pubDate>Thu, 10 Oct 2002 05:33:48 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2002-10-10T05:33:48Z</dc:date>
    <item>
      <title>incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822750#M86895</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i appear to be having a weird problem, that im not sure how to resolve. Im running hpux 11.0.&lt;BR /&gt;&lt;BR /&gt;when i do a uname -a i get the correct information however, when i run hostname, it comes back with a "-a"&lt;BR /&gt;&lt;BR /&gt;#uname -a&lt;BR /&gt;HP-UX name B.11.00 U 9000/800 573740508 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;#hostname&lt;BR /&gt;-a&lt;BR /&gt;&lt;BR /&gt;anyone seen this before?&lt;BR /&gt;i have the "hostname" in the /etc/hosts file. I have also checked my /etc/resolv.conf and all appears ok.&lt;BR /&gt;&lt;BR /&gt;when i do an nslookup of that hostname it reports the following&lt;BR /&gt;&lt;BR /&gt;Using /etc/hosts on:  -a&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:   name&lt;BR /&gt;address: x.xx.xx.xx&lt;BR /&gt;&lt;BR /&gt;This has caused problems on this machine for applications that rely on the "hostname" and not on ip. &lt;BR /&gt;&lt;BR /&gt;The swagentd.log is returning the following message&lt;BR /&gt;ARNING: An attempt to get the network host entry for "-a" failed.&lt;BR /&gt;         This may result in denial of access to users and agents at&lt;BR /&gt;         this host.  Check the spelling of this name, then your&lt;BR /&gt;         "/etc/hosts" file, or your "/etc/resolv.conf" file and DNS&lt;BR /&gt;         resolver configuration.  The nslookup program may be helpful&lt;BR /&gt;         in isolating this problem.&lt;BR /&gt;       * Checking job queue at 1 minute intervals.&lt;BR /&gt;&lt;BR /&gt;This was working before lunch and im not sure what has ahppened.&lt;BR /&gt;&lt;BR /&gt;Any fixes?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;maria</description>
      <pubDate>Thu, 10 Oct 2002 05:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822750#M86895</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-10-10T05:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822751#M86896</link>
      <description>i have resolved this issue by running set_parms hostname.&lt;BR /&gt;but im still not sure what occured.&lt;BR /&gt;&lt;BR /&gt;when i ran the set_parms hostname it said that my hostname was "name" which was correct.&lt;BR /&gt;&lt;BR /&gt;any ideaS?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;maria</description>
      <pubDate>Thu, 10 Oct 2002 05:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822751#M86896</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-10-10T05:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822752#M86897</link>
      <description>Hi,&lt;BR /&gt;Check this file &lt;BR /&gt;/etc/rc.config.d/netconf &lt;BR /&gt;&lt;BR /&gt;What is the hostname set there &lt;BR /&gt;HOSTNAME= ???&lt;BR /&gt;Set the right hostname and do this.&lt;BR /&gt;#/sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;see now&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Thu, 10 Oct 2002 05:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822752#M86897</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-10-10T05:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822753#M86898</link>
      <description>hi thanks for your response,&lt;BR /&gt;&lt;BR /&gt;i checked it at it was set to the actual hostname.&lt;BR /&gt;&lt;BR /&gt;which is again weird.&lt;BR /&gt;im very confused as to what is happening. :D</description>
      <pubDate>Thu, 10 Oct 2002 05:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822753#M86898</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-10-10T05:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822754#M86899</link>
      <description>&lt;BR /&gt;Maria,&lt;BR /&gt;&lt;BR /&gt;you at one time used the wron command.&lt;BR /&gt;&lt;BR /&gt;You sure wanted to to&lt;BR /&gt;&lt;BR /&gt;uname -a &lt;BR /&gt;&lt;BR /&gt;to see the info for your host.&lt;BR /&gt;If you accidently issued the command&lt;BR /&gt;&lt;BR /&gt;hostname -a&lt;BR /&gt;&lt;BR /&gt;then the system sets your hostname to '-a'&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;rainer&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 06:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822754#M86899</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-10-10T06:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822755#M86900</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;that could be possible, but the only time i used that command (hostname) was after the swagentd.log told me there was a problem. ie it thought the hostname was -a.&lt;BR /&gt;&lt;BR /&gt;Thanks for your input though.&lt;BR /&gt;i doubt there is another explanation. &lt;BR /&gt;&lt;BR /&gt;thanks again&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 06:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-hostname/m-p/2822755#M86900</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-10-10T06:20:37Z</dc:date>
    </item>
  </channel>
</rss>

