- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The trouble with patching :-(
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:28 AM
тАО08-10-2009 05:28 AM
dubhptst:scratch # swinstall -x autoreboot=true -x patch_match_target=true \ -s /scratch/PHSS_36086.depot
======= 08/10/09 13:31:43 BST BEGIN swinstall SESSION
(non-interactive) (jobid=dubhptst-0075)
* Session started for user "root@dubhptst".
* Beginning Selection
* Target connection succeeded for "dubhptst:/".
ERROR: There is currently no depot software on host "dubhptst" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "dubhptst:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is
dubhptst:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 08/10/09 13:31:44 BST END swinstall SESSION (non-interactive)
(jobid=dubhptst-0075)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:36 AM
тАО08-10-2009 05:36 AM
Re: The trouble with patching :-(
swinstall -x autoreboot=true -x patch_match_target=true -s dubhptst:/scratch/PHSS_36086.depot
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:46 AM
тАО08-10-2009 05:46 AM
Re: The trouble with patching :-(
First run this command.
#swlist -d @/scratch/PHSS_36086.depot
The above command should list the product/patch available on the depot. Then register the depot using this command.
#swreg -l depot /scratch/PHSS_36086.depot
Now run this command.
#swinstall -x autoreboot=true -x patch_match_target=true \ -s /scratch/PHSS_36086.depot \*
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:47 AM
тАО08-10-2009 05:47 AM
Re: The trouble with patching :-(
Hmmm , tried that and no joy , I also set permissions on file and directory to 777 (just in case that was causing issue) and file is located in the correct area as below as well so dont understand.
dubhptst: # swinstall -x autoreboot=true -x patch_match_target=true -s dubhptst:/scratch/PHSS_36086.depot
======= 08/10/09 14:42:00 BST BEGIN swinstall SESSION
(non-interactive) (jobid=dubhptst-0077)
* Session started for user "root@dubhptst".
* Beginning Selection
* Target connection succeeded for "dubhptst:/".
NOTE: The patch match operation failed to find patches for target
software on "dubhptst" which passed the filter.
NOTE: Cannot continue the "swinstall" task.
======= 08/10/09 14:42:02 BST END swinstall SESSION (non-interactive)
(jobid=dubhptst-0077)
dubhptst: # ls -al /scratch/PHSS_36086.depot
-rwxrwxrwx 1 root sys 7086080 May 4 2007 /scratch/PHSS_36086.depot
dubhptst: #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:51 AM
тАО08-10-2009 05:51 AM
Re: The trouble with patching :-(
If you find any difficulties using command line, You could try with interactive session. Just run this..
#swinstall -s /scratch/PHSS_36086.depot
or
#swinstall
It will open up a user interface. Select these details.
Source Depot Type: [ Local Directory ]
[ Source Host Name... ] hostname
[ Source Depot Path... ] /scratch/PHSS_36086.depot
Give OK. It will list the patch. select the patch then goto actions in the menu ->
mark for install -> again actions in the menu -> select Install
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 05:57 AM
тАО08-10-2009 05:57 AM
Re: The trouble with patching :-(
C-ANSI-C B.11.11.16
C-ANSI-C B.11.11.14
C-ANSI-C B.11.11.12
C-ANSI-C B.11.11.10
Do you *have* one of those products on your system?
swlist -l product C-ANSI-C
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:01 AM
тАО08-10-2009 06:01 AM
Re: The trouble with patching :-(
The patch you are trying to install applies to one of four possible products:
C-ANSI-C B.11.11.16
C-ANSI-C B.11.11.14
C-ANSI-C B.11.11.12
C-ANSI-C B.11.11.10
Do you have anyone of those products on your server? If not, then this is the reason for the failure. Don't forget to look at the 'swagentd.log' file for details.
Also do:
# swlist -l product |grep C-ANSI-C
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:10 AM
тАО08-10-2009 06:10 AM
Re: The trouble with patching :-(
dubhptst:scratch # swinstall -x autoreboot=true -x patch_match_target=true \
-s /scratch/PHSS_36086.depot
Instead of the putting \ -s to the first line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:29 AM
тАО08-10-2009 06:29 AM
Re: The trouble with patching :-(
Hmmm , yes I just issued the command
swlist -l product C-ANSI-C
# Initializing...
# Contacting target "dubhptst"...
ERROR: Software "C-ANSI-C" was not found on host "dubhptst:/".
dubhptst: #
Funny enough Oracle10g pre req and checking requiremnets indicate I need the patch for install - I wonder might I get away with it as we may not need the above.
Could that be a problem ? I was thinking that the error looked more related to a synthax problem on my part , for example if the patch was a different one altogether and I used the above command would it still fail. Will try a few more of the suggestions above , and post output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:34 AM
тАО08-10-2009 06:34 AM
Re: The trouble with patching :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:35 AM
тАО08-10-2009 06:35 AM
Solution> Funny enough Oracle10g pre req and checking requirements indicate I need the patch for install - I wonder might I get away with it as we may not need the above.
Don't believe everything that the Oracle says :-)
You don't need the ANSI-C compiler to install Oracle and without it, as noted, you can't install the patch you are trying to use.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:38 AM
тАО08-10-2009 06:38 AM
Re: The trouble with patching :-(
Cheers,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:39 AM
тАО08-10-2009 06:39 AM
Re: The trouble with patching :-(
Oracle is wrong about the patch requirements for 10g. But to install that patch you need Ansi-C installed and its not.
Interesting also how Oracle is not complaining about no Ansi C compiler.
I had that compiler installed on all Oracle systems I ever installed so I'm not sure about the requirement in this case.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:42 AM
тАО08-10-2009 06:42 AM
Re: The trouble with patching :-(
this is actually a new Install of Oracle10g (havent actually done it yet) , just ran the pre req 'runInstaller' and hence I got the above required patch needed. Will see what issues I get when I actually do the Oracle Install itself Hmmm.
Many thanks for input too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 06:46 AM
тАО08-10-2009 06:46 AM
Re: The trouble with patching :-(
As ProC is part of the default install of Oracle Enterprise Edition, Oracle for some reason "assume" you will be using ProC and therefore check the patch levels of your C compiler.
Nearly every Oracle install out there *doesn't* use ProC in any way, so the warnings can be ignored...
I'm surprised you didn't hit some other patch isssues around Serviceguard for RAC patches (which you also probably don't require)...
As another poster said - "don't beleieve everything Oracle tells you"!
HTH
Duncan
I am an HPE Employee
