Solved

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

Posted on 2014-03-06
5
828 Views
Last Modified: 2014-03-06
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
0
Comment
Question by:carlino70
  • 3
5 Comments
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 500 total points
ID: 39909567
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.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39909945
did you checked the variable configured and putted under .profile or .bashrc

TY/SA
0
 

Author Comment

by:carlino70
ID: 39910359
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)
0
 

Author Comment

by:carlino70
ID: 39910361
Sandy, the variable configured is under .profile, is correct
0
 

Author Comment

by:carlino70
ID: 39910394
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle 12c Default Isolation Level 17 41
subtr returning incorrect value 8 31
date show only hh:mm 2 27
UTL_FILE invalid file operation 5 28
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question