Operating System - HP-UX
1753455 Members
6169 Online
108794 Solutions
New Discussion юеВ

swinstall and swacl problem

 
DeafFrog
Valued Contributor

swinstall and swacl problem

Dear Gurus ,

After copying depot to a server1 and running swinstall , it get somwthing like the attchment,i.e i do not get the depot listing but only hostname and root . however i have installed and tested the same way on another servers.As i can recall i had run some swreg and swacl commands long time back on this server.could it be because of this ? how to get the normal swinstall window . Pardon me if this is duplicate posting , as i am not able to search same in ITRC.

FrogIsDeaf
15 REPLIES 15
Nido
Trusted Contributor

Re: swinstall and swacl problem

Hi,

Check registered depot with: swlist -l depot

If registered depot not showing, remove the required depot entry and follow the steps:

If you want to create new softwre depot:
1)Create a Directory:
mkdir /newdir/depot
2)swpackage -s -d /newdir/depot
Register your new depot on the sd-ux:
3) swreg -l depot /newdir/depot

Copy any other depot available:
4)swcopy -s `pwd`/ABC.depot @ /newdir/depot

Check registered depot with: swlist -l depot


Thanks,
" Let Villagers Be Happy!! "
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Ganesh ,

# swlist -l depot
# Initializing...
# Target "withheld" has the following depot(s):
/home/tech/patch_4_oracle/depot
/var/WAS_128.1.150.18/ibmcd2/GSKit/gsk7bas64

I have unregistered the depot with
#swreg -l depot -u
But here my problem is that i am still not able to see this new depot entry in server when swinstall -s , i have copied dependencies and test the same on other server and it worked fine.

FrogIsDeaf
Dennis Handly
Acclaimed Contributor

Re: swinstall and swacl problem

>ganesh: If you want to create new software depot:
>2)swpackage -s -d /newdir/depot

If your depot already exists, you should use swcopy as in 4). The only time you should use swpackage is when you are packaging depots or want to create a tape depot.
Dennis Handly
Acclaimed Contributor

Re: swinstall and swacl problem

>After copying depot to a server1

How did you do this? swcopy?

>I have unregistered the depot with

Did you reregister it?

>how to get the normal swinstall window?

Why would you want want a window? Do everything from the command line.

# swinstall -s $PWD/depot \*

This will install everything.
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Dennis ,

Thanks for the reply.This is what i am trying to install :
# swlist -d @ /tmp/DP*
# Initializing...
# Contacting target "withheld"...
#
# Target: withheld:/tmp/DP_A0600_UXia64.sd_depot
#

#
# Bundle(s):
#

B6960MA A.06.00 HP OpenView Storage Data Protector

I have copied this with cp , not swcopy, as i did for the other server2 and server3 whereit had worked fine.
In server2/3 i simply did swinstall -s /tmp/DP* and it worked fine.Now on the server1 i am getting the attachment that i have posted in initation thread

How did you do this? swcopy? No

Did you reregister it? I should be able to install without registering.

Why would you want want a window? I am able to install with swinstall -s /tmp/DP_A0600_UXia64.sd_depot \*
I need a window for other product which will be installed with swinstall.
Once again thanks for the help.
FrogIsDeaf
smatador
Honored Contributor

Re: swinstall and swacl problem

Hi,

I don't understand, what's happen when you do only
# swinstall -s /tmp/DP_A0600_UXia64.sd_depot
do you have something to highlight, if yes enter in the depot and after that you could select under the depot.
Other think, why you don't use the omnisetup script?

Hope it helps
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Smatador,

I did't use omnisetup script as it exited every time after unpacking only , without installing anything . i had use this command with omnisetup
# ./omnisetup.sh -install da -server and it did't worked,
so i copied only the DP_A0600_UXia64.sd_depot and installed it , it worked fine on server2/3.
However the problem here is "hosatname root in swinstall " in server1 and not the "Specify Source" selection window.Please let me know if you want some o/p.
FrogIsDeaf
Bart Paulusse
Respected Contributor

Re: swinstall and swacl problem

Hi DeafFrog,

have you tried restarting swagentd?
# swagentd -r

Bart
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hello Bart ,

yes i did tried that , it didn't helped .after giving swagentd -r , and then swinstall showed the same thing ,could it have something to do with swacl ,not sure.
FrogIsDeaf