<?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: swlist/swinstall has no output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916810#M285429</link>
    <description>Hi,&lt;BR /&gt;thanks for the feedback.&lt;BR /&gt;Can you please check the /var/adm/sw/products directory for products/patches etc.&lt;BR /&gt;&lt;BR /&gt;Especially the index file&lt;BR /&gt;ll /var/adm/sw/products | grep -i index&lt;BR /&gt;&lt;BR /&gt;Ensure you are running:&lt;BR /&gt;/usr/sbin/swlist&lt;BR /&gt;&lt;BR /&gt;our nsswitch.conf:&lt;BR /&gt;# cat /etc/nsswitch.conf&lt;BR /&gt;hosts: files   [NOTFOUND=continue UNAVAIL=continue] dns     [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] &lt;BR /&gt;&lt;BR /&gt;As long as you have a continue if the dns is not found.</description>
    <pubDate>Fri, 22 Dec 2006 04:48:10 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-12-22T04:48:10Z</dc:date>
    <item>
      <title>swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916805#M285424</link>
      <description>I have one HP UX 11.23 server which I would like to apply the Sep 2006 Quality pack patch. but when I try to run the swlist or swinstall command, it just return with no output, no error at all, I guess it was the hosts/dns lookup problem somewhere, but I just can not find what is the root cause.&lt;BR /&gt;&lt;BR /&gt;I have check the /var/adm/sw/swagentd.log, it sometime shows a dns lookup error. but most of time is also don't have any error.</description>
      <pubDate>Fri, 22 Dec 2006 04:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916805#M285424</guid>
      <dc:creator>Li Hao</dc:creator>
      <dc:date>2006-12-22T04:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916806#M285425</link>
      <description>Li,&lt;BR /&gt;&lt;BR /&gt;Try swlist -l bundle &lt;BR /&gt;&lt;BR /&gt;Berd</description>
      <pubDate>Fri, 22 Dec 2006 04:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916806#M285425</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2006-12-22T04:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916807#M285426</link>
      <description>HI,&lt;BR /&gt;and welcome to the forums.&lt;BR /&gt;Kill then Restart your swagent:&lt;BR /&gt;kill -15 $(UNIX95=1 ps -C swagentd -o pid=)&lt;BR /&gt;/usr/sbin/swagentd -r&lt;BR /&gt;&lt;BR /&gt;Correct any network problems.&lt;BR /&gt;Check /etc/hosts,  /etc/nsswitch.conf and others.&lt;BR /&gt;Ensure you are pointing to a correct software location.&lt;BR /&gt;&lt;BR /&gt;Use SAM</description>
      <pubDate>Fri, 22 Dec 2006 04:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916807#M285426</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-22T04:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916808#M285427</link>
      <description>Hi (again),&lt;BR /&gt;forgot to add the test:&lt;BR /&gt;swlist -R&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Dec 2006 04:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916808#M285427</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-22T04:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916809#M285428</link>
      <description>I have clean up /etc/hosts file, I can look up my host name correctly, verified using ping.&lt;BR /&gt;&lt;BR /&gt;try to stop the swagentd using /sbin/init.d/swagentd stop, then start it again, same result, no output, just return.&lt;BR /&gt;&lt;BR /&gt;I try to kill the swagentd pid, then restart using /usr/sbin/swagentd -r, same result.&lt;BR /&gt;&lt;BR /&gt;all command swlist -l bundle, or swlist -R or swlist, swinstall has no ouput. using SAM to check installed software also just fresh the screen with no result. &lt;BR /&gt;&lt;BR /&gt;nsswitch.conf point to DNS as first, /etc/hosts as secondary.</description>
      <pubDate>Fri, 22 Dec 2006 04:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916809#M285428</guid>
      <dc:creator>Li Hao</dc:creator>
      <dc:date>2006-12-22T04:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916810#M285429</link>
      <description>Hi,&lt;BR /&gt;thanks for the feedback.&lt;BR /&gt;Can you please check the /var/adm/sw/products directory for products/patches etc.&lt;BR /&gt;&lt;BR /&gt;Especially the index file&lt;BR /&gt;ll /var/adm/sw/products | grep -i index&lt;BR /&gt;&lt;BR /&gt;Ensure you are running:&lt;BR /&gt;/usr/sbin/swlist&lt;BR /&gt;&lt;BR /&gt;our nsswitch.conf:&lt;BR /&gt;# cat /etc/nsswitch.conf&lt;BR /&gt;hosts: files   [NOTFOUND=continue UNAVAIL=continue] dns     [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] &lt;BR /&gt;&lt;BR /&gt;As long as you have a continue if the dns is not found.</description>
      <pubDate>Fri, 22 Dec 2006 04:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916810#M285429</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-22T04:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916811#M285430</link>
      <description>Since commands are returning no output can you verify that their size is not zero?&lt;BR /&gt;&lt;BR /&gt;# ll /usr/sbin/sw*&lt;BR /&gt;&lt;BR /&gt;Most of the SD-UX commands (swlist, swinstall) are hard linked to each other and setuid to root.</description>
      <pubDate>Fri, 22 Dec 2006 05:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916811#M285430</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-22T05:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916812#M285431</link>
      <description>Make sure your nsswitch.conf file has the hosts line looking at files first, then DNS (as mentioned above). Verify that your resolver is looking at the /etc/hosts file first with this command:&lt;BR /&gt; &lt;BR /&gt;nsquery hosts $(hostname)&lt;BR /&gt; &lt;BR /&gt;Then, did a well-meaning root user 'cleanup' the /var directory by removing some /var/adm/sw directories? If so, your system is damaged and the missing directories must be restored from your backup.</description>
      <pubDate>Fri, 22 Dec 2006 10:06:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916812#M285431</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-12-22T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: swlist/swinstall has no output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916813#M285432</link>
      <description>It turn out the /usr/sbin/sw* files are size 0. the files are somehow damaged during my last install of a package. I restored the file from another server, now it works.</description>
      <pubDate>Mon, 25 Dec 2006 20:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swlist-swinstall-has-no-output/m-p/3916813#M285432</guid>
      <dc:creator>Li Hao</dc:creator>
      <dc:date>2006-12-25T20:51:58Z</dc:date>
    </item>
  </channel>
</rss>

