<?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 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574104#M858124</link>
    <description>Also check and make sure you do not have any backup copies of your netconf file in /etc/rc.config.d  Do an 'll netconf*' and if more than netconf comes back, move the other files someplace else.&lt;BR /&gt;&lt;BR /&gt;Do not re-install HP-UX yet.  There is no reason to do this.  As was said, just be patient.</description>
    <pubDate>Tue, 04 Sep 2001 00:45:29 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-09-04T00:45:29Z</dc:date>
    <item>
      <title>hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574091#M858111</link>
      <description>Hi,&lt;BR /&gt;The hostname I configured in /etc/hosts and /etc/rc.config.d/netconf is hpd380, but when (in command line) I run the command 'hostname' the retured value is d380 and I can not login to CDE, any ideas about this problem? &lt;BR /&gt;</description>
      <pubDate>Mon, 03 Sep 2001 03:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574091#M858111</guid>
      <dc:creator>May_3</dc:creator>
      <dc:date>2001-09-03T03:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574092#M858112</link>
      <description>You can set it back to hpd380 by executing the command&lt;BR /&gt;&lt;BR /&gt;#hostname hpd380&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This should fix your CDE problem.&lt;BR /&gt;&lt;BR /&gt;Now to check if your netconf is working properly or not, try&lt;BR /&gt;&lt;BR /&gt;#/sbin/init.d/hostname start&lt;BR /&gt;#hostname&lt;BR /&gt;&lt;BR /&gt;if this returns again d380, then you need to re-verify your entry in /etc/rc.config.d/netconf.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Sep 2001 03:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574092#M858112</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-03T03:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574093#M858113</link>
      <description>Hi May,&lt;BR /&gt;&lt;BR /&gt;1) you can edit the /etc/rc.config/netconf file and change the hostname value and the stop inetd services by /sbin/init.d/inetd stop and start from the shell command&lt;BR /&gt;&lt;BR /&gt;2) else you can execute /sbin/set_parms hostname command which will allow you to modify the system name.&lt;BR /&gt;&lt;BR /&gt;Hope that helps..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dayanand Naik.</description>
      <pubDate>Mon, 03 Sep 2001 04:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574093#M858113</guid>
      <dc:creator>Dayanand Naik</dc:creator>
      <dc:date>2001-09-03T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574094#M858114</link>
      <description>Hi,Sridhar&lt;BR /&gt;I have verified that the entry in the /etc/rc.config.d/netconf is hpd380 and when I tried &lt;BR /&gt;#hostname hpd380&lt;BR /&gt;#/sbin/init.d/hostname start&lt;BR /&gt;#hostname&lt;BR /&gt;it retured d380 again, any further advise?&lt;BR /&gt;thank you for your reply.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Sep 2001 04:07:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574094#M858114</guid>
      <dc:creator>May_3</dc:creator>
      <dc:date>2001-09-03T04:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574095#M858115</link>
      <description>Hi,Dayanand&lt;BR /&gt;1)I tried&lt;BR /&gt;#/sbin/init.d/inetd stop&lt;BR /&gt;#/sbin/init.d/inetd start&lt;BR /&gt;#hostname&lt;BR /&gt;the retured value is d380&lt;BR /&gt;2)When I tried set_parms hostname, the hostname indicated that the hostname has already been set to hpd380&lt;BR /&gt;what should I do next?</description>
      <pubDate>Mon, 03 Sep 2001 04:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574095#M858115</guid>
      <dc:creator>May_3</dc:creator>
      <dc:date>2001-09-03T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574096#M858116</link>
      <description>Hi May,&lt;BR /&gt;What is the output of uname -a ?&lt;BR /&gt;try uname -S hpd380&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;best of luck&lt;BR /&gt;Animesh</description>
      <pubDate>Mon, 03 Sep 2001 04:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574096#M858116</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-09-03T04:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574097#M858117</link>
      <description>May,&lt;BR /&gt;&lt;BR /&gt;Please do the following and see what you get&lt;BR /&gt;&lt;BR /&gt;#hostname hpd380&lt;BR /&gt;#hostname &lt;BR /&gt;You should get hpd380 here.&lt;BR /&gt;&lt;BR /&gt;Make sure that the entry in /etc/rc.config.d/netconf is correct and there are no duplicate entrees for HOSTNAME in that file.&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="hpd380"&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d basically does the same thing that we do at the command prompt. I can't think of any reason why it wouldn't set to hpd380 if it is properly specified in your netconf file.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Sep 2001 04:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574097#M858117</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-03T04:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574098#M858118</link>
      <description>Hi,animesh&lt;BR /&gt;The output of "uname -a" is as follows:&lt;BR /&gt;HP-UX hpd380 B.11.00 A 9000/810 2001361887 two-user license&lt;BR /&gt;When I tried &lt;BR /&gt;#hostname &lt;BR /&gt;it retured d380 again &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Sep 2001 04:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574098#M858118</guid>
      <dc:creator>May_3</dc:creator>
      <dc:date>2001-09-03T04:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574099#M858119</link>
      <description>May,&lt;BR /&gt;&lt;BR /&gt;It's very interesting. Let's double check if the hostname command works properly.&lt;BR /&gt;&lt;BR /&gt;#hostname hpd380&lt;BR /&gt;#hostname&lt;BR /&gt;&lt;BR /&gt;what's the output you are getting?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Sep 2001 05:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574099#M858119</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-03T05:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574100#M858120</link>
      <description>Hi may,&lt;BR /&gt;can you ping hpd380 from other server&lt;BR /&gt;using hpd380 hostname ?&lt;BR /&gt;ping hpd380.&lt;BR /&gt;try rebooting the server once.&lt;BR /&gt;"man hostname" may help you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;best of luck&lt;BR /&gt;animesh&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Sep 2001 05:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574100#M858120</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-09-03T05:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574101#M858121</link>
      <description>Hi,Sridhar&lt;BR /&gt;The command 'hostname' does work!&lt;BR /&gt;When I tried&lt;BR /&gt;#hostname hpd380 &lt;BR /&gt;#hostname &lt;BR /&gt;the output is hpd380. &lt;BR /&gt;I am tired about it and I want to re-install the system. Thank you for you help anyway.&lt;BR /&gt;&lt;BR /&gt;May&lt;BR /&gt;Best Regards,</description>
      <pubDate>Mon, 03 Sep 2001 06:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574101#M858121</guid>
      <dc:creator>May_3</dc:creator>
      <dc:date>2001-09-03T06:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574102#M858122</link>
      <description>Hello May,&lt;BR /&gt;&lt;BR /&gt;I can just guess that you have an additional file in &lt;BR /&gt;"/etc/rc.config.d/" containing the definition of the&lt;BR /&gt;shell variable for the hostname - check with command:&lt;BR /&gt;grep HOSTNAME /etc/rc.config.d/*&lt;BR /&gt;wether there are multiple definitions of HOSTNAME=...&lt;BR /&gt;and then get rid of the duplicates (the one with&lt;BR /&gt;HOSTNAME=d380).&lt;BR /&gt;HTH,&lt;BR /&gt;  Wodisch</description>
      <pubDate>Mon, 03 Sep 2001 19:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574102#M858122</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-09-03T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574103#M858123</link>
      <description>May,&lt;BR /&gt;&lt;BR /&gt;No.. Don't get impatient. This is a very simple problem and you don't have to reinstall the system.&lt;BR /&gt;&lt;BR /&gt;As I mentioned earlier, check your netconf file carefully for duplicate entries. /sbin/init.d/hostname script sets both hostname and uname using the entry in netconf. It uses the same command "hostname" to set the hostname. So,as I mentioned earlier, I strongly believe that there is a duplicate entry in your netconf file. Be little bit patient and verify each line like 'grep d380 /etc/rc.config.d/netconf'. I also would like you to check your /sbin/init.d/hostname script and search for the string d380. Someone might have hardcoded in there which is not supposed to be.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 04 Sep 2001 00:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574103#M858123</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-04T00:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574104#M858124</link>
      <description>Also check and make sure you do not have any backup copies of your netconf file in /etc/rc.config.d  Do an 'll netconf*' and if more than netconf comes back, move the other files someplace else.&lt;BR /&gt;&lt;BR /&gt;Do not re-install HP-UX yet.  There is no reason to do this.  As was said, just be patient.</description>
      <pubDate>Tue, 04 Sep 2001 00:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574104#M858124</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-09-04T00:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574105#M858125</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. Do this&lt;BR /&gt;grep HOSTNAME /etc/rc.config.d/*&lt;BR /&gt;(this is to check if there are multiple entries for hostname)&lt;BR /&gt;&lt;BR /&gt;2. Have you tried setting the hostname using "set_parms hostname" &lt;BR /&gt;I know you said setting the hostname with "hostname hpd380" seems to be working but try set_parms (would need a reboot)&lt;BR /&gt;&lt;BR /&gt;3. Do a "getip hpd380"&lt;BR /&gt;(would return the IP address)&lt;BR /&gt;nslookup hpd380&lt;BR /&gt;nslookup &lt;IP address="" of="" hpd380=""&gt;&lt;BR /&gt;Do they point to the same address?&lt;BR /&gt;&lt;BR /&gt;4. Are you using DNS or NIS. In any case make sure your /etc/nsswitch.conf is set up correctly. If you don't have a file in place you can copy it from /usr/newconfig/etc.&lt;BR /&gt;&lt;BR /&gt;5. Are you having a problem loggin in as root and users or only as users? &lt;BR /&gt;If you are having a problem loggin in as users make sure the permissions are set ok&lt;BR /&gt;&lt;BR /&gt;-r--r--r-- bin:bin /etc/hosts&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- root:sys /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- root:sys /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;I would agree with others that this does not need a reinstall of the OS. Atleast not yet.&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh&lt;/IP&gt;</description>
      <pubDate>Tue, 04 Sep 2001 01:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574105#M858125</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T01:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574106#M858126</link>
      <description>Hi May,&lt;BR /&gt;&lt;BR /&gt;Instead of setting the hostname manually, why don't you try setting up the same theough SAM and see if it helps.&lt;BR /&gt;&lt;BR /&gt;SAM --&amp;gt; Networking and communication --&amp;gt; Network Interface Cards&lt;BR /&gt;&lt;BR /&gt;Select the LAN Port / Card and Select Action ---&amp;gt; Delete &lt;BR /&gt;Select the same Again, Action --&amp;gt; Configure, Add the Server name and the aliases. Reboot the box and see if it helps.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 16:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574106#M858126</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-04T16:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574107#M858127</link>
      <description>There are a few places in the system that hold hostname info.  You need to ensure that all these places have the correct and same hostname.  The best and easiest way to do this is to use the old trustworthly:&lt;BR /&gt;set_parms hostname&lt;BR /&gt;&lt;BR /&gt;This will set it properly for your system in all the places it should.  Then go back and ensure your /etc/hosts file is typed correctly (do your nslookup for name &amp;amp; IP) and double check your netconf file also...&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita</description>
      <pubDate>Tue, 04 Sep 2001 18:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574107#M858127</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-09-04T18:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: hostname error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574108#M858128</link>
      <description>Hi May;&lt;BR /&gt;&lt;BR /&gt;Do "set_parms hostname" and try again.&lt;BR /&gt;&lt;BR /&gt;It will show the hostname correctly while changing hostname don't stop go ahead and type the hostname again(dont press just enter).And it should reboot the system.This could solve your problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 20:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-error/m-p/2574108#M858128</guid>
      <dc:creator>G.Kumar</dc:creator>
      <dc:date>2001-09-04T20:23:47Z</dc:date>
    </item>
  </channel>
</rss>

