Operating System - HP-UX
1825049 Members
3337 Online
109678 Solutions
New Discussion юеВ

swinstall can't find Source Depot Path

 
SOLVED
Go to solution
kenny chia
Regular Advisor

swinstall can't find Source Depot Path

Hi
I'm trying to install Ignite on a HP-UX server.
I'm basically trying to install the filesets needed for make_tape_recovery only. I have downloaded the depot software and placed it in my server

The full path name of the depot software is /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot

I executed swinstall on a xterm and the following error message appears

"The default source "/var/spool/sw" does not exist or is not a valid source and there are no other registered depots on hm1. You can type in the depot path on this host or choose a different host"

The source directory /var/spool/sw does exits but swinstall does not seem to recognise this.

How should I proceed on from here
All Your Bases Are Belong To Us!
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: swinstall can't find Source Depot Path

One thing that sometimes whacks out swinstall is a cdrom entry in /etc/fstab and no cd in the drive.

Comment out the mount for the cdrom in /etc/fstab and try again.

Try installing non-interactively as an alternative.

swinstall -x autoreboot=true -x reinstall=false -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot \*

This should work. I don't think the Ignite install willactually boot the server, so you might be able to get away without either -x directive.

Next step

/sbin/init.d/swagend stop
/sbin/init.d/swagend start

try again, the non-interactive is faster.

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
twang
Honored Contributor

Re: swinstall can't find Source Depot Path

Try to include the hostname in the depot path:
swinstall -x autoreboot=true -x match_target=true -s :/var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot
Con O'Kelly
Honored Contributor

Re: swinstall can't find Source Depot Path

Hi

Try using
# swinstall -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot

Cheers
Con
Karthik S S
Honored Contributor
Solution

Re: swinstall can't find Source Depot Path

Hi,

Either you register the depot using,

swreg -l depot -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot

or

swcopy -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot
@ /var/spool/sw

and swinstall -s /var/spool/sw

or

as other people also have suggested and which is the simplest way,

swinstall -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot
\*


Regards,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Ollie R
Respected Contributor

Re: swinstall can't find Source Depot Path

Hi Kenny,

I don't see a problem here. This is normal behaviour for swinstall when you start the GUI. It looks for a depot in the default directory, which is "/var/spool/sw"

Just because the "/var/spool/sw" exists, does not mean it is registered as a depot on the system, and it sounds like there is nothing in it anyway. In fact, the message tells you that you don't have any registered depots on the system at all.

So, you can do the command line swinstall command that others have suggested, or you can just go ahead and type the path of the depot into the swinstall GUI and install it that way.

Good luck,

Ollie.
To err is human but to not award points is unforgivable
Abskhan
Occasional Advisor

Re: swinstall can't find Source Depot Path


It may be primitive to suggest this . Try registering the software depot with swreg command and try .

Hope this works.

kenny chia
Regular Advisor

Re: swinstall can't find Source Depot Path

Thanks for all your fast response
So if the depot is not registered, I have to specify the full path?
#swinstall -s /var/spool/sw/Ignite-UX-10-20_A.3.7.95_HP-UX_B.10.01_700+800.depot

Anyway I intend to install only a few filesets, enought to do make_tape_recovery.

Does Ignite require a license to use?

Thanks
All Your Bases Are Belong To Us!
Con O'Kelly
Honored Contributor

Re: swinstall can't find Source Depot Path

You're correct if the depot is not registered you need to specify the full path.

Ignite does not require a licence.
Unless you have disk space issues, you're probably as well to install the whole ignite-ux package. Gives you more features etc & you'll be sure that you don't have problems if certain filesets are missing etc.

Cheers
Con
Oliver Zell_1
Advisor

Re: swinstall can't find Source Depot Path

Hi Folks,

In relation to the sw path problem in http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=206660, I have a registered depot and mount points are or ok. The problem I see is with swagentd not running ...
# /sbin/init.d/swagentd start
ERROR: Unable to restart swagentd after initializing networking.

In the same session it previously saw the depot and proceeded to do the swcheck but I had to abort because of not enough space, which has been resolved, but the depot is not seen anymore?

Regards,
Stuart
Oliver Zell_1
Advisor

Re: swinstall can't find Source Depot Path

Hi Folks,

In relation to the sw path problem on 11.11 (http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=206660), I have a registered depot and mount points are or ok. The problem I see is with swagentd not running ...
# /sbin/init.d/swagentd start
ERROR: Unable to restart swagentd after initializing networking.

In the same session it previously saw the depot and proceeded to do the swcheck but I had to abort because of not enough space, which has been resolved, but the depot is not seen anymore?

Regards,
Stuart