Operating System - HP-UX
1834149 Members
3908 Online
110064 Solutions
New Discussion

Install patches on a remote hosts

 
Ray Bell
Regular Advisor

Install patches on a remote hosts

I tried to install patches need assistance. Here's the error message I revieved after attempting to install the patches on a remote host:

NOTE: The interactive UI was invoked, since no software was specified.

* Session started for user "root@SIM_DEV1" on behalf of "root".

ERROR: "dev2.national.aaa.com:/": You do not have the required permissions to select this target. Check permissions using the "swacl" command or see your system administrator for assistance. Or, to manage applications designed and packaged for nonprivileged mode, see the "run_as_superuser" option in the "sd" man page.
* Beginning Selection
* Before selecting software, you must mark your targets. Please mark at least one target using the Action menu item "Mark For
Install". If there are no targets currently listed in the Target Selection Window, add new targets using the Action menu
item "Add Targets ...".


6 REPLIES 6
Peter Godron
Honored Contributor

Re: Install patches on a remote hosts

Ray,
first ensure your address resolution is ok with nslookup host and nslookup ip-address.

Restart your daemon:
/usr/sbin/swagentd -r

Try to specify your source with the -s option
Steven E. Protter
Exalted Contributor

Re: Install patches on a remote hosts

Shalom,

Put the patch on an accessible NFS mount mount.

swreg -l depot

log onto the remote machine and swinstall.

As noted swagentd must be running.

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
Pupil_1
Trusted Contributor

Re: Install patches on a remote hosts

The first thing to check will be ensure that the swagentd is running on the target host and if it's already running then a restart of the swagentd deamon !!
There is always something new to learn everyday !!
Ray Bell
Regular Advisor

Re: Install patches on a remote hosts

I should have said that I'm running the installtion of the patches through SIM. I just wanted to know how to make sure on the remote host it will allow the CMS(Managed Server) the rights to run the swinstall. Can anyone tell me that...
Bill Hassell
Honored Contributor

Re: Install patches on a remote hosts

The assumption is that you made the patches available from your central patch server using the swcopy and/or swreg command. To see what depots are availoable from your patch server:

swlist -l depot @patch_server

Until this command shows your depots, you can't 'see' them with swinstall.


Bill Hassell, sysadmin
Ray Bell
Regular Advisor

Re: Install patches on a remote hosts

I verify that the depot was listed and made the changes. I ran the
swlist -l depot @patch_server...

The went under /usr/lbin/sw and ran setaccess. After that I was able to install the patches on the server...