Operating System - HP-UX
1838205 Members
4427 Online
110125 Solutions
New Discussion

problem regarding swinstall

 
SOLVED
Go to solution
mailtork
Occasional Advisor

problem regarding swinstall

I am trying to install mozilla on a 3+0 environment following the below instructions:

Login to Database Server (where Database is running) as 'root' user.
Download the depots from the HP website mentioned above to /d/db/depots directory in Database Server((if depots directory does not exist in /d/db, create it)
Run the following commands to install GTK+ Libraries and Mozilla to SS as
· Login as root user
· # swinstall -s :/d/db/depots/B6848BA_1.4.gm.46.9_HP-UX_B.11.11_32+64.depot \*
· # swinstall -s :/d/db/depots/moz_16001_1100.depot \*
Similarly, install the GTK+ Libraries and Mozilla in Database server and then SCS server.

when I am trying to install the SS server,

swinstall -s 10.7.31.307:/d/db/depots/moz_16001_1100.depot \*

======= 08/03/05 10:27:55 EEST BEGIN swinstall SESSION
(non-interactive) (jobid=mekko-0110)

* Session started for user "root@mekko".

* Beginning Selection
* Target connection succeeded for "mekko:/".
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 "10.7.31.307" does not match the hostname of
the single selected target "mekko", this source is not
allowed.
* Selection had errors.



======= 08/03/05 10:27:57 EEST END swinstall SESSION
(non-interactive) (jobid=mekko-0110)



here 10.7.31.307 is database server IP where depots are copied at /d/db/depots.

how to solve this ?
8 REPLIES 8
Derek Whigham_1
Trusted Contributor

Re: problem regarding swinstall

The problem is with the type of depot (Tapefile), You should copy the depot to the machine that need to be installed then "swreg -l depot /tmp/B6848BA_1.4.gm.46.9_HP-UX_B.11.11_32+64.depot

Then run swinstall from the local machine.

And install from there

Regards

Derek
Divide and Conquer
Joseph Loo
Honored Contributor
Solution

Re: problem regarding swinstall

hi,

refer to this similar problem:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066913322

then again, if u have enough space, why not just copy the depot file to the local machine and swinstall from there.

regards.
(p.s. please remember to assign points.)
what you do not see does not mean you should not believe
Steven E. Protter
Exalted Contributor

Re: problem regarding swinstall

The swreg -l depot command should be enough to allow for installation. The depot must reside on a NFS share. I've never tried it on a CIFS/Samba share, but that might work as well.

Otherwise copying it to the local device should be fine.

You can not share tape devices machine to machine effectively with HP-UX. That feature is not built into the OS. The depot needs to be on disk somewhere.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
mailtork
Occasional Advisor

Re: problem regarding swinstall

Hi thanks for quick replies.

I did -
swreg -l depot /d/db/depots/B6848BA_1.4.gm.46.9_HP-UX_B.11.11_32+64.depot

and I verified that swlist -l depot that depot is registered. From other server when I executed

swinstall -s 10.7.31.307:/d/db/depots/moz_16001_1100.depot \*

still I am getting same problem .. :-(
Fabio Ettore
Honored Contributor

Re: problem regarding swinstall

Hi,

try the following:

insert IP 10.7.31.307 or hostname (of course it should be resolvable) into /var/adm/sw/defaults.hosts.

There should be a sample.

Then launch swinstall in interactive mode

swinstall -i

and search in Source Hosts the host where depot is.
You will see depot location and can select it for the installation.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Derek Whigham_1
Trusted Contributor

Re: problem regarding swinstall

I think the same problem exists the depot is a tapefile, which must be installed from the local machine, You are refering to a remote depot server.

Try converting it to a directory depot instead of a tape depot

Something like this

swpackage -x layout_version=1.0 -x media_type=directoy \
-s /tmp/source @ /tmp/destination
Divide and Conquer
Matti_Kurkela
Honored Contributor

Re: problem regarding swinstall

Try stopping and restarting the swagentd daemon first.

sh /sbin/init.d/swagentd stop
sh /sbin/init.d/swagentd start

If the hostname or IP address of the server has changed and the server has not been rebooted after the change, this is one of the usual symptoms.

If there were problems in hostname resolving at the time when the server was booted, I think that might also cause this kind of problems (depending on nsswitch.conf configuration).
MK
mailtork
Occasional Advisor

Re: problem regarding swinstall

thanks