<?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: Cannot ping hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824757#M580973</link>
    <description>Harry,&lt;BR /&gt;&lt;BR /&gt;Please explain why you think I need the vi manual?  Also, explain what it is you want me to look at in the 2 files you mention. I explained in my original question that I've checked/modified both of these files, and they appear to be correct. Although I don't profess to be an expert, the files are very straight-forward.  If there is something in particular I should be looking for, please expound on your response and let me know what it is.</description>
    <pubDate>Mon, 14 Oct 2002 01:42:26 GMT</pubDate>
    <dc:creator>Kenneth Stoutzenberger</dc:creator>
    <dc:date>2002-10-14T01:42:26Z</dc:date>
    <item>
      <title>Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824754#M580970</link>
      <description>I've just installed HP-UX 11 and have set up my lan card to use DHCP.  When the system rebooted, the LAN failed.  The only way I was able to proceed was to disable DHCP and set up the network parameters manually by editing the /etc/rc.config.d/netconf file.  &lt;BR /&gt;&lt;BR /&gt;Now I am able to boot my system, but when the CDE launches, it gives me an error saying that the "desktop messaging system could not be started."  I then have to exit and login under the Failsafe mode.  The dialog says that there may be a networking problem and that I should check my etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;It does look like I have some sort of networking problem, but I don't know what it is.  I am able to ping "localhost" and I am able to ping my local machine, "10.0.0.5," however, I cannot ping if I use my hostname, "lucy"  I checked the host file and it seems OK to me.  The entry is just 10.0.0.5   lucy&lt;BR /&gt;&lt;BR /&gt;The strange thing is, I am able to ping my DNS server by pinging the name that is in the host file.&lt;BR /&gt;&lt;BR /&gt;I've tried using set_parms hostname to change the hostname, but still get the same problem.  Does anyone know what is wrong and what I need to do to fix this and be able to log into my CDE?&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;=^..^=</description>
      <pubDate>Mon, 14 Oct 2002 00:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824754#M580970</guid>
      <dc:creator>Kenneth Stoutzenberger</dc:creator>
      <dc:date>2002-10-14T00:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824755#M580971</link>
      <description>First place to check is in your /etc/nsswitch.conf file to see where your DNS is resolved to. You should have this set to files first. Do you use /etc/resolv.conf ?</description>
      <pubDate>Mon, 14 Oct 2002 00:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824755#M580971</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-10-14T00:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824756#M580972</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;get out the vi manual.&lt;BR /&gt;&lt;BR /&gt;Along with Michael's answer, I'd like to have you look at /etc/rc.config.d/netconf and /etc/hosts&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 14 Oct 2002 01:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824756#M580972</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-14T01:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824757#M580973</link>
      <description>Harry,&lt;BR /&gt;&lt;BR /&gt;Please explain why you think I need the vi manual?  Also, explain what it is you want me to look at in the 2 files you mention. I explained in my original question that I've checked/modified both of these files, and they appear to be correct. Although I don't profess to be an expert, the files are very straight-forward.  If there is something in particular I should be looking for, please expound on your response and let me know what it is.</description>
      <pubDate>Mon, 14 Oct 2002 01:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824757#M580973</guid>
      <dc:creator>Kenneth Stoutzenberger</dc:creator>
      <dc:date>2002-10-14T01:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824758#M580974</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;can u please see if the following outputs are consistent.&lt;BR /&gt;&lt;BR /&gt;1. nslookup lucy&lt;BR /&gt;2. getip lucy&lt;BR /&gt;3. nslookup 10.0.0.5&lt;BR /&gt;4. ping lucy&lt;BR /&gt;5. ping 10.0.0.5&lt;BR /&gt;&lt;BR /&gt;if they are consistent, just try deleteing the .dt* directories and try logging in again.&lt;BR /&gt;&lt;BR /&gt;Is it possible that you are running NIS and the /etc/hosts file is edited properly but the nis maps are not updated.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 14 Oct 2002 03:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824758#M580974</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2002-10-14T03:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824759#M580975</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;In regards to then "desktop messaging system could not be started." message:&lt;BR /&gt;&lt;BR /&gt;It's been my experience that the permissions on the .dt directory in your home are not correctly set.  Specifically, this directory and all the files underneath it should be owned by the user.  Change the ownership and you should be good to go.  I also noticed someone said to delete the .dt directory.  This should work as well, as CDE will recreate it when you log in.&lt;BR /&gt;&lt;BR /&gt;Follow up with the previous messages about the checking /etc/hosts, /etc/resolv.conf and /etc/nsswitch.conf files also.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark</description>
      <pubDate>Tue, 15 Oct 2002 14:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824759#M580975</guid>
      <dc:creator>Mark Ellzey</dc:creator>
      <dc:date>2002-10-15T14:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824760#M580976</link>
      <description>You mentioned that this is a fresh install of HPUX 11 so there is probably no /etc/nsswitch.conf file but rather some example files. Most people copy nsswitch.hp_defaults to nsswitch.conf and run with that. Just to get you going though you might try to comment out the line, in nsswitch.conf that reads:&lt;BR /&gt;&lt;BR /&gt;hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files &lt;BR /&gt;&lt;BR /&gt;and replace it with this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue] nis[NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;This will force it to look at the /etc/hosts file first for the local name. If that works then are you sure that your DNS has "lucy" resolving to the same address that you configured? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 16:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824760#M580976</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-10-15T16:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824761#M580977</link>
      <description>Thanks everyone.  This problem has been resolved by creating the /etc/nsswitch.conf file and setting it to search the file first and then dns.&lt;BR /&gt;&lt;BR /&gt;I appreciate the responses!&lt;BR /&gt;&lt;BR /&gt;=^..^=</description>
      <pubDate>Tue, 15 Oct 2002 17:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-hostname/m-p/2824761#M580977</guid>
      <dc:creator>Kenneth Stoutzenberger</dc:creator>
      <dc:date>2002-10-15T17:36:06Z</dc:date>
    </item>
  </channel>
</rss>

