1834218 Members
3506 Online
110066 Solutions
New Discussion

swcopy has errors

 
SOLVED
Go to solution
lawrenzo
Trusted Contributor

swcopy has errors

Hello,

I am attempting an swcopy accross a network using

#swcopy -s \* :

however this is sending errors which are attached.

I attempted to swcopy the deopt on the same server and got similar errors.

I have used the commands on a different server for a different depot and this was successful.

can someone please help!

cheers
hello
7 REPLIES 7
Jeff_Traigle
Honored Contributor

Re: swcopy has errors

Try it with "-x enforce_dependencies=false".
--
Jeff Traigle
Prashant Zanwar_4
Respected Contributor

Re: swcopy has errors

You are trying to copy something in which you have skipped few filesets probably while download or so.

YOu might like to try downloading the product again with all filesets..and or do a swcopy using -x enforce_dependencies=false option.

Hope this helps
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Jannik
Honored Contributor

Re: swcopy has errors

trye to install all the dependensies or use the -x to force the swcopy
jaton
Geoff Wild
Honored Contributor

Re: swcopy has errors

Try with:

-x enforce_dependencies=false

and possibly add @ before

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
lawrenzo
Trusted Contributor

Re: swcopy has errors

whenI use the @ sign I get an error complaining about permissions?

hello
Ermin Borovac
Honored Contributor
Solution

Re: swcopy has errors

You have to use @ sign, otherwise swcopy will think that : is another software selection.

It seems that you are trying to use swcopy to copy software from local system to remote system (push). By default SD-UX allow read-only access to remote depots. To allow write access you can run the following on the remote system (FQDN is full qualified domain name of the system you are copying data from).

# swacl -l root -M user:root@:cwrit
# swacl -l host -M user:root@:cwrit
# swacl -l global_soc_template -M user:root@:cwrit
# swacl -l global_product_template -M user:root@:cwrit

Another alternative is to simply run swcopy on the remote system as follows ( is system you are copying data from).

# swcopy -s : \* @
lawrenzo
Trusted Contributor

Re: swcopy has errors

Thanx for your help,

Ermin, I have just attempted this and it is working at last.
hello