- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swlist is not working
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
06-03-2001 11:03 PM
06-03-2001 11:03 PM
swlist is not working
I have encounter a problem while putting swlist in a hp-ux based machine ( J5600 series ).
swlist is working when i am entering as root, but when i enter as user, is giving as following messages like
# Initializing...
# Contacting target "sunlight"....
There is no error messages ,just it initializing and contacting the host then it's giving prompt. So anyone can helpme. please
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2001 11:09 PM
06-03-2001 11:09 PM
Re: swlist is not working
I think you have to check the /etc/hosts and make surethe entry for sunlist is OK.
ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2001 11:28 PM
06-03-2001 11:28 PM
Re: swlist is not working
swlist should work for a non root user. Have you tried swlist -v, does it give more output before crashing to the prompt ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 01:30 AM
06-04-2001 01:30 AM
Re: swlist is not working
I have tried
1) /etc/hosts
-rw-rw-r-- 1 root root 496 Feb 23 20:27 /etc/hosts
2) swlist -v,
# Initializing...
# Contacting target "sunlight"...
but still it is in the same position
no improvement
please guide me
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 02:00 AM
06-04-2001 02:00 AM
Re: swlist is not working
Have your tried some options;
swlist -l bundle
or
swlist -l fileset
Can you give us the output of swlist when run as root please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 02:20 AM
06-04-2001 02:20 AM
Re: swlist is not working
I had tryed out with swlist -l bundle and product , but i got same out. Here i am attaching the swlist for sunlight as root
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 02:34 AM
06-04-2001 02:34 AM
Re: swlist is not working
your problem could possibly be becuase you arent running an uptodate quarterly patch bundle. Recent one is March2001. Why arent you using them ? you have a few selected patches instead.
I cant see you have installed to important patches for software distributor;
PHCO_21492 1.0 Software Distributor (SD-UX) Cumulative Patch
PHCO_22044 1.0 HP-UX Software Distributor commands
Try installing them or preferrably a quarterly patch bundle and see if that resolves it. (One of these patches may superceed the other - check first)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 03:49 AM
06-04-2001 03:49 AM
Re: swlist is not working
My guess would be that you do not have the correct permissions set for the 'swlist' codefile.
Do an 'ls -l' and make sure of the ownership and particularly the setuid bit status of the codefile. It should look something like this:
-r-sr-xr-x 11 root bin 1609728 Dec 15 1998 /usr/sbin/swlist
If this is not the case, as necessary, do:
# chown root:bin /usr/sbin/swlist
# chmod 4555 /usr/sbin/swlist
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 04:50 AM
06-04-2001 04:50 AM
Re: swlist is not working
I don't think so it is due to PATCH which u mentioned. Why because yesterday it was fine. But problem is today only. More over the /usr/sbin/swlist file permission is same which James mentioned. If the Patch problem means swlist sould not work for root also.
And James this the status of file permission and ownership as follows
# ll /usr/sbin/swlist
-r-sr-xr-x 10 root bin 1478656 May 30 1996 /usr/sbin/swlist
the problem is not fix so far
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 05:05 AM
06-04-2001 05:05 AM
Re: swlist is not working
Time for you to start allocating points for those whove spent time trying to help so far.
And yes, a patch could very easily affect only non-root users.
If it was working yesterday and not now, whats happened inbetween ? sometone installed something ? have you tried rebooting your server as it could be simply environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 05:13 AM
06-04-2001 05:13 AM
Re: swlist is not working
OK. You might try to restart the swagentd daemon:
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
...JRF...