Home > clusterware > PRKP-1024 : The service ha_gsqs is still running when removing a service

PRKP-1024 : The service ha_gsqs is still running when removing a service

Symptoms

1. Check the service status, it is offline on both instance

$ crs_stat -t
Name           Type           Target    State     Host
————————————————————
ora.gschqa.db  application    ONLINE    ONLINE    gsvmdb01
ora….a1.inst application    ONLINE    ONLINE    gsvmdb01
ora….a2.inst application    ONLINE    ONLINE    gsvmdb02
ora.gsqsqa.db  application    ONLINE    ONLINE    gsvmdb02
ora….a1.inst application    ONLINE    ONLINE    gsvmdb01
ora….a2.inst application    ONLINE    ONLINE    gsvmdb02
ora….gsqs.cs application    ONLINE    OFFLINE
ora….qa1.srv application    ONLINE    OFFLINE
ora….qa2.srv application    ONLINE    OFFLINE
ora….SM1.asm application    ONLINE    ONLINE    gsvmdb01
ora….01.lsnr application    ONLINE    ONLINE    gsvmdb01
ora….b01.gsd application    ONLINE    ONLINE    gsvmdb01
ora….b01.ons application    ONLINE    ONLINE    gsvmdb01
ora….b01.vip application    ONLINE    ONLINE    gsvmdb01
ora….SM2.asm application    ONLINE    ONLINE    gsvmdb02
ora….02.lsnr application    ONLINE    ONLINE    gsvmdb02
ora….b02.gsd application    ONLINE    ONLINE    gsvmdb02
ora….b02.ons application    ONLINE    ONLINE    gsvmdb02
ora….b02.vip application    ONLINE    ONLINE    gsvmdb02

2. Get the error

$ srvctl remove service -d gsqsqa -s ha_gsqs
ha_gsqs PREF: gsqsqa1 gsqsqa2 AVAIL:
Remove service ha_gsqs from the database gsqsqa? (y/[n]) y
PRKP-1024 : The service ha_gsqs is still running.

Fix

$ crs_stat -p | grep srv
NAME=ora.gsqsqa.ha_gsqs.gsqsqa1.srv
NAME=ora.gsqsqa.ha_gsqs.gsqsqa2.srv
$ $CRS_HOME/bin/crs_stop ora.gsqsqa.ha_gsqs.gsqsqa1.srv
Target set to OFFLINE for `ora.gsqsqa.ha_gsqs.gsqsqa1.srv`
$  $CRS_HOME/bin/crs_stop  ora.gsqsqa.ha_gsqs.gsqsqa2.srv
Target set to OFFLINE for `ora.gsqsqa.ha_gsqs.gsqsqa2.srv`

$ crs_stat -p | grep cs
NAME=ora.gsqsqa.ha_gsqs.cs
$ $CRS_HOME/bin/crs_stop  ora.gsqsqa.ha_gsqs.cs
Target set to OFFLINE for `ora.gsqsqa.ha_gsqs.cs`
$  srvctl remove service -d gsqsqa -s ha_gsqs
ha_gsqs PREF: gsqsqa1 gsqsqa2 AVAIL:
Remove service ha_gsqs from the database gsqsqa? (y/[n]) y

Advertisements
Categories: clusterware
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: