Operating System - HP-UX
1833780 Members
2688 Online
110063 Solutions
New Discussion

swreg -l depot /repository

 
ashan
Advisor

swreg -l depot /repository

Hi,
I need to register /repository as my depot
when I run above command I am getting below
error mesg.

any idea...?

Regards

Ashan

ashan@UADMIN >>>#swreg -l depot /repository

======= 06/05/03 17:11:13 SST BEGIN swreg SESSION (non-interactive)

* Session started for user "root@uxadmin".

* Beginning Selection
* Targets: uxadmin
* Objects: /repository
ERROR: There is currently no depot software on host "uxadmin" at
location "/repository". Make sure that an absolute pathname is
specified for location (beginning with "/").
ERROR: More information may be found in the daemon logfile on this
target (default location is uxadmin:/var/adm/sw/swagentd.log).
* Selection had errors.
4 REPLIES 4
Jarle Bjorgeengen
Trusted Contributor

Re: swreg -l depot /repository

Well,

it looks like you dont have a sw-depot on /repository.

Are you sure that you have, and that it is not .depot file, or in subdirectory of /repository ?

If you use swcopy, to copy in sw to a directory, the depot will automagically be registered for you.

Rgds Jarle
Steve Steel
Honored Contributor

Re: swreg -l depot /repository

hi

If you do not make a depot you cannot register it

see man swreg

Create a new depot with swpackage, then register it with swreg:

swpackage -s psf -d /var/spool/sw
swreg -l depot /var/spool/sw


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Massimo Bianchi
Honored Contributor

Re: swreg -l depot /repository

Hi,
Are you sure it's a depot ?

If you copied it from another server, did you copy all the files ?

HTH,
Massimo
vasundhara
Frequent Advisor

Re: swreg -l depot /repository

Hi,

The depot should be in the form of .depot and you have to give exactly the depot name not only the location for swreg. If the depot name is xyz.depot and it is present at /repository, you have to give

swreg -l depot /repository/xyz.depot

Regards
VJ.