1827629 Members
3393 Online
109966 Solutions
New Discussion

swinstall problem

 
SOLVED
Go to solution
Alex Lavrov
Regular Advisor

swinstall problem

Hello!

I downloaded SCM depot from HP site,
I registered it on the server:
swreg -l depot /depots/SCM.depot

Then, I tried to swinstall it from other computer, but I get the message:

"The source you have chaseon is a tape device. a tape device must be local to the single marked target. Since the hostname of the tape device does not match the hostname of the single marked target, this source is not allowed. Please choose a different source."
4 REPLIES 4
Jeff Schussele
Honored Contributor
Solution

Re: swinstall problem

Hi Alex,

The problem you're encountering is due to the fact that this depot has no swlock file that's required for remote installs. Without that file, installs may only be done locally.

So take a look at that .depot entry - Is it a directory or just a file? If it's the former then drill down to it's catalog subdir & in that dir touch swlock. Set perms to 444 & ownership to root:sys.

If it's the latter then untar it first & do the above afterwards.

You'll probably have to unregister the old & reregister the depot once more.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Steele_2
Honored Contributor

Re: swinstall problem

Try this instead.

Uncompress/unshar the patch downloaded. Look for PH*.txt and PH*.depot files.

# cd /tmp
# for X in PH*.#
> do
> sh ${X}
> done

Install the patch:

# PDIR=/tmp/patch_depot
# mkdir ${PDIR}
# for X in PH*.depot
> do
> swcopy -s ${PWD}/${X} \* @ ${PDIR}
> done
Support Fatherhood - Stop Family Law
Alex Lavrov
Regular Advisor

Re: swinstall problem

Hello Jeff,
I untared the depot and added swlock as u recommended in catalog directory, then I tared the depot again and registered it. did not helped. Then I untarred it again, and registered it as depot again (but now it's a directory and not tar file), it worked, now I wonder is it the tar file that mesed the things up or it's swlock that helped.

Thanx a lot.

Hello Michael,
Jeff's solution helped, so I did not try yours (and it's not a patch).
Thanx for helping.
Michael Steele_2
Honored Contributor

Re: swinstall problem

Use binary ftp.
Support Fatherhood - Stop Family Law