<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562421#M226776</link>
    <description>can you clarify for us ?  you type:&lt;BR /&gt;&lt;BR /&gt;$ hostname&lt;BR /&gt;&lt;BR /&gt;and you get back an IP address ?&lt;BR /&gt;&lt;BR /&gt;can you type:&lt;BR /&gt;&lt;BR /&gt;$ uname -a&lt;BR /&gt;&lt;BR /&gt;does this return an IP address also ?&lt;BR /&gt;&lt;BR /&gt;I don't believe this is true, for the hostname might truncate the length to 8 characters on the output.. &lt;BR /&gt;&lt;BR /&gt;what explan can you show us ?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
    <pubDate>Sat, 11 Jun 2005 21:20:29 GMT</pubDate>
    <dc:creator>D Block 2</dc:creator>
    <dc:date>2005-06-11T21:20:29Z</dc:date>
    <item>
      <title>Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562418#M226773</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I have a big problem with thist problem, when i type hostname command in a hp-ux server appear another ip address, this ip address does not belong to this server.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help</description>
      <pubDate>Sat, 11 Jun 2005 14:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562418#M226773</guid>
      <dc:creator>Alan Vargas</dc:creator>
      <dc:date>2005-06-11T14:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562419#M226774</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;Could you please show an output of the command.&lt;BR /&gt;&lt;BR /&gt;Hostname usually gives name, not IP.&lt;BR /&gt;In any case, check the following files:&lt;BR /&gt;/etc/hosts, /etc/rc.config.d/netconf,&lt;BR /&gt;/etc/nsswitch.conf.&lt;BR /&gt;Also please check yor name resolution (DNS,NIS).&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sat, 11 Jun 2005 14:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562419#M226774</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-06-11T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562420#M226775</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Agree with Victor that your question is a bit confusing. If you mean that  by typing hostname it shows the name of a server whose IP is other than this server then you can check the hostname set in /etc/rc.config.d/netconf file &amp;amp; entry for the same name in /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;/etc/nssswitch.conf will let you know how the name resolution is taking place.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;</description>
      <pubDate>Sat, 11 Jun 2005 19:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562420#M226775</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-06-11T19:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562421#M226776</link>
      <description>can you clarify for us ?  you type:&lt;BR /&gt;&lt;BR /&gt;$ hostname&lt;BR /&gt;&lt;BR /&gt;and you get back an IP address ?&lt;BR /&gt;&lt;BR /&gt;can you type:&lt;BR /&gt;&lt;BR /&gt;$ uname -a&lt;BR /&gt;&lt;BR /&gt;does this return an IP address also ?&lt;BR /&gt;&lt;BR /&gt;I don't believe this is true, for the hostname might truncate the length to 8 characters on the output.. &lt;BR /&gt;&lt;BR /&gt;what explan can you show us ?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Sat, 11 Jun 2005 21:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562421#M226776</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-06-11T21:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562422#M226777</link>
      <description>you can set it by one of two way&lt;BR /&gt;1, issue this command&lt;BR /&gt;#hostname name_that_you_want&lt;BR /&gt;2, edit //etc/rc.config.d/netconf&lt;BR /&gt;HOSTNAME="server" #change it&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;save, exit and then issue two more commands&lt;BR /&gt;[server:/sbin/init.d] /sbin/init.d/net stop&lt;BR /&gt;[server:/sbin/init.d] /sbin/init.d/net start&lt;BR /&gt; HTH&lt;BR /&gt;tienna</description>
      <pubDate>Sat, 11 Jun 2005 22:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562422#M226777</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-06-11T22:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562423#M226778</link>
      <description>Alan,&lt;BR /&gt;Nguyen Anh, did mention that you can set the 'hostname' by running the hostname command.  so, my point was, maybe someone did this command:&lt;BR /&gt;&lt;BR /&gt;# hostname &lt;MY_IP_ADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/MY_IP_ADDRESS&gt;</description>
      <pubDate>Sat, 11 Jun 2005 22:21:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562423#M226778</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-06-11T22:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562424#M226779</link>
      <description>Thanks to all, but i found the problem, i have to reboot the system and it got the right ip address&lt;BR /&gt;&lt;BR /&gt;Thank again</description>
      <pubDate>Mon, 13 Jun 2005 16:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562424#M226779</guid>
      <dc:creator>Alan Vargas</dc:creator>
      <dc:date>2005-06-13T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562425#M226780</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I have this problem with the HP-UX server, when i typed uname -a i got the right name of the server, but when i try with hostaname those name does not match, the name must be tgt20, and whe i try to list or install any aplication o patch i got this error:&lt;BR /&gt;&lt;BR /&gt;-all:[P0]/&amp;gt;swlist&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "-all"...&lt;BR /&gt;ERROR:   Could not contact host "-all".  Make sure the hostname is&lt;BR /&gt;         correct and an absolute pathname is specified (beginning with&lt;BR /&gt;         "/").&lt;BR /&gt;ERROR:   More information may be found in the daemon logfile on this&lt;BR /&gt;         target (default location is -all:/var/adm/sw/swagentd.log).&lt;BR /&gt;-all:[P0]/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Attached the other command:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-all:[P0]/&amp;gt;uname -a&lt;BR /&gt;HP-UX tgt20 B.11.11 U 9000/800 2964193283 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;-all:[P0]/&amp;gt;hostname&lt;BR /&gt;-all&lt;BR /&gt;-all:[P0]/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;IÂ´d like to know how to fix this error without boot the server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Tue, 14 Jun 2005 16:00:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562425#M226780</guid>
      <dc:creator>Alan Vargas</dc:creator>
      <dc:date>2005-06-14T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562426#M226781</link>
      <description>Simply do:&lt;BR /&gt;&lt;BR /&gt;# hostname tgt20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You really need to figure out how the hostname is getting reset.  I would guess that someone that doesn't know what they are doing, is using the hostname command incorrectly.</description>
      <pubDate>Tue, 14 Jun 2005 16:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562426#M226781</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-06-14T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562427#M226782</link>
      <description>what is the output to the 'hostname' command ?&lt;BR /&gt;that might tell you something.&lt;BR /&gt;&lt;BR /&gt;also check if somebody messed up with the /sbin/init.d/hostname script. I have seen stranger things happen by some people with good intentions and bad knowledge, modifying the startup scripts.</description>
      <pubDate>Tue, 14 Jun 2005 16:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562427#M226782</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-06-14T16:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562428#M226783</link>
      <description>ItÂ´s works .. thanks again gu</description>
      <pubDate>Tue, 14 Jun 2005 16:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-problem/m-p/3562428#M226783</guid>
      <dc:creator>Alan Vargas</dc:creator>
      <dc:date>2005-06-14T16:17:45Z</dc:date>
    </item>
  </channel>
</rss>

