- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to uninstall Secure Path
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
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
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
тАО01-15-2009 11:20 AM
тАО01-15-2009 11:20 AM
unable to uninstall Secure Path
I have a HPUX 11.11 server which has Secure Path 3.0F installed.
I have to uninstall it as we are migrating to IBM SAN storage, but I get errors when I try to run the swremove command.
I have tried running the command with the SAN disks unmounted (as well as mounted) and always receive the error below.
Any advice is greatly appreciated.
[/]> swremove -x autoreboot=true CPQswsp,r=*
======= 01/15/09 16:24:40 GMT BEGIN swremove SESSION
(non-interactive) (jobid=bfssg-0076)
* Session started for user "root".
* Beginning Selection
* Target connection succeeded for "bfssg:/".
NOTE: The software specified contains a kernel fileset or a
dynamic_module fileset. The kernel will be modified, and if
necessary the system will be rebooted.
* Software selections:
CPQswsp.driver,l=/opt/CPQswsp,r=A.3.0F.00F.00F,a=HP-UX_9.00_700/800,v=HP
CPQswsp.man,l=/opt/CPQswsp,r=A.3.0F.00F.00F,a=HP-UX_9.00_700/800,v=HP
CPQswsp.spagent,l=/opt/CPQswsp,r=A.3.0F.00F.00F,a=HP-UX_9.00_700/800,v=HP
CPQswsp.spmgr,l=/opt/CPQswsp,r=A.3.0F.00F.00F,a=HP-UX_9.00_700/800,v=HP
CPQswsp.utilities,l=/opt/CPQswsp,r=A.3.0F.00F.00F,a=HP-UX_9.00_700/800,v=HP
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
ERROR: "bfssg:/": 1 check scripts failed.
* "bfssg:/": 5 filesets will be skipped because of an error
within their product.
* The analysis phase failed for "bfssgmd:/".
* Analysis had errors.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log bfssg-0076 @ bfssgmd:/".
[/]> swjob -a log bfssg-0081 @ bfssg:/
======= 01/15/09 17:05:09 GMT BEGIN remove AGENT SESSION (pid=5491)
(jobid=bfssg-0081)
* Agent session started for user "root".
(pid=5491)
* Beginning Analysis Phase.
* Target: bfssg:/
* Target logfile: bfssg:/var/adm/sw/swagent.log
* Reading source for file information.
CPQswsp checkremove is Running...
/dev/vgsgm /dev/dsk/c20t0d0 c20
/dev/vgtest /dev/dsk/c20t1d3 c20
/dev/vgtest /dev/dsk/c63t0d0 c63
/var/adm/sw/products/CPQswsp/pfiles/checkremove[74]: 1: A test command parameter is not valid.
ERROR: Checkremove has failed, cannot remove CPQswsp.
>>> One of the following Volume Groups could not
>>> be deactivated: /dev/vgsgm.
>>> Unmount all Secure Path file systems and deactivate
>>> all Secure Path Volume Groups and insure there are no
>>> open Secure Path devices.
ERROR: The "checkremove" script for "CPQswsp" failed (exit code "1").
The script location was
"/var/adm/sw/products/CPQswsp/pfiles/checkremove".
* This script had errors and the execution of this product
cannot proceed until the problem is fixed. Check the above
output from the script for further details.
NOTE: All filesets in the product
"CPQswsp,l=/opt/CPQswsp,r=A.3.0F.00F.00F" will be excluded
because there was an error in this product.
* Summary of Analysis Phase:
ERROR: Exclude CPQswsp.utilities,l=/opt/CPQswsp,r=A.3.0F.00F.00F
ERROR: Exclude CPQswsp.spmgr,l=/opt/CPQswsp,r=A.3.0F.00F.00F
ERROR: Exclude CPQswsp.spagent,l=/opt/CPQswsp,r=A.3.0F.00F.00F
ERROR: Exclude CPQswsp.man,l=/opt/CPQswsp,r=A.3.0F.00F.00F
ERROR: Exclude CPQswsp.driver,l=/opt/CPQswsp,r=A.3.0F.00F.00F
ERROR: 5 of 5 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.
======= 01/15/09 17:05:25 GMT END remove AGENT SESSION (Cancelled)
(pid=5491) (jobid=bfssg-0081)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 11:43 AM
тАО01-15-2009 11:43 AM
Re: unable to uninstall Secure Path
the swjob error clearly say there is an inability to deactivate the VG /dev /dev/vgsgm.
u can try by deactivating that VG manually by using the command as
#vgchange -a n /dev/vgsgm.
check that all the LVs pertaining to that VG and as mounted as filesys have been unmounted.
try by using
#vgdisplay -v /dev/vgsgm
note all the LVs
#bdf
to see all the LVs that are individually mounted.
does this VG also have some LVs that are being used as RAW volumes and that are not mounted as filesystems? u need to check.
#lsof
u can also see if that VG has some contribution made to the system swap as a raw device.
check swapinfo
#swpainfo -tam
if yes remove those swaps from the system.
that is the reason as we need to cjeck first that the VG has anything apart from filesystems that we are missing , specially any RAW devices.
what is the result of running the command
#vgchange -a n /dev/vgsgm
are u able to deactivate the VG?
if these do not work , try to make a vgexport on that VG. But make that u first make an export using -p option in preview mode so that u have a map file that u can use ti import that VG again as reqd.
#vgexport -p -v -s -m /tmp/vgsgm.map /dev/vgsgm.
after this is successful and u have a good and reliable /tmp/vgsgm.map MAP file go on to exactly export that VG from the system using the following command as
#vgexport /dev/vgsgm
then try removing the SecurePath.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 11:54 AM
тАО01-15-2009 11:54 AM
Re: unable to uninstall Secure Path
Thanks for getting back to me
Vgdisplay shows :
[/]> vgdisplay -v /dev/vgsgm
--- Volume groups ---
VG Name /dev/vgsgm
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 10239
VGDA 2
PE Size (Mbytes) 4
Total PE 10238
Alloc PE 4640
Free PE 5598
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgsgm/lvusr1
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vgsgm/lvusr2
LV Status available/syncd
LV Size (Mbytes) 3072
Current LE 768
Allocated PE 768
Used PV 1
LV Name /dev/vgsgm/lvepic
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vgsgm/lvtmp
LV Status available/syncd
LV Size (Mbytes) 3072
Current LE 768
Allocated PE 768
Used PV 1
LV Name /dev/vgsgm/lvback
LV Status available/syncd
LV Size (Mbytes) 9216
Current LE 2304
Allocated PE 2304
Used PV 1
LV Name /dev/vgsgm/lvacc
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vgsgm/lvdmq
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vgsgm/lvusr3
LV Status available/syncd
LV Size (Mbytes) 1200
Current LE 300
Allocated PE 300
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c20t0d0
PV Status available
Total PE 10238
Free PE 5598
Autoswitch On
I unmount the filesystems above, and when after running the swremove command, they are remounted as part of the CPQswsp checkremove program.
I had previously ran ├в vgchange ├в a n├в manually and it works OK.
There are no swap files on that VG.
That particular VG doesn├в t have any raw volumes, but one of the other VGs does (/dev/vgsgm01).
I will try exporting the VG and let you know
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 12:03 PM
тАО01-15-2009 12:03 PM
Re: unable to uninstall Secure Path
yes but try exporting as i have already said to u
that is forst in the preview mode that is with -p option of the vgexport with -m option so that u can reimport that VG IF reqd.
then when u have a map file then only do a real vgexport as i have said in the earlier post.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 01:49 PM
тАО01-15-2009 01:49 PM
Re: unable to uninstall Secure Path
then had to run vgimport.
swremove still failing
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 01:59 PM
тАО01-15-2009 01:59 PM
Re: unable to uninstall Secure Path
and if possible the cmviewcl -v for the cluster
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 02:02 PM
тАО01-15-2009 02:02 PM
Re: unable to uninstall Secure Path
this is a standalone node - not in a cluster.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 02:27 PM
тАО01-15-2009 02:27 PM
Re: unable to uninstall Secure Path
what is the stoarge that u r using ? can u give the ioscan -fn and spmgr display . is this again trying to activate the VG even if u have exported that or u r getting the Error pertaining to the other VG ? can u specifically post the Error and meanwhile try by restarting the spagent daemin?
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 02:38 PM
тАО01-15-2009 02:38 PM
Re: unable to uninstall Secure Path
manuanly deaactivating VG and then commecting the filesystems out of /etc/fstab.
thanks for all your suggestions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 02:51 PM
тАО01-15-2009 02:51 PM
Re: unable to uninstall Secure Path
congrats that u could come out of that stuck
Regards
Sujit