ORA-29780: unable to connect GPnP daemon [CLSGPNP_ERR]

On 11gr2 Grid installation, I wanted to changed few ASM parameters. So I created a pfile, and then was trying to create a spfile out of it.

Started getting following error

SQL> create spfile from pfile='test.ora';
create spfile from pfile='test.ora'
*
ERROR at line 1:
ORA-01078: failure in processing system parameters
ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]
ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]
ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]
ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]

Initially I thought there is something wrong with the parameters in my pfile. So I removed almost all parameters, but error again reproduced. Also when I tried changing existing parameter, same error.

SQL> alter system set  asm_diskstring='/dev/rdsk/asm*/*';
alter system set  asm_diskstring='/dev/rdsk/asm*/*'
*
ERROR at line 1:
ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]

So there was something wrong with the environment (CRS/GRID was healthy).  When I checked environment variable values, one of the variable was pointing to wrong location (somehow it was inherited from old profile)

oragrid@/oragrid/dbs> env | grep ORA
ORA_CRS_HOME=/opt/oracle/product/11gR1/crs (causing the problem) 
ORACLE_SID=+ASM2
ORACLE_HOME=/oragrid/11.2

So removed the environment variable and re-executed the same query, which worked fine.

oragrid@:/oragrid/dbs> unset  ORA_CRS_HOME
SQL> alter system set  asm_diskstring='/dev/rdsk/asm*/*' scope=spfile
/
System altered.
Advertisements
This entry was posted in Oracle Cluster Ready Services and tagged . Bookmark the permalink.

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