Operating System - HP-UX
1832094 Members
2901 Online
110038 Solutions
New Discussion

Novice trying to install patches

 
John Curran
Occasional Contributor

Novice trying to install patches

I am an HP-UX novice who has inherited an A-class 9000 server to install NNM 6.1 and Nortel Optivity on. I have been going thru the required patch lists and trying to install patches on an HP-UX 11.0 system.

Whenever I try to install PHCO_13411 (my first patch) I get an error message referring to a depot.

The sequence of commands and the error message from /var/adm/sw/swagentd.log is attached.

Can anyone tell me what I am doing wrong?
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Novice trying to install patches

It sounds like you are going through the correct steps. Do an 'll /tmp/PHCO*' and make sure the permissions are correct and that the root (Hopefully you are installing the patches as root) user can read the depot file.
Elizabeth_2
Valued Contributor

Re: Novice trying to install patches


Hi John,

Are you logged in as root? Are you using NFS?
John Curran
Occasional Contributor

Re: Novice trying to install patches

I am logged in as root. I checked the rights on PHCO_13411.depot and I have rw rights and everyone else has r rights. I am not sure what NFS is?
Bruce Regittko_1
Esteemed Contributor

Re: Novice trying to install patches

Hi,

It looks as if the depot is not registered with SD-UX. Even though the depot is on the disk, the SD-UX system is not aware of it. To register the depot, use the swreg command. I don't remember the exact syntax but the man page should help.

If you still need help, I can get more details tomorrow at work.

BTW, if you are moving a depot off of a cd, you can use swcopy to both copy the depot and register it at the same time.

If you want to become a SD-UX guru, there is a 400 page whitepaper at docs.hp.com on SD-UX that covers just about everything.
www.stratech.com/training
Dan Hetzel
Honored Contributor

Re: Novice trying to install patches

Hi John,

Your question about NFS... from 'man nfs'

----

The Network File System (NFS) allows a client node to perform
transparent file access over the network. By using NFS, a client node
operates on files residing on a variety of servers and server
architectures, and across a variety of operating systems. File access
calls on the client (such as read requests) are converted to NFS
protocol requests and sent to the server system over the network. The
server receives the request, performs the actual file system
operation, and sends a response back to the client.

------

Type 'man nfs' for more information.

If your depot directory is NFS mounted, it could be that root access is disallowed. In that case, root user is mapped to 'nobody'. This would prevent you from reading it.


Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Rainer_1
Honored Contributor

Re: Novice trying to install patches

in your attached file i see the command

swinstall -x autoreboot=true -x patch_match_target=true \\ -s /tmp/PHCO_13411.depot

Possibly you have type the \\ within your line but this char is used for line continue and you have to hit [Return] after that.

Simpy use

swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHCO_13411.depot