<?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 changes to unknown after installing hardware patch and reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520614#M219862</link>
    <description>post the contents of foo.log</description>
    <pubDate>Fri, 08 Apr 2005 04:57:30 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2005-04-08T04:57:30Z</dc:date>
    <item>
      <title>hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520593#M219841</link>
      <description>I had installed the Hardware patch bundle HWE1100_B.11.00.0403.3.depot on my HP-UX &lt;BR /&gt;&lt;BR /&gt;11.0 Server and rebooted the machine. After rebooting i found that the system &lt;BR /&gt;&lt;BR /&gt;hostname has changed to unknown. I checked the /var/adm/sw/swagentd.log file and it &lt;BR /&gt;&lt;BR /&gt;is giving a warning as follows:&lt;BR /&gt;&lt;BR /&gt;An attempt to get the network host entry for "unknown" 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;&lt;BR /&gt;Even my inetd daemon has not started after rebooting. I had to start it manually. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kindly help me in resolving this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Rajesh</description>
      <pubDate>Thu, 07 Apr 2005 23:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520593#M219841</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-07T23:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520594#M219842</link>
      <description>I would suggest you to do a &lt;BR /&gt;&lt;BR /&gt;#set_parms initial &lt;BR /&gt;&lt;BR /&gt;and do a reboot.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 23:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520594#M219842</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-07T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520595#M219843</link>
      <description>Hey!&lt;BR /&gt;&lt;BR /&gt;Before you do a set_parms initial.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;please do the following&lt;BR /&gt;&lt;BR /&gt;1.check your /etc/rc.log and see which all services have failed.&lt;BR /&gt;&lt;BR /&gt;Might be there are some errors are /etc/rc.config.d scripts.&lt;BR /&gt;&lt;BR /&gt;Make sure that you have no copies/revisions of file in the /etc/rc.config.d directories.&lt;BR /&gt;&lt;BR /&gt;There might be multiple versions of netconf file at /etc/rc.config.d directory which is causing the prob..</description>
      <pubDate>Thu, 07 Apr 2005 23:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520595#M219843</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-07T23:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520596#M219844</link>
      <description>I am hereby uploading the rc.log file. It gives some syntax errors while starting certain serveices.</description>
      <pubDate>Fri, 08 Apr 2005 00:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520596#M219844</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-08T00:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520597#M219845</link>
      <description>Hi,&lt;BR /&gt;Hostname script itself is giving syntax error. please see this script. I think it was edited earlier, it normally do not happen because of a patch. Still did you confirmed by booting before applying pathces? You can rectify this problem yourself . Compare this files lines no.1 for some syntax errors and have a look at  /sbin/init.d/template to have general idea of syntax of these files.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Apr 2005 00:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520597#M219845</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-08T00:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520598#M219846</link>
      <description>Just check whether any user scripts are present in the /etc/rc.config.d directory</description>
      <pubDate>Fri, 08 Apr 2005 00:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520598#M219846</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T00:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520599#M219847</link>
      <description>Hi Rajesh,&lt;BR /&gt;&lt;BR /&gt;Just edit the files "/sbin/rc1.d/S320hostname, /sbin/rc1.d/S112kminit' and see the first line should be "#!/sbin/sh" and for files hostname and kminit in /sbin/init.d directory also it should be "#!/sbin/sh".&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Apr 2005 00:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520599#M219847</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-08T00:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520600#M219848</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I checked the scripts as suggested by devender. The first line is as you told  '#!/sbin/sh'.&lt;BR /&gt;&lt;BR /&gt;Manikandan, I also checked the /etc/rc.config.d/ , there are no user scripts.</description>
      <pubDate>Fri, 08 Apr 2005 01:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520600#M219848</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-08T01:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520601#M219849</link>
      <description>Hi Rajesh,&lt;BR /&gt;&lt;BR /&gt;Which and all patches does your installation included? Can you uninstall it once and check if it works fine? Did you rebooted prior to pathch installation? It might have happened that problem actually happened earlier and came into effect on reboot. &lt;BR /&gt;Just a thought.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Apr 2005 01:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520601#M219849</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-08T01:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520602#M219850</link>
      <description>Can you please execute &lt;BR /&gt;&lt;BR /&gt;sh -x  /sbin/rc1.d/S320hostname&lt;BR /&gt;&lt;BR /&gt;and check exactly what the problem is ...</description>
      <pubDate>Fri, 08 Apr 2005 01:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520602#M219850</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T01:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520603#M219851</link>
      <description>Hai,&lt;BR /&gt;&lt;BR /&gt;Manikandan when I execute &lt;BR /&gt;/sbin/rc1.d/S320hostname start     &lt;BR /&gt;&lt;BR /&gt;I get the following error&lt;BR /&gt;                                       &lt;BR /&gt;/sbin/rc1.d/S320hostname[36]: Syntax error at line 1 : `(' is not expected.</description>
      <pubDate>Fri, 08 Apr 2005 02:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520603#M219851</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-08T02:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520604#M219852</link>
      <description>Do a &lt;BR /&gt;&lt;BR /&gt;$set -x &lt;BR /&gt;$/sbin/rc1.d/S320hostname start</description>
      <pubDate>Fri, 08 Apr 2005 02:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520604#M219852</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T02:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520605#M219853</link>
      <description>Rajesh,&lt;BR /&gt;&lt;BR /&gt;Backup your /sbin/init.d/hostname to hostname.bak and just copy attached file in /sbin/rc1.d directory. &lt;BR /&gt;&lt;BR /&gt;It should look like.&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x   1 bin        bin            908 Nov 14  2000 hostname&lt;BR /&gt;&lt;BR /&gt;and /sbin/rc1.d/S320hostname should be also  link to this file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And try above step i.e. starting it manually.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Apr 2005 02:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520605#M219853</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-08T02:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520606#M219854</link>
      <description>Manikandan i did as u suggested. It gives the same error.&lt;BR /&gt;&lt;BR /&gt;+ /sbin/rc1.d/S320hostname start&lt;BR /&gt;/sbin/rc1.d/S320hostname[36]: Syntax error at line 1 : `(' is not expected.</description>
      <pubDate>Fri, 08 Apr 2005 02:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520606#M219854</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-08T02:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520607#M219855</link>
      <description>I am not at my office now.&lt;BR /&gt;&lt;BR /&gt;Can you check the line 36 as where this script is calling&lt;BR /&gt;&lt;BR /&gt;"S320hostname[36]"</description>
      <pubDate>Fri, 08 Apr 2005 02:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520607#M219855</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T02:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520608#M219856</link>
      <description>Hi Rajesh,&lt;BR /&gt;&lt;BR /&gt;The problem is with your /etc/rc.config.d - hostname initialization file&lt;BR /&gt;&lt;BR /&gt;check your netconf file there.&lt;BR /&gt;&lt;BR /&gt;Check anything junk is present on the 1st line.&lt;BR /&gt;&lt;BR /&gt;Also do not have any netconf.old or netconf.bk files in there.There should be only one file with name "netconf"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 02:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520608#M219856</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T02:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520609#M219857</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;It is checking /etc/rc.config at line 36. So check the file /etc/rc.config for problems. The contents should like the attached file.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Apr 2005 02:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520609#M219857</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-04-08T02:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520610#M219858</link>
      <description>Do check any user scripts are present with hostname entries&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#grep HOSTNAME /etc/rc.config.d/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also,check as what the parameter HOSTNAME=&lt;BR /&gt;is set to /etc/rc.config.d/netconf file</description>
      <pubDate>Fri, 08 Apr 2005 02:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520610#M219858</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-08T02:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520611#M219859</link>
      <description>Do&lt;BR /&gt;&lt;BR /&gt;# set -x&lt;BR /&gt;# . /etc/rc.config 2&amp;gt;&amp;amp;1 | tee foo.log&lt;BR /&gt;&lt;BR /&gt;and post the result of foo.log&lt;BR /&gt;&lt;BR /&gt;Also check that /sbin/rc1.d/S320hostname line 36 does say&lt;BR /&gt;&lt;BR /&gt;                . /etc/rc.config&lt;BR /&gt;&lt;BR /&gt;and NOT&lt;BR /&gt;&lt;BR /&gt;                . /etc/config&lt;BR /&gt;&lt;BR /&gt;Because . /etc/config WILL give you the error you are seeing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 03:37:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520611#M219859</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-08T03:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: hostname changes to unknown after installing hardware patch and reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520612#M219860</link>
      <description>Devender the 36th line contains . /etc/rc.config&lt;BR /&gt;&lt;BR /&gt;Also I compared /etc/rc.config with the file you sent. Both are the same.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manikandan grep HOSTNAME /etc/rc.config.d/ shows nothing.&lt;BR /&gt;The parameter HOSTNAME=hptst&lt;BR /&gt;&lt;BR /&gt;stepen the output of&lt;BR /&gt;&lt;BR /&gt;# . /etc/rc.config 2&amp;gt;&amp;amp;1 | tee foo.log&lt;BR /&gt;sh: Syntax error: `(' is not expected.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Rajesh</description>
      <pubDate>Fri, 08 Apr 2005 04:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-changes-to-unknown-after-installing-hardware-patch-and/m-p/3520612#M219860</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2005-04-08T04:29:47Z</dc:date>
    </item>
  </channel>
</rss>

