- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/sw directory committing patches
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
тАО08-14-2002 10:16 AM
тАО08-14-2002 10:16 AM
I have read all the messages here pertaining to the SW directory and followed all advice to clear the directory "Cleanup" "Swmodify" and my SW directory still has the original 798 files in it. I then followed the next instructions "swlist -l patch -a patch_state |grep applied | grep "^# PH > /tmp/list_patch" I then edited the file to conform to Pxxx_xxxxx
and ran swmodify -x patch=true -f /tmp/list_patch". I got an error "The selected software to be committed was not modified. This may be a result of none of the selected software having a patch file list to commit.
I'm running HP-UX11 I too notice I have the following /usr/adm/sw (which is a link to Var)and the standard /var/adm/sw. What could be the cause of this?
Thanks for your help in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 10:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 11:06 AM
тАО08-14-2002 11:06 AM
Re: /var/adm/sw directory committing patches
Just found a document about the same error and the solution is to add a '*' at the end of PHSS_XXXX.*
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000028139881
Doc ID - A5401654
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 11:43 AM
тАО08-14-2002 11:43 AM
Re: /var/adm/sw directory committing patches
I had followed your instructions to the tee and get ERROR: The selected software to be committed was not modified. This
is probably the result of none of the selected software having
a patch fileset to commit.
Do you think at this point i can just delete the files in SW/SAVE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 11:54 AM
тАО08-14-2002 11:54 AM
Re: /var/adm/sw directory committing patches
If you are running 11.x, use:
# cleanup -c 1
'cleanup' is a nice interface to 'swmodify'.
'cleanup' is the *only* safe way to manage the '/var/adm/sw' directory! The suggested usage above will leave one-level of prior state information so that your current version(s) of software can be backed-out. Hence, it is expected that the 'var/adm/sw/' directory *will* contain files even afterwards.
You can verify your patch state easily with:
# check_patches
See its man pages for more information.
As for the fact that '/usr/adm/sw' is a symbolic link to '/var/adm/sw', this is normal for HP-UX filesystems.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 12:10 PM
тАО08-14-2002 12:10 PM
Re: /var/adm/sw directory committing patches
The only thing differant that you suggested is the check_patches. running it gives the following;
ERROR: 12 of 849 filesets had Errors.
* 837 of 849 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.
======= 08/14/02 15:08:15 CDT END verify AGENT SESSION (pid=1875)
(jobid=saturn-0209)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 05:38 AM
тАО08-15-2002 05:38 AM
Re: /var/adm/sw directory committing patches
THANKS FOR YOUR HELP!!!