<?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 swlist display error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446442#M208053</link>
    <description>I am using UNIX v11.0. swlist display error. It is ok in the past.  I had look at the /etc/hosts and /etc/resolv.conf. I am using BIND 9.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swlist&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "server.mydomain.com"...&lt;BR /&gt;ERROR:   Could not contact host "server.mydomain.com".  Make sure&lt;BR /&gt;         the hostname is correct.&lt;BR /&gt;ERROR:   More information may be found in the daemon logfile on this&lt;BR /&gt;         target (default location is&lt;BR /&gt;         server.mydomain.com:/var/adm/sw/swagentd.log).&lt;BR /&gt;&lt;BR /&gt;# cat /var/adm/sw/swagentd.log&lt;BR /&gt;&lt;BR /&gt;=======  12/14/04 22:24:07 EAT  BEGIN swagentd (pid = 2010).&lt;BR /&gt;&lt;BR /&gt;WARNING: An attempt to get the network host entry for&lt;BR /&gt;         "server.mydomain.com" failed.  This may result in denial of&lt;BR /&gt;         access to users and agents at this host.  Check the spelling&lt;BR /&gt;         of this name, then your "/etc/hosts" file, or your&lt;BR /&gt;         "/etc/resolv.conf" file and DNS resolver configuration.  The&lt;BR /&gt;         nslookup program may be helpful in isolating this problem.&lt;BR /&gt;&lt;BR /&gt;=======  12/14/04 22:28:20 EAT  END swagentd (pid = 2010).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ref:&lt;BR /&gt;# cat /etc/hosts&lt;BR /&gt;&lt;BR /&gt;192.168.1.2     server&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;# cat /etc/resolv.conf&lt;BR /&gt;domain mydomain.com&lt;BR /&gt;nameserver 192.168.1.2&lt;BR /&gt;nameserver 202.67.143.222&lt;BR /&gt;nameserver 202.67.240.10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 18 Dec 2004 09:53:27 GMT</pubDate>
    <dc:creator>Kenneth_61</dc:creator>
    <dc:date>2004-12-18T09:53:27Z</dc:date>
    <item>
      <title>swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446442#M208053</link>
      <description>I am using UNIX v11.0. swlist display error. It is ok in the past.  I had look at the /etc/hosts and /etc/resolv.conf. I am using BIND 9.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swlist&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "server.mydomain.com"...&lt;BR /&gt;ERROR:   Could not contact host "server.mydomain.com".  Make sure&lt;BR /&gt;         the hostname is correct.&lt;BR /&gt;ERROR:   More information may be found in the daemon logfile on this&lt;BR /&gt;         target (default location is&lt;BR /&gt;         server.mydomain.com:/var/adm/sw/swagentd.log).&lt;BR /&gt;&lt;BR /&gt;# cat /var/adm/sw/swagentd.log&lt;BR /&gt;&lt;BR /&gt;=======  12/14/04 22:24:07 EAT  BEGIN swagentd (pid = 2010).&lt;BR /&gt;&lt;BR /&gt;WARNING: An attempt to get the network host entry for&lt;BR /&gt;         "server.mydomain.com" failed.  This may result in denial of&lt;BR /&gt;         access to users and agents at this host.  Check the spelling&lt;BR /&gt;         of this name, then your "/etc/hosts" file, or your&lt;BR /&gt;         "/etc/resolv.conf" file and DNS resolver configuration.  The&lt;BR /&gt;         nslookup program may be helpful in isolating this problem.&lt;BR /&gt;&lt;BR /&gt;=======  12/14/04 22:28:20 EAT  END swagentd (pid = 2010).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ref:&lt;BR /&gt;# cat /etc/hosts&lt;BR /&gt;&lt;BR /&gt;192.168.1.2     server&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;# cat /etc/resolv.conf&lt;BR /&gt;domain mydomain.com&lt;BR /&gt;nameserver 192.168.1.2&lt;BR /&gt;nameserver 202.67.143.222&lt;BR /&gt;nameserver 202.67.240.10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Dec 2004 09:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446442#M208053</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-12-18T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446443#M208054</link>
      <description>But, I can ping server and server.mydomain.com also.  So, I do not know what is wrong. :-(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ping server&lt;BR /&gt;PING server: 64 byte packets&lt;BR /&gt;64 bytes from 192.168.1.2: icmp_seq=0. time=1. ms&lt;BR /&gt;64 bytes from 192.168.1.2: icmp_seq=1. time=0. ms&lt;BR /&gt;# &lt;BR /&gt;# ping server.mydomain.com&lt;BR /&gt;PING server.mydomain.com: 64 byte packets&lt;BR /&gt;64 bytes from 192.168.1.2: icmp_seq=0. time=1. ms&lt;BR /&gt;64 bytes from 192.168.1.2: icmp_seq=1. time=0. ms&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Dec 2004 09:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446443#M208054</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-12-18T09:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446444#M208055</link>
      <description>Hi Kenethh,&lt;BR /&gt;If you are sure about the configration files (hosts,resolv.conf etc.) then try restarting the swagentd daemon. Hope fully it should  work.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/swagentd stop&lt;BR /&gt;# /sbin/init.d/swagentd start&lt;BR /&gt;&lt;BR /&gt;If this doesn't work then check the&lt;BR /&gt;"# hostname" &lt;BR /&gt;output. &lt;BR /&gt;Is it  showing the same server name as it is there in /etc/hosts and the one you are able to resolve. If not then use &lt;BR /&gt;"# set_parms hostname" &lt;BR /&gt;and set it right but this will reboot the server and accordingly u need to plan downtime.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Dec 2004 10:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446444#M208055</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-18T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446445#M208056</link>
      <description>OK,&lt;BR /&gt;&lt;BR /&gt;Look if you've got a /etc/nsswitch.conf file?&lt;BR /&gt;&lt;BR /&gt;If this is the case modify the hosts'line like this:&lt;BR /&gt;&lt;BR /&gt;hosts:    files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;Stf ;-)</description>
      <pubDate>Sun, 19 Dec 2004 05:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446445#M208056</guid>
      <dc:creator>Stf</dc:creator>
      <dc:date>2004-12-19T05:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446446#M208057</link>
      <description>Like Bharat Katkar asked, do you have "swagentd" running?&lt;BR /&gt;&lt;BR /&gt;Also, Why do you have 192.168.1.2 (server) pretending to be its own name server?&lt;BR /&gt;&lt;BR /&gt;Could you post the following files?&lt;BR /&gt;&lt;BR /&gt;/etc/named.conf&lt;BR /&gt;/etc/rndc.conf&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;/etc/named.data/* (all zone config files)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Sun, 19 Dec 2004 07:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446446#M208057</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-12-19T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446447#M208058</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;probably, your DNS is not working properly.&lt;BR /&gt;The easiest way ist a local entry to nsswitch.conf:&lt;BR /&gt;hosts: files dns&lt;BR /&gt;Then add to /etc/hosts:&lt;BR /&gt;192.168.1.2 server.mydomain.com server&lt;BR /&gt;&lt;BR /&gt;Then the server would be known as server.mydomain.com with the alias "server"</description>
      <pubDate>Sun, 19 Dec 2004 11:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446447#M208058</guid>
      <dc:creator>Michael Roeder</dc:creator>
      <dc:date>2004-12-19T11:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446448#M208059</link>
      <description>I just think swagent has problem. you try to restart this agent by issues two command&lt;BR /&gt;# /sbin/init.d/swagentd stop&lt;BR /&gt;# /sbin/init.d/swagentd start&lt;BR /&gt;and check again.&lt;BR /&gt;</description>
      <pubDate>Sun, 19 Dec 2004 23:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446448#M208059</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2004-12-19T23:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446449#M208060</link>
      <description>Wah !!! Even though it display the same server server.mydomain.com when run "#hostname" , it solves !! when I run 'set_parms hostname"  . Many thanks. :-)</description>
      <pubDate>Mon, 20 Dec 2004 06:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446449#M208060</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-12-20T06:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446450#M208061</link>
      <description>Thanks, Bharat Katkar . &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Dec 2004 07:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446450#M208061</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-12-20T07:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: swlist display error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446451#M208062</link>
      <description>At the end, I know the solution is to change:&lt;BR /&gt;&lt;BR /&gt;From :&lt;BR /&gt;192.168.1.2     server&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;192.168.1.2     server.mydomain.com  server&lt;BR /&gt;&lt;BR /&gt;in /etc/hosts&lt;BR /&gt;&lt;BR /&gt;Many thanks all of you.</description>
      <pubDate>Mon, 20 Dec 2004 07:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-display-error/m-p/3446451#M208062</guid>
      <dc:creator>Kenneth_61</dc:creator>
      <dc:date>2004-12-20T07:05:07Z</dc:date>
    </item>
  </channel>
</rss>

