1826510 Members
3618 Online
109694 Solutions
New Discussion

swinstall

 
David Lewis_1
Advisor

swinstall

I have just done a control 'c' out of a swinstall sessions and now when I attemp to use swinstall or swremove it is telling me that I have a read/write lock denied? Any ideas on how to remove this lock?
thx
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: swinstall

It takes some time for swinstall to shut down even after you control-c

If you are brave you can fuser -cu /var or ps your session and issue a kill on the process id.

That should clear up the locks.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Sanko
Trusted Contributor

Re: swinstall

You need to do is to rm the files

/var/adm/sw/products/swlock
/var/spool/sw/catalog/swlock
/usr/sbin/rpc.lockd if you have had trouble with the

if that doesn't fix it may be time to

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start



Michael Steele_2
Honored Contributor

Re: swinstall

mwa stop (* stop measureware *)
swagentd -k (* stop *)
rm /var/adm/sw/products/swlock (* removed lock *)
swagentd -r (* restart *)
Support Fatherhood - Stop Family Law
Helen French
Honored Contributor

Re: swinstall

You may need to consider looking at these two files:
/var/adm/sw/products/swlock
/var/spool/sw/catalog/swlock

The first file put a lock for the swinstall commands and the second one for swcopy. On the safer side, you may stop and start the swagent services and daemons. For more installation about these locks, read man pages - swinstall (1m)
Life is a promise, fulfill it!