Operating System - HP-UX
1834093 Members
2333 Online
110063 Solutions
New Discussion

Re: Unable to install depot of patches with Ignite-UX

 
HP-UX TIM OSP
Occasional Advisor

Unable to install depot of patches with Ignite-UX

Hello:

I've created a patch depot located at /var/opt/ignite/Patches with 23 patches in it. I ran the make_bundle and make_config commands. I have modified my /var/opt/ignite/INDEX file to include the config file for the bundle and made sure my config file is set to install that bundle.

I had to run swreg and swacl to get Ignite to recognize the depot. However, when it tries to install the depot on the client, it claims the patches are not available. Any clues?

Here's the output:
* Starting swinstall of the source (/var/opt/ignite/Patches).
* Running command: "/usr/sbin/swinstall
-s10.21.131.18:/var/opt/ignite/Patches
-f/tmp/ign_configure/software_file -x os_release=B.11.11 -x
os_name=HP-UX:64 "

======= 08/05/03 20:54:48 EDT BEGIN install AGENT SESSION (pid=4485)
(jobid=torumi41-0002)

* Agent session started for user "root@torumi41". (pid=4485)
WARNING: The software specified contains a kernel fileset. It will be
necessary to reconfigure and reboot the system to make the
kernel software functional.

* Beginning Analysis Phase.
* Source: 10.21.131.18:/var/opt/ignite/Patches
* Target: torumi41:/
* Target logfile: torumi41:/var/adm/sw/swagent.log
* Reading source for product information.
ERROR: "torumi41:/": 83 software selections cannot be found. Check
for proper spelling of names, etc.
ERROR: The software selection
"PHCO_23492.CORE-KRN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B
.11.11_32/64"
is not available. Make sure its state is "AVAILABLE".
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Unable to install depot of patches with Ignite-UX

There appears to be an error in the command line used.

-s10.21.131.18:/var/opt/ignite/Patches

There needs to be a space after the -s

Assuming thats just a cut and paste error, lets look and make sure nfs is running on the target server.

I also use hostname://var/opt/ignite/...

I don't know if thats required.

The ERROR message seems to indicate you are missing a dependency for the software you are installing. When you gathered the patches, did you download all dependencies?

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
HP-UX TIM OSP
Occasional Advisor

Re: Unable to install depot of patches with Ignite-UX

Yes, NFS is running since I am able to build the target with the 11.11 core depot. As you pointed out, the output above is a cut&paste :) It looks like the core depot's output earlier in the file.
Elena Leontieva
Esteemed Contributor

Re: Unable to install depot of patches with Ignite-UX

Nelson,

Could it be incorrect model string? Just a guess. Take a look:

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

Elena.
HP-UX TIM OSP
Occasional Advisor

Re: Unable to install depot of patches with Ignite-UX

Actually, it looks like it's a much more fundamental problem. I unregistered the depot, deleted almost everything from /var/opt/ignite/Patches. I need to mention that I have a vxfs FS mounted there as well.

I took one patch, shar'ed it to get the text and depot files. When I ran:

# swcopy -s ${PWD}/PHCO_23492.depot \* @ /var/opt/ignite/Patches

it returned with an error. Here's some info from the logfile:

======= 08/06/03 12:05:01 EDT BEGIN copy AGENT SESSION (pid=9890)
(jobid=torumi40-0085)

* Agent session started for user "root@torumi40". (pid=9890)

* Beginning Analysis Phase.
* Source:
torumi40:/var/opt/ignite/Patches/hpsecpatches/PHCO_23492.depot
* Target: torumi40:/var/opt/ignite/Patches
* Target logfile: torumi40:/var/opt/ignite/Patches/swagent.log
* Reading source for product information.
* Reading source for file information.
NOTE: The used disk space on filesystem "/var/opt/ignite/Patches" is
estimated to increase by 5 Kbytes.
This will leave 431025 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Copy Execution Phase.
* Filesets: 1
* Files: 1
* Kbytes: 4
ERROR: Failed to register "/var/opt/ignite/Patches". You must
register it later using the "swreg" command.
* Copying fileset "PHCO_23492.CORE-KRN,r=1.0" (1 of 1).
ERROR: Could not access remote file "/usr/sbin/kernsymtab" in
software item
"PHCO_23492.CORE-KRN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64"
due to an internal error on the remote system.
ERROR: Failed copying fileset "PHCO_23492.CORE-KRN,r=1.0". Check the
above output for details.


For every patch depot I try to swcopy, I get the same type of error. Any clues?

Thanks,
Nelson
Helen French
Honored Contributor

Re: Unable to install depot of patches with Ignite-UX

I would try the following:

1) Stop rpcbind and nfs daemons
2) Stop swagentd daemon
3) Start rpcbind and nfs daemons
4) Start swagentd daemons
Life is a promise, fulfill it!
HP-UX TIM OSP
Occasional Advisor

Re: Unable to install depot of patches with Ignite-UX

Hello:

I figured out the problem.

Per Shiju's email, I restarted the daemons not treuly understanding why I wanted to do that. Then I wondered, "I wonder if when I restart these daemons, it tries to resolve the hostname given to swagentd?" So, I looked in /etc/hosts and noticed that my hostname "torumi40" was tied back to the loopback addy and then later in the file my other "Real" IP. So, I deleteed the "127.0.0.1 torumi40" line, restarted all of the daemons and it worked perfectly!

Thanks for everyone's help!

Thanks,
Nelson