- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swlist very slow.
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
Forums
Discussions
Discussions
Discussions
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
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
07-31-2002 12:53 PM
07-31-2002 12:53 PM
swlist very slow.
On one of my nclass box swlist response is very very slow. It takes a long time before returning the result. Any pointers? Env. 11.0,latest patches(march 02), 20 G ram. But only this box is slow there are 3 other similar config. boxes and all of them are fast. Any clue...
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 12:58 PM
07-31-2002 12:58 PM
Re: swlist very slow.
Normally, swlist's slow response has something to do with name resolution. Can you compare /etc/nsswitch.conf, /etc/resolv.conf on all boxes and see if you find any difference?
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 01:04 PM
07-31-2002 01:04 PM
Re: swlist very slow.
1) The logs (syslog.log,swagent.log,swinstall.log). Do you see anything "abnormal".
2) Restart "swagentd" to see if it helps.
If the above does not help, can't find anything wrong, then check for possible wrong entries related to the hostname resolution. For example ..
/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
Does "nslookup" on both the hostname and IP address gives any error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 01:20 PM
07-31-2002 01:20 PM
Re: swlist very slow.
if nslookup comes up with a unkown host name
cd /etc
mv resolv.conf abc.conf
ps -aef | grep swage
kill -9 PID
/sbin/init.d/swagentd -r
then do a swlist.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:05 AM
08-01-2002 07:05 AM
Re: swlist very slow.
Okay. It is not always slow. There is no difference in all the resolver config files. But sometimes swlist really is very very slow. I am comparing 3 boxes of similar config. I did find out in one of the boxes which was ok there was a $before the namserver name in resolv.conf instead of #. Will that be an issue? But anyway that is on the other box on which swlist is not slow. Any thoughts??
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:08 AM
08-01-2002 07:08 AM
Re: swlist very slow.
Try running /usr/contrib/bin/check_patches
on all your servers and compare output - are there a lot more problems reported on your occassionally slow server ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:10 AM
08-01-2002 07:10 AM
Re: swlist very slow.
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
Check the network traffic or errors while it's running slow. You may check the syslog file too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:14 AM
08-01-2002 07:14 AM
Re: swlist very slow.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:23 AM
08-01-2002 07:23 AM
Re: swlist very slow.
Thanks. check_patches was a good idea but i am not sure how it would impact swlist. Can you pl. explain. As far as nslookup it is the same way as swlist. nslookup takes a very long time to resolve sometimes but not always.
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:31 AM
08-01-2002 07:31 AM
Re: swlist very slow.
# swconfig \*
(which may also take a long time)
Stick with looking at a hostname resolution problem. This should be the underlying problem.
# nslookup hostname_here
# nslookup ip_address_here
Check /etc/resolv.conf. (If this exists, try moving it out of the way momentarily and run swlist again. See any improvement?)
Verify the entries in /etc/hosts.
How do you resolve names? Check it as well.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:32 AM
08-01-2002 07:32 AM
Re: swlist very slow.
So, if you have a corruption in there - some files/products corrupted, not installed properly or whatever then swlist is going to have trouble working out what to report - and thus take a while to display any output back to you.
So, check_patches is designed to do the same thing - go through in detail all installed products and patches and verify for you that theyre all installed properly - no corruptions, stuff not installed properly etc. So if you have an IPD corruption - check_patches will report lots of errors. On a nice clean system check_patches should only report a couple of minor swverify errors - or even better none at all! (thats the goal anyway).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:34 AM
08-01-2002 07:34 AM
Re: swlist very slow.
# swlist -l fileset -a state
==> Are all patches configured ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:36 AM
08-01-2002 07:36 AM
Re: swlist very slow.
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:42 AM
08-01-2002 07:42 AM
Re: swlist very slow.
Take a look at patch number PHCO_25875:
JAGad94050: swlist slows considerably when there are many files in /var/tmp.
HTH,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 07:50 AM
08-01-2002 07:50 AM
Re: swlist very slow.
You should defenitely check the network configuration/warnings during the time you experience this issue. If the problem is intermittent, this can be the problem with the network itself. Do you have any problems running other 'sw' commands ?
# gpm
# netstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 08:32 AM
08-01-2002 08:32 AM
Re: swlist very slow.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 08:48 AM
08-01-2002 08:48 AM
Re: swlist very slow.
can you run sam properly ?
Manoj Srivastava