1827286 Members
2984 Online
109717 Solutions
New Discussion

Patch remove

 
SOLVED
Go to solution
Carter Jay
Advisor

Patch remove

Hello,

What's this patch that can't be removed and is logged in my /etc/rc.log. I had this error after installing a bundle for PHCO_25424:

Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
* Removing the following software:
Obsolete.NCSNCK,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64

WARNING: The remove process from "swconfig" did not succeed.
Some or all of the software listed in "/var/adm/sw/needs_remove"
must be removed manually.

And how can I remove it manually, or fix the problem.
Thanks in advance

Regards

Jerome



5 REPLIES 5
James Beamish-White
Trusted Contributor

Re: Patch remove

Have you checked what is in the file "/var/adm/sw/needs_remove"? It may contain the patch that needs removing. Also check the details of patch PHCO_25875.

Otherwise, it should just be using swremove.

Cheers!
James
GARDENOFEDEN> create light
Carter Jay
Advisor

Re: Patch remove

Hi,

in the file "/var/adm/sw/needs_remove, i've just got the line:

Obsolete.NCSNCK,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64

And when i list all my applications, I can't find any file with this name.
What is strange is that i've got a Memory fault(coredump) when i launch the last command.

Another thing is strange:
Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vg00/lvol9.
Enabling device paging on /dev/vg00/lvol2.
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED

Got any idea??

Regards

Jerome
Trond Haugen
Honored Contributor

Re: Patch remove

As an answer to your swap message; do you have lvol2/swap in your fstab? If so remove it as it's started before fstab is read.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Carter Jay
Advisor

Re: Patch remove

Hi trond,

I've got:
/dev/vg00/lvol9 ... swap pri=1 0 0
/dev/vg00/lvol2 ... swap pri=0 0 2

in my fstab file

I must remove second line?

Regards

Jerome
James R. Ferguson
Acclaimed Contributor
Solution

Re: Patch remove

Hi Jerome:

Yes, primary swap (/dev/vg00/lvol2) is enabled for swap during startup. Adding it to '/etc/fstab' causes an attempt to activate it twice -- an error as you have seen. Remove the primary swap device from 'etc/fstab'.

Regards!

...JRF...