- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swlist/swinstall has no output
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:02 PM
тАО12-21-2006 08:02 PM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:13 PM
тАО12-21-2006 08:13 PM
Re: swlist/swinstall has no output
Try swlist -l bundle
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:14 PM
тАО12-21-2006 08:14 PM
Re: swlist/swinstall has no output
and welcome to the forums.
Kill then Restart your swagent:
kill -15 $(UNIX95=1 ps -C swagentd -o pid=)
/usr/sbin/swagentd -r
Correct any network problems.
Check /etc/hosts, /etc/nsswitch.conf and others.
Ensure you are pointing to a correct software location.
Use SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:18 PM
тАО12-21-2006 08:18 PM
Re: swlist/swinstall has no output
forgot to add the test:
swlist -R
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:27 PM
тАО12-21-2006 08:27 PM
Re: swlist/swinstall has no output
try to stop the swagentd using /sbin/init.d/swagentd stop, then start it again, same result, no output, just return.
I try to kill the swagentd pid, then restart using /usr/sbin/swagentd -r, same result.
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.
nsswitch.conf point to DNS as first, /etc/hosts as secondary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 08:48 PM
тАО12-21-2006 08:48 PM
Re: swlist/swinstall has no output
thanks for the feedback.
Can you please check the /var/adm/sw/products directory for products/patches etc.
Especially the index file
ll /var/adm/sw/products | grep -i index
Ensure you are running:
/usr/sbin/swlist
our nsswitch.conf:
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
As long as you have a continue if the dns is not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 09:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 02:06 AM
тАО12-22-2006 02:06 AM
Re: swlist/swinstall has no output
nsquery hosts $(hostname)
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.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2006 12:51 PM
тАО12-25-2006 12:51 PM