- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stuck in a loop with a few swverify errors
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
01-29-2007 09:28 AM
01-29-2007 09:28 AM
Currently when I change a date stamp, ownership or permissions on a few select files & directories swverify reports that it should be something else. Then when I change it to that something else it tells me that it should be what it was previously set to.
Files & directories in question
ERROR: File "/usr/newconfig/etc/passwd" should have owner,uid "root,0" but the actual owner,uid is "other,100".
WARNING: Directory "/var/opt/OV" should have mode "555" but the actual mode is "2555".
WARNING: Directory "/var/opt/OV/tmp" should have mode "777" but the actual mode is "2775".
ERROR: File "/opt/VRTSob/lib/vxicudt20b.dat" should have owner,uid root,0" but the actual owner,uid is "other,100".
ERROR: File "/opt/perf/bin/perfalarm" should have group,gid "bin,2" but the actual group,gid is "sys,3".
ERROR: File "/opt/perf/bin/perfalarm" should have mtime "1145784626" but the actual mtime is "1170107386".
ERROR: File "/var/opt/OV/share/help/C/pv/OVW/Dialogs/pvconfig.dbx"
should have group,gid "bin,2" but the actual group,gid is "root,0".
ERROR: File "/var/opt/OV/share/help/C/pv/OVW/Functions/ackalarm.fun"
should have group,gid "bin,2" but the actual group,gid is "root,0".
ERROR: File "/var/opt/OV/share/help/C/pv/OVW/Functions/startpv.fun"
should have owner,uid "root,0" but the actual owner,uid is "bin,2".
ERROR: File "/var/opt/OV/share/help/C/pv/OVW/Tasks/ackalarm" should have owner,uid "root,0" but the actual owner,uid is "bin,2".
ERROR: File "/var/opt/OV/share/help/C/pv/OVW/Tasks/startpv" should have owner,uid "root,0" but the actual owner,uid is "bin,2".
ERROR: File "/usr/local/info/dir" should have mtime "1151585094" but the actual mtime is "1131374561".
ERROR: File "/usr/local/lib/charset.alias" should have mtime "1131627262" but the actual mtime is "1151585098".
ERROR: File "/usr/local/info/dir" should have mode "644" but the actual mode is "600".
Also is there anyway to fix the size difference swverify reports? I have noticed 2 or 3 files that report errors when it isnt the size it thinks it should be.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 09:44 AM
01-29-2007 09:44 AM
Re: stuck in a loop with a few swverify errors
'swverify' is doing what it has been told to do. That is, when run, 'swverify' uses the 'INDEX' files in the '/var/adm/sw/products' directories to compare the expected timestamp, permission and checksum values with their actual values.
Rembember that the 'var/adm/sw' directory is used by the SD tools and is your Installed Product Database (IPD). You do *not* want to diddle with its contents or risk corrupting it any any way. To do so, will mean that your server can no longer be patched or patched properly.
You need to be sure, if you change the attributes of a file that you understand the consequences.
As for the file sizes, 'cksum' returns both the checksum value and the octet size. Both of these values are assessed for "truth".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 09:50 AM
01-29-2007 09:50 AM
Re: stuck in a loop with a few swverify errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 09:52 AM
01-29-2007 09:52 AM
SolutionIt could also be that after you fix the ownership and permissions you introduced an mtime failure in their place. Use touch to help here.
In general, never edit the files under newconfig! To do so could block the system from updating "uncustomized" files in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 09:57 AM
01-29-2007 09:57 AM
Re: stuck in a loop with a few swverify errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 10:00 AM
01-29-2007 10:00 AM
Re: stuck in a loop with a few swverify errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 10:02 AM
01-29-2007 10:02 AM
Re: stuck in a loop with a few swverify errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 10:08 AM
01-29-2007 10:08 AM
Re: stuck in a loop with a few swverify errors
You could use :
# swverify -F
...to correct the permissions, ownership, etc. according to the INDEX files.
If only '/var/adm/sw/save' has been emptied (perhaps by 'cleanup') then you have only lost the ability to roll-back patches. The IPD should otherwise be intact.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 10:17 AM
01-29-2007 10:17 AM
Re: stuck in a loop with a few swverify errors
Swverify -F < > was able to fix things on its own. Ruling out any questions on what to set things to.
-David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 10:18 AM
01-29-2007 10:18 AM
Re: stuck in a loop with a few swverify errors
Swverify -F < > was able to fix things on its own. Ruling out any questions on what to set things to.
-David