1837791 Members
2855 Online
110120 Solutions
New Discussion

swcopy command

 
Roberto Volsa
Frequent Advisor

swcopy command

Hi,
i have to install some software and before i have to use swcopy command in order to do only once the swinstall command. But i get the error: Cannot establish a lock file on this target because of an external error.
I launche swcopy and selected a target directory, but during choice of source directory i got this message. Any info?
thanx
Roberto
5 REPLIES 5
Frederic Sevestre
Honored Contributor

Re: swcopy command

Hi,
Did you check if there is no other sw sessions using the depot ?
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Roberto Volsa
Frequent Advisor

Re: swcopy command

yes, no other session.
The number of patches to copy on a single depot is 90!!!!
Any help?
Thanx
Marcin Wicinski
Trusted Contributor

Re: swcopy command

Hi,

Sometimes wrong sw session closing causes a security problem. Try to close all sw sessions and:

# cd /var/adm/sw/scurity
# mv ./_ACL ./_ACL.old

and run new sw session (swinstall or whatever you want).

Later,
Marcin Wicinski
harry d brown jr
Honored Contributor

Re: swcopy command

Do you have swagentd running, which should be?

live free or die
harry
Live Free or Die
Roberto Volsa
Frequent Advisor

Re: swcopy command

Hi all,
problem solved in another way: i had to "unlock" the swcopy creating the file swlock in the /depot/catalog source directory.
All the restt went ok
..
...
..... 10 points to me!!

Roberto