HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

11.31 swreg -l depot error

 
Matthew Murdock
Frequent Advisor

11.31 swreg -l depot error

When I try to run swreg -l depot , I get a error stating "you do not have permission for this operation", although I am root. I placed a known working /etc/pam.conf in place on the server, but still, no go.
3 REPLIES
Indrajit_1
Valued Contributor

Re: 11.31 swreg -l depot error

Hello!!!

No. it doesn't requies any pam privilege. check first;
swlist -l depot
check if the depot(depot path) is present.

swreg is use for other purpose.
Never Ever Give Up
Suraj K Sankari
Honored Contributor

Re: 11.31 swreg -l depot error

HI,
If you want to see the list of depot installed in your system then the command will be
swlist -l depot

no need to give other command

and swreg is for register or unregister depots and roots.
see the man page of swreg.
http://docs.hp.com/en/B2355-90692/swreg.1M.html

Suraj
Matthew Murdock
Frequent Advisor

Re: 11.31 swreg -l depot error

>> Well from this morning itrc search,
"found a previous thread that suggested:
1...stop swagentd (/sbin/init.d/swagentd stop
2... move /var/adm/sw/security security.org
3...cp -rp /usr/newconfig/va/adm/sw/security /var/adm/sw/security
4...start swagentd (/sbin/init.d/swagentd start

after doing this swinstall now works..."
>> This also worked for me with the swreg command. You can register you depots to the SD agent with SWREG. Type in man swreg from the command prompt. Thanks.