Operating System - HP-UX
1833883 Members
1484 Online
110063 Solutions
New Discussion

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

 
SOLVED
Go to solution
Bing Wong
Frequent Advisor

Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

I am trying to install IBM MQSERIES V6 on my HP-UX B11.11 64-bit machine. IBM instruction says to execute "swinstall -s src_dir MQSERIES" and I got the error below. I am still new to HP-UX. Your help is really appreciated. Thanks.

root@hrisdev1:/u09/MQSERIES # swinstall -s /u09/MQSERIES MQSERIES

======= 04/07/06 13:39:19 PDT BEGIN swinstall SESSION
(non-interactive) (jobid=hrisdev1-0541)

* Session started for user "root@hrisdev1".

* Beginning Selection
* Target connection succeeded for "hrisdev1:/".
ERROR: There is currently no depot software on host "hrisdev1" at
location "/u09/MQSERIES". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "hrisdev1:/u09/MQSERIES".
WARNING: More information may be found in the daemon logfile on this
target (default location is
hrisdev1:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 04/07/06 13:39:21 PDT END swinstall SESSION (non-interactive)
(jobid=hrisdev1-0541)

root@hrisdev1:/u09/MQSERIES #
12 REPLIES 12
Bill Hassell
Honored Contributor
Solution

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

swinstall is fairly simple. The -s option is the pathname to the MQseries depot file. A depot file is a simple tar file so based on your prompt (/u09/MQSERIES), you did not give the name of the file, just the name of the directory. The second parameter is the package name for installation. So assuming that the installation file is mqseries, the command would be:

swinstall -s /u09/MQSERIES/mqseries.depot MQSERIES


Bill Hassell, sysadmin
Bing Wong
Frequent Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

Thanks Bill. I tried and got the same error.

root@hrisdev1:/u09/MQSERIES # swinstall -s /u09/MQSERIES/mqseries.depot MQSERIES

======= 04/07/06 13:58:17 PDT BEGIN swinstall SESSION
(non-interactive) (jobid=hrisdev1-0542)

* Session started for user "root@hrisdev1".

* Beginning Selection
* Target connection succeeded for "hrisdev1:/".
ERROR: There is currently no depot software on host "hrisdev1" at
location "/u09/MQSERIES/mqseries.depot". Make sure that an
absolute pathname is specified for location (beginning with
"/").
* Source connection failed for
"hrisdev1:/u09/MQSERIES/mqseries.depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is
hrisdev1:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 04/07/06 13:58:19 PDT END swinstall SESSION (non-i
Deoncia Grayson_1
Honored Contributor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

i'm not sure if you're typing
swinstall -s /u09/MQSERIES/mqseries.depot MQSERIES
but if you are, then don't you must end at .depot
try listing the depot then try swinstall or you can register the depot then try install

swlist -d @/u09/MQSERIES/mqseries.depot

swinstall -s /u09/MQSERIES/mqseries.depot
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Bill Hassell
Honored Contributor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

Sorry, the mqseries.depot was only an example. The IBM documentation is incorrect as it seems to point you to a directory. I would contact IBM for the corrected instruction. You must give swinstall the full pathname of a file which is in SD format.


Bill Hassell, sysadmin
Darrel Louis
Honored Contributor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

Hi,

Have you checked you swagentd.log and swinstall.log file for more details.

Is the source directory and depot filename correct.

Restart your swagentd daemon.

GoodLuck

Darrel
RAC_1
Honored Contributor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

What does following say?

swlist -d @ "full_path_of_depot"
There is no substitute to HARDWORK
Bing Wong
Frequent Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

After executing swinstall -s ...., I got this. Your help is really appreciated.

root@hrisdev1:/root # swlist -d @/u09/MQSERIES/mqseries.depot
# Initializing...
# Contacting target "hrisdev1"...
ERROR: The expected depot or root does not exist at
"/u09/MQSERIES/mqseries.depot".
ERROR: There is currently no depot software on host "hrisdev1" at
location "/u09/MQSERIES/mqseries.depot". Make sure that an
absolute pathname is specified for location (beginning with
"/").
root@hrisdev1:/root # swinstall -s @/u09/MQSERIES/mqseries.depot

======= 04/10/06 13:45:51 PDT BEGIN swinstall SESSION
(non-interactive) (jobid=hrisdev1-0548)

* Session started for user "root@hrisdev1".

* Beginning Selection
* Target connection succeeded for "hrisdev1:/".
ERROR: Could not start a management session for "@:/var/spool/sw" due
to an internal Remote Procedure Call binding failure. The
calling routine is "IC_SourceGet".
* Source connection failed for "@:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is @:/var/adm/sw/swagentd.log).
* Selection had errors.
John M.
Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

Bing have you checked this?
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006097

We have installed 5.3 without any problems.
JM.
"Things fall apart, it's scientific" David Byrne
Bill Hassell
Honored Contributor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

What does this command show?

ll /u09/MQSERIES/mqseries.depot

If it says: "file not found" then you must determine the name of the installation file before you can install anything. What does the command:

ll /u09/MQSERIES

show? I looked briefly at the IBM site and it talks about tar, not swinstall. Anyway, like any installation program, there must be a specific file to use as the source. A directory (as mentioned in the original question) is not adequate.


Bill Hassell, sysadmin
Bing Wong
Frequent Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

The problem I have here is that I don't have a depot or cannot create a depot. I have checked the /etc/resolv.conf and /etc/nsswitch.conf. Here is the nsswitch.conf...Thanks.
passwd: files
group: files
hosts: files
##hosts: files [notfound=continue tryagain=continue UNAVAIL=continue] dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
Bing Wong
Frequent Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

Hi All,

Guess what! I successfully installed MQSERIES V6 on my HP-UX 11i. I used the installation instruction from V5.3 and worked beautifully. V6 installation instruction is BAD!!!!

Thank you for all your helps!
Bing Wong
Frequent Advisor

Re: Problem with swinstall when installing IBM MQSERIES V6 on HP-UX

The instruction for MQSERIES v6 for HP-UX is BAD!!!!