1748140 Members
3683 Online
108758 Solutions
New Discussion юеВ

swreg

 
SOLVED
Go to solution
himacs
Super Advisor

swreg

Hi admins,

I have registerd a depot using below command

swreg -l depot /tmp/PHNE_39872.depot

swlist -l depot
it gives correct output as /tmp/PHNE_39872.depot

But when i tried to install on another server
swinstall -s 10.11.10.34:/tmp/PHNE_39872.depot

in SAM window i cannot get source server name in source hostname field.
and please find the attached error

plz suggest on this
himacs
38 REPLIES 38
Tingli
Esteemed Contributor

Re: swreg

In another server, you can use

swlist -l depot @ 10.11.10.34

to see that patch depot is available or not.
himacs
Super Advisor

Re: swreg

Yes Tinqli,

Its available

swlist -l depot @ noortrg
# Initializing...
# Target "noortrg" has the following depot(s):
/tmp/rsp/depot
/var/patch/rsp/depot
/tmp/PHNE_39872.depot


Regards
himacs
Tingli
Esteemed Contributor

Re: swreg

I dunno, it sounds strange. How about using /tmp only as the Source Depot Path?
Mel Burslan
Honored Contributor

Re: swreg

This is not authoritative but as far as I can remember, a depot file is actually not a *real* depot but a collection of files, imitating to be on a tape. And since sw commands do not support remote tape drive access, what you are seeing makes perfect sense.

What you need to do is to copy the contents of this depot file into a directory, say /tmp/mypatches, using swcopy command, then register this directory as a depot with

swreg -l depot /tmp/mypatches

then you should be able to access it from remote systems.

HTH
________________________________
UNIX because I majored in cryptology...
himacs
Super Advisor

Re: swreg

Hi Admins,

Thanx for the replies.

I registered with another path

swreg -l depot /var/patch/PHNE_39872.depot


But the same error persists..

Plz help on this

My server is B.11.23

regards
himacs
Tingli
Esteemed Contributor

Re: swreg

You can try by bouncing swagent.
himacs
Super Advisor

Re: swreg

Hi Tinqli,

Thats already done.Any other possibilities?


regards
himacs
himacs
Super Advisor

Re: swreg

Hi Admin,

I rebounced the swagentd in both the servers.

Again i tried with
swinstall -s noortrg:/var/patch/depot

Only problem is in source hostname source server is not available
If i manually type the server name,ican view the registred depots from source..

Plz find the attachment

regards
himacs
Tingli
Esteemed Contributor

Re: swreg

Does that mean you can install it?