1837112 Members
2549 Online
110112 Solutions
New Discussion

what is "*.*.c=patch"

 
yuxia
New Member

what is "*.*.c=patch"

# swlist -l patch \*.\*.c=patch
# Initializing...
# Contacting target "hptest"...
ERROR: Software "*.*.c=patch" was not found on host "hptest:/".
13 REPLIES 13
Rajeev  Shukla
Honored Contributor

Re: what is "*.*.c=patch"

Hi,
I never heard of this option.
What are you basically trying to acheive?
What is you'r goal?

And the error you have got is fine coz it is looking for software "*.*.c=patch" which doesn't exist.

Cheers
Rajeev
yuxia
New Member

Re: what is "*.*.c=patch"

I just want to install a patch for installing oracle .when I use swinstall a patch on hpux11.00,the following error always come up .
ERROR: Software "*.*.c=patch" was not found on host "hptest:/".
And when I use "swlist -l patch \*.\*.c=patch" command, the same ERROR come up again.
KCS_1
Respected Contributor

Re: what is "*.*.c=patch"

Hi,

If you would like to install some patches for the Oracle, then just do

# swinstall -s /$PWD/patch_depot

e.g

# swinstall -s /$PWD/PHXX_12345

after check

# swlist -l product PHXX_12345



Best Regards

- Patrick

Easy going at all.
Rajeev  Shukla
Honored Contributor

Re: what is "*.*.c=patch"

If its a patch you want to install. unshar the patch first
#sh PHXX_XXXXX
then go through the PHXX_XXXXX.text to have a look at the installation procedure.

use
swinstall -x autoreboot=true -x patch_match_target=true -s /.depot

Also can you post the procedure you are using to install the patch.


Rajeev
Michael Tully
Honored Contributor

Re: what is "*.*.c=patch"

The syntax your using is incorrect. You should use it this way:

# swlist -l patch -a patch_state \*.\*,c=patch
The output is is either

patch number subsystem applied or superceded or committed

To install a patch after it un-shar-ed

# swinstall -s /my/depot \*
Or use additional options for reboots etc. Using 'swlist' is a query only.
Anyone for a Mutiny ?
yuxia
New Member

Re: what is "*.*.c=patch"

when I type the following command,
# swlist -l patch -a patch_state \*.\*,c=patch
I still get the error:
# Initializing...
# Contacting target "hptest"...
ERROR: Software "*.*.c=patch" was not found on host "hptest:/".
I wonder if the swinstall have some problem.
T G Manikandan
Honored Contributor

Re: what is "*.*.c=patch"

T G Manikandan
Honored Contributor

Re: what is "*.*.c=patch"

T G Manikandan
Honored Contributor

Re: what is "*.*.c=patch"

Are you using the right command.

#swlist -l patch -a patch_state -a supersedes *.*,c=patch
yuxia
New Member

Re: what is "*.*.c=patch"

Use the command :
swlist -l patch -a patch_state -a supersedes *.*.c=patch
Error is the same as before:
# Initializing...
# Contacting target "hptest"...
ERROR: Software "*.*.c=patch" was not found on host "hptest:/".
yuxia
New Member

Re: what is "*.*.c=patch"

Neither PHCO_27779 nor PHCO_276872 can load.
They all need some other patch to install first!
======= 09/28/03 13:15:55 EAT BEGIN install AGENT SESSION (pid=1976)
(jobid=hptest-0033)

* Agent session started for user "root@hptest". (pid=1976)

======= 09/28/03 13:16:35 EAT END install AGENT SESSION (Cancelled)
(pid=1976) (jobid=hptest-0033)


======= 09/28/03 13:18:39 EAT BEGIN install AGENT SESSION (pid=2109)
(jobid=hptest-0034)

* Agent session started for user "root@hptest". (pid=2109)

* Beginning Analysis Phase.
* Source: hptest:/boss/gcc/bison-1.875-sd-11.00.depot
* Target: hptest:/
* Target logfile: hptest:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The command "/sbin/mount" exited with a status code of "1".
The following is the output from the command:
mount - Cannot open /dev/vg01/lvoracle: No such device or address

NOTE: End of command output. Non-zero exit status may or may not be
a failure. Look for additional messages.
ERROR: Entry for filesystem "/dev/vg01/lvoracle" in "/etc/fstab"
could not be mounted. If you do not want this file system
mounted, comment it out of the "/etc/fstab" file, or set the
"mount_all_filesystems" option to "false".
ERROR: Cannot continue the Analysis Phase until the previous errors
are corrected.

======= 09/28/03 13:26:52 EAT END install AGENT SESSION (Cancelled)
(pid=2109) (jobid=hptest-0034)


======= 09/28/03 13:27:40 EAT BEGIN install AGENT SESSION (pid=2178)
(jobid=hptest-0035)

* Agent session started for user "root@hptest". (pid=2178)

======= 09/28/03 13:27:57 EAT END install AGENT SESSION (Cancelled)
(pid=2178) (jobid=hptest-0035)
T G Manikandan
Honored Contributor

Re: what is "*.*.c=patch"

The problem is that some logical volume which is not available now is placed inside /etc/fstab.

Just remove the /dev/vg01/lvoracle entry from /etc/fstab.

Then try the installation of patch

revert
Cheryl Griffin
Honored Contributor

Re: what is "*.*.c=patch"

This is a formatting problem with the ITRC
To circumvent the problem, the answer was posted as "swlist -l patch \*.\*.c=patch"

The syntax of the command that is attempting to be run is (literally, in case this does not format correctly)
#swlist -l patch asteriskPERIODasteriskCOMMAc=patch
#
OR
#swlist -l patch *.*,c=patch
#
It will produce a list with the patch status (applied, superseded, etc.)
For example:
# PHSS_27858.SUBAGT-HPUNIX 1.0 applied
# PHSS_27858.SUBAGT-MIB2 1.0 applied


"Downtime is a Crime."