- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swacl and users other than root
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
тАО10-29-2009 08:45 PM
тАО10-29-2009 08:45 PM
Re: swacl and users other than root
That INDEX file is the data that swlist is trying to display. That file being gone is obvious, but not clear why it is gone.
INDEX is a master file built from the fileset data. Does the command:
# find /var/adm/sw -name INDEX
find an obviously large selection of files? If so then the master should have been rebuilt when the new SD was installed.
Is /var tight on disk space?
Do you see any messages in /var/adm/sw/swagent.log for the last install or remove that point to the failure? What is the full data for the seg fault?
If the logs are clean try running again after setting the envar SDU_DEBUG=2. If you need something to install try Software Assistant (SWA - https://www.hp.com/go/swa)
For the record, /var should be 555 bin:bin and /var/adm should be 755 adm:adm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 06:54 AM
тАО10-30-2009 06:54 AM
Re: swacl and users other than root
There is a way to recreate the INDEX file... since it's not there anymore, there is no risk in creating it.
Try the following:
# cd /var/adm/sw/product
# find . -name INDEX -exec cat {} >>INDEX.new \;
# mv INDEX.new INDEX
# chown root:sys INDEX
# chmod 644 INDEX
Then check sw-commands again.
If the INDEX files of all products are still there, this will successfully recreate the INDEX. Otherwise something very destructive happened to the IPD and you might need to reinstall the OS...
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 06:56 AM
тАО10-30-2009 06:56 AM
Re: swacl and users other than root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 09:07 AM
тАО10-30-2009 09:07 AM
Re: swacl and users other than root
I do get some product listings now after it spews out a ton of these types of messages:
The duplicate product has been marked as corrupt, and its tag
attribute changed to "_product_230813".
ERROR: Duplicate definition for the product "PHKL_38736", beginning
at line 230883. This product defines the same values for the
same version attributes as another product or bundle contained
in the root (installation). Those attributes are
PHKL_38736,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 09:10 AM
тАО10-30-2009 09:10 AM
Re: swacl and users other than root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 01:49 AM
тАО11-02-2009 01:49 AM
Re: swacl and users other than root
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 08:00 AM
тАО11-02-2009 08:00 AM
Re: swacl and users other than root
A full backup followed by a cold-install of the system will get you back to a known good state. While this is a big hit, I *really* love known good states.
If that is not an option you might want to contact HP support. I have faith in my skills, but would not choose to do brain surgery without system access...
That said, if you want to continue start with posting the /var/adm/sw/swagent.log for the command "swverify \*".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 08:24 AM
тАО11-02-2009 08:24 AM
Re: swacl and users other than root
* File "/usr/sbin/swverify" could not be removed. It was renamed
* File "/usr/sbin/swverify" could not be removed. It was renamed
* File "/usr/sbin/swverify" could not be removed. It was renamed
I did not expect that. What does that mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 12:03 PM
тАО11-02-2009 12:03 PM
Re: swacl and users other than root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 12:20 PM
тАО11-02-2009 12:20 PM
SolutionWhat does the swagent.log show after a "swverify \*" command? That will find any permissions problems and/or broken dependencies or corruptions.