Operating System - HP-UX
1822002 Members
3865 Online
109639 Solutions
New Discussion юеВ

Re: Install HPUX patch with problem

 
SOLVED
Go to solution
Boon khiang Sim
Advisor

Install HPUX patch with problem

Hi,

I have downloaded the patch from itrc website and when I try swinstall, I face the following problem.

Does anyone have any idea?

HP-UX kangaroo B.11.11 U 9000/800 2010501599 unlimited-user license

# swinstall -s /opt/patch_dec03/GOLDQPK11i_B.11.11.0312.4.depot -x autoreboot=true -x match_target=true

======= 08/19/04 09:19:32 WST BEGIN swinstall SESSION
(non-interactive) (jobid=kangaroo-0020)

* Session started for user "root@kangaroo".

* Beginning Selection
ERROR: Could not contact host "kangaroo". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "kangaroo:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
kangaroo:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 08/19/04 09:19:32 WST END swinstall SESSION (non-interactive)
(jobid=kangaroo-0020)

Thanks,
Sim
18 REPLIES 18
Jeff Schussele
Honored Contributor
Solution

Re: Install HPUX patch with problem

Hi Sim,

Bounce the swagent daemon..

/usr/sbin/swagentd -r

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor

Re: Install HPUX patch with problem

Three suggestions:

1) restart the swagent daemon
swagent -r

2) Make sure the hostname can be resolved locally
nslookup kangaroo

3) Try to do the install from within the swinstall terminal interface, just to see if the problem can be re-created.
Anyone for a Mutiny ?
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff,

Thanks but I still get the same error after trying your command.

# /usr/sbin/swagentd -r
# swinstall -s /opt/patch_dec03/GOLDQPK11i_B.11.11.0312.4.depot -x autoreboot=tr
ue -x match_target=true

======= 08/19/04 09:37:56 WST BEGIN swinstall SESSION
(non-interactive) (jobid=kangaroo-0021)

* Session started for user "root@kangaroo".

* Beginning Selection
ERROR: Could not contact host "kangaroo". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "kangaroo:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
kangaroo:/var/adm/sw/swagentd.log).
* Selection had errors.

rgds,
Sim
Jeff Schussele
Honored Contributor

Re: Install HPUX patch with problem

Hi (again) Sim,

Check the /var/adm/sw/swagentd.log for further info. And Tully's advice about the host being able to rseolve itself is good.
One other thing...IF this system was Ignite cloned from another host, check /var/adm/sw/security for ACLs that specify the "other" host.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff,

Thanks for your prompt reply. Tried your 3 steps and got the following output.


# swagentd -r
# nslookup kangaroo
*** Warning - the local domain is not set.
*** Either hostname should be a domain name,
*** the domain should be specified in /etc/resolv.conf,
*** or the shell variable LOCALDOMAIN should be set.

Name Server: misserver.perth.simbk.com
Address: 192.168.60.2

Trying DNS
Trying NIS
looking up FILES
Name: kangaroo
Address: 192.168.62.10

# swinstall -s /opt/patch_dec03/GOLDPQK11i_B.11.11.0312.4.depot -x autoreboot=true -x match_target=true

======= 08/19/04 09:47:40 WST BEGIN swinstall SESSION
(non-interactive) (jobid=kangaroo-0022)

* Session started for user "root@kangaroo".

* Beginning Selection
ERROR: Could not contact host "kangaroo". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "kangaroo:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
kangaroo:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 08/19/04 09:47:41 WST END swinstall SESSION (non-interactive)
(jobid=kangaroo-0022)

# pwd
/usr/sbin

Thanks,
Sim
Jeff Schussele
Honored Contributor

Re: Install HPUX patch with problem

Ok - that's telling you exactly what you need to do.
Add the domain line to your /etc/resolv.conf file - EX:

domain peth.simbk.com

NOTE: Use the proper domain for this host. It can't expand the short name kangaroo to the required FQDN - Fully Qualified Domain Name - and the SD utilities demand that.

Rgds,
Jeff

P.S. Give Tully 10 - he pegged it.
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor

Re: Install HPUX patch with problem

Thanks Schuss... I'll take the 10, you can have the beer :^)
Anyone for a Mutiny ?
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff & Trully,

I have added the line

domain misserver.perth.simbk.com

in my resolv.conf file. Now, if I do a nslookup, it doesn't show me the error but still have no joy when trying to install the patch. I have also tried swinstall -s kangaroo:/opt/.... and still get the same error.

# nslookup kangaroo
Name Server: misserver.perth.simbk.com
Address: 192.168.60.2

Trying DNS
Trying NIS
looking up FILES
Name: kangaroo
Address: 192.168.62.10

# swinstall -s kangaroo:/opt/patch_dec03/GOLDPQK11i_B.11.11.0312.4.depot -x autoreboot=true -x match_target=true

======= 08/19/04 10:10:03 WST BEGIN swinstall SESSION
(non-interactive) (jobid=kangaroo-0024)

* Session started for user "root@kangaroo".

* Beginning Selection
ERROR: Could not contact host "kangaroo". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "kangaroo:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
kangaroo:/var/adm/sw/swagentd.log).
* Selection had errors.

======= 08/19/04 10:10:03 WST END swinstall SESSION (non-interactive)
(jobid=kangaroo-0024)


I have also check my etc/hosts file and they looks ok. Tried nslookup using both hostname & IP address. Output as below.

# swagentd -r
# nslookup 192.168.62.10
Name Server: misserver.perth.micromuse.com
Address: 192.168.60.2

Trying DNS
Name: kangaroo.apsup.perth.simbk.com
Address: 192.168.62.10

# nslookup kangaroo
Name Server: misserver.perth.simbk.com
Address: 192.168.60.2

Trying DNS
Trying NIS
looking up FILES
Name: kangaroo
Address: 192.168.62.10
Aliases: kangaroo

Regards,
Sim
Jeff Schussele
Honored Contributor

Re: Install HPUX patch with problem

Don't add the hostname in that line - just:
domain perth.simbk.com
You're almost there...

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff,

Sorry, no joy. Still face the same problem after I modified my resolv.conf file to
domain perth.simbk.com.

From #sam&, all my network setting looks alright and may I know is there is any other area that I should be looking?

Once again, thanks.
Sim
Jeff Schussele
Honored Contributor

Re: Install HPUX patch with problem

After re-reading your last post, it appears you need:

domain apsup.perth.simbk.com

in that resolv.conf file.
Sorry, I missed that before.
Check that nslookup response from DNS.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff,

Thanks, that WORKS!

And now I run into another problem.

What I have done is I did a download of the patch directly from HP website and got this
file "GOLDPQK11i_B.11.11.0312.4.depot"
Do I have to do anything to it before I can install the patch?


======= 08/19/04 11:26:37 WST BEGIN swinstall SESSION
(non-interactive) (jobid=kangaroo-0028)

* Session started for user "root@kangaroo".

* Beginning Selection
* Target connection succeeded for "kangaroo:/".
NOTE: The match operation failed to find software in the source that
matches software on the target.
NOTE: Cannot continue the "swinstall" task.

======= 08/19/04 11:26:52 WST END swinstall SESSION (non-interactive)
(jobid=kangaroo-0028)

Thanks,
Sim
Jeff Schussele
Honored Contributor

Re: Install HPUX patch with problem


Are you saying that GOLDPK installed nothing?
If so, then you were already patched up to that release. GOLDPKs are usually fairly large....
*Some* patches may not install - but a considerable amount should.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor

Re: Install HPUX patch with problem

One further suggestion.
Try the 'swinstall' user interface to see if you get the same result.

Also what is reported in:
# swlist -a revision (this should report the patch bundle level)
Anyone for a Mutiny ?
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Trully,

Following is in my swlist.
So, right now, I am trying to install
GOLDBASE11i B.11.11.0312.4
GOLDBASE11i B.11.11.0406.5

Cheers,
Sim

/opt/patch_jun04 #swlist -a revision
# Initializing...
# Contacting target "kangaroo"...
#
# Target: kangaroo:/
#

#
# Bundle(s):
#

B5725AA B.4.3.91
B6848BA 1.4.gm.46.2
B8111AA 1.2.2.14.02
B9098AA 1.2.2.14.02
B9789AA 1.3.1.09.05
BUNDLE11i B.11.11.0306.1
Base-VXVM B.03.50.5
CDE-ChineseS B.11.11
CDE-ChineseT B.11.11
CDE-English B.11.11
CDE-French B.11.11
CDE-German B.11.11
CDE-Italian B.11.11
CDE-Japanese B.11.11
CDE-Korean B.11.11
CDE-Spanish B.11.11
CDE-Swedish B.11.11
FDDI-00 B.11.11.02
FEATURE11-11 B.11.11.0209.5
FibrChanl-00 B.11.11.09
GOLDAPPS11i B.11.11.0306.4
GOLDBASE11i B.11.11.0306.4
GigEther-00 B.11.11.14
GigEther-01 B.11.11.08
HPUX11i-TCOE B.11.11.0306
HPUXBase64 B.11.11
HPUXBaseAux B.11.11.0306
HWEnable11i B.11.11.0306.4
IEther-00 B.11.11.03
Ignite-UX-11-11 B.4.3.91
MOZILLA 1.2.1.00.05
MOZILLAsrc 1.2.1.00.05
OnlineDiag B.11.11.11.08
RAID-00 B.11.11.01
T1455AA 1.3.1.09.05
perl B.5.6.1.F

Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Tully,

I am able to use swinstall.
But seem like before I install B.11.11.0312.4 I will need to first look for it basefile.

BTW, where can I look for basefile?

Thanks,
Sim
Michael Tully
Honored Contributor

Re: Install HPUX patch with problem

There is a Installed products Database that is used (IPD) going by the swinstall man page. See the section on "installed_software_catalog=products" Also search the man page for "IPD"

Not sure the command line wouldn't work...
Anyone for a Mutiny ?
Boon khiang Sim
Advisor

Re: Install HPUX patch with problem

Hi Jeff & Tully,

Thanks for all your help. I can finally install all the patch now.

Regards,
Sim