Changing hostname and IP ADDress in Oracle 10.2 with ASM on Red Hat.

carlino70
carlino70 used Ask the Experts™
on
Hi experts, I changed the hostname and Ip address on sever with Red Hat Enterprise Linux Server release 5.4 (Tikanga).
The version of Oracle is 10.2.0.3.0 with ASM
To do that I made changes in:
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network
/etc/hosts
listener.ora
tnsnames.ora

Open in new window

The problem come when I make:
-sh-3.2$ . asm
ORACLE_SID set to +ASM
-sh-3.2$ asmcmd
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory (DBD ERROR: OCISessionBegin)

Open in new window

and
-sh-3.2$ . asm
ORACLE_SID set to +ASM
-sh-3.2$ sqlplus /nolog

SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 6 11:49:32 2014

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-29701: unable to connect to Cluster Manager
SQL>

Open in new window


Any suggestions for this problem?
Some other file that I must to edit?
Thanks in advanced
Regards
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hi

take a look for the following link
http://www.pythian.com/blog/changing-hostnames-in-oracle-rac/

it will give you a good idea about this.

I hope this help with you problem.

Regards.

Commented:
did you checked the variable configured and putted under .profile or .bashrc

TY/SA

Author

Commented:
thanks, I'll see the ideas

Note: my installation only have ASM installed, NOT have RAC, is a single installation (the server is for testing)

Author

Commented:
Sandy, the variable configured is under .profile, is correct

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial