General
cancel
Showing results for 
Search instead for 
Did you mean: 

swverify -v check_permission=true SystemAdmin

SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

swverify -v check_permission=true SystemAdmin

trying to verify permissions between existing installation an a product installed and listed in /var/adm/products/

I have found that swverify apparently can do this with the check_permission option, but I'm getting the following error...
any ideas,

kibo:root> swverify check_permission=true SystemAdmin

======= 08/30/01 17:07:22 METDST BEGIN swverify SESSION
(non-interactive)

* Session started for user "root@kibo".

* Beginning Selection
* Target connection succeeded for "kibo:/".
ERROR: Could not apply the software selection
"check_permission=true"; it is not available from depot or
root "kibo:/".
* Software selection failed for "kibo:/".
* Software selections:
+ NFS.NFS-CORE,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ NFS.NFS-KRN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ NFS.NFS-SHLIBS,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.C-KRN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CMDS-AUX,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CMDS-MIN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE-KRN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE-SHLIBS,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE2-KRN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ OS-Core.KERN-RUN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.KERN2-RUN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ OS-Core.SYS-ADMIN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.FIRST-BOOT,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-HELP,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-RUN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-ENG-A-MAN,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-HELP,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ TextFormatters.TEXT-FMT,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
* A "+" indicates an automatic selection due to dependency or
the automatic selection of a reference bundle.
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swverify.last".
ERROR: A job cannot be created. There is no software specified in
the sessionfile: "/var/adm/sw/queue/logfiles/0229.1/session".
A job must have software specifications.
ERROR: The attempt to create the job failed. (Internal error)

ERROR: Could not change the job queue to "Complete" for job . The
job is not locked.

======= 08/30/01 17:07:24 METDST END swverify SESSION
(non-interactive)

LAter,
Bill
It works for me (tm)
4 REPLIES
Bill McNAMARA_1
Honored Contributor

Re: swverify -v check_permission=true SystemAdmin

I'm also interested to know if there is a way to find out if the ownership is still the same as in the INFO file.

Later,
Bill
It works for me (tm)
Robin Wakefield
Honored Contributor
Solution

Re: swverify -v check_permission=true SystemAdmin

Hi Bill,

You need the -x switch, and it's check_permissions=true, i.e. add an s before "="

Rgds, Robin
Bill McNAMARA_1
Honored Contributor

Re: swverify -v check_permission=true SystemAdmin

Thanks Robin,
I had spent half an hour on that and even looked in the man to verify my syntax!
I need to go out for a drink...

Later,
Bill
It works for me (tm)
Robin Wakefield
Honored Contributor

Re: swverify -v check_permission=true SystemAdmin

Bill,

woods and trees spring to mind. Have one for me too...robin.