1832953 Members
2644 Online
110048 Solutions
New Discussion

Patch Preview failed !!

 
Whitehorse_1
Frequent Advisor

Patch Preview failed !!

Hi Admins,

Im trying to do a patch preview on server-a. The depot is on server-b. Using the following command on server-a

swinstall -p -x patch_match_target=true -s server-b:/var/depot/GOLDQPK11i_B.11.11.06.depot

But Im getting the following error:
ERROR: The source you have chosen is a tape device which must be local to the single selected target. Since the hostname of
the tape device "server-b" does not match the hostname of the single selected target "server-a", this source is not allowed.
* Selection had errors.

Any inputs.. WH
Reading is a good course medicine for deep sleep !!
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: Patch Preview failed !!

Hi:

Register the depot on server-b (with 'swreg'):

# swreg -l depot /var/depot/GOLDQPK11i_B.11.11.06.depot

Regards!

...JRF...
Whitehorse_1
Frequent Advisor

Re: Patch Preview failed !!

Hi JRF,

Sorry not mentioned, I had registered using 'swreg -l' also. But still getting the same error. Im able to see the depot from server-a thro' 'swinstall' GUI.

Regds, WH
Reading is a good course medicine for deep sleep !!
Yang Qin_1
Honored Contributor

Re: Patch Preview failed !!

can you use IP or server-b.domain instead of server-b?
Whitehorse_1
Frequent Advisor

Re: Patch Preview failed !!

Hi Qin,

Tried your option. Still no success..WH
Reading is a good course medicine for deep sleep !!
James R. Ferguson
Acclaimed Contributor

Re: Patch Preview failed !!

Hi (again):

Try restarting your 'swagentd' daemon:

# /usr/sbin/swagentd -r

Regards!

...JRF...
Whitehorse_1
Frequent Advisor

Re: Patch Preview failed !!

Hi,

Just for information, Im able to view the depots from server-a kept in server-b:

From server-a:
$ sudo swlist -l depot @server-b
Password:
# Initializing...
# Target "server-b" has the following depot(s):

/var/adm/crash/sw/depot
/var/depot/GOLDQPK11i_B.11.11.06.depot

Regds, Wh
Reading is a good course medicine for deep sleep !!
Yang Qin_1
Honored Contributor

Re: Patch Preview failed !!

Then the depot was not properly packaged.

Try to re-package it on server-a with:

swpackage -s GOLDQPK11i_B.11.11.06.depot -d /var/depot/newdir -x target_type=/var/depot

or man swpackage