RMAN ACCESS ERROR [message #240300] |
Thu, 24 May 2007 10:15 |
dillip777
Messages: 21 Registered: May 2007 Location: USA
|
Junior Member |
|
|
I am facing a very strange problem. I have create a OS user with DBA rights. When I am invoking rman I am getting this error - ORACLE_HOME is not set properly. But for last 30 hours, I have done all experiments with environmnet variables. This is the command =>
$ rman
Message file RMAN<lang>.msb not found
Verify that ORACLE_HOME is set properly
This is the ENV setup.
$ env | grep ORA
ORACLE_SID=FCC2
ORACLE_HOME=/apps/oracle/ora10g_home
$ env | grep PATH
PATH=/apps/oracle/ora10g_home/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/patanad1/bin:/usr/bin/X11:/sbin:.
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
$
I will be obliged for a solutions for my everest problem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: RMAN ACCESS ERROR [message #240357 is a reply to message #240354] |
Thu, 24 May 2007 12:14 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
-rw-r--r-- 1 oracle dba 90624 Oct 30 2006 rmanus.msb
-rw-r----- 1 oracle dba 333956 Jun 28 2005 rmanus.msg
change the permissions and then check.
|
|
|
|
|
Re: RMAN ACCESS ERROR [message #240366 is a reply to message #240363] |
Thu, 24 May 2007 12:30 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Quote: | -rw-r--r-- 1 oracle dba 90624 Oct 30 2006 rmanus.msb
-rw-r----- 1 oracle dba 333956 Jun 28 2005 rmanus.msg
|
This is mine setting .you should change like this and then check.
|
|
|
|
|
|
|
Re: RMAN ACCESS ERROR [message #240383 is a reply to message #240373] |
Thu, 24 May 2007 13:02 |
dillip777
Messages: 21 Registered: May 2007 Location: USA
|
Junior Member |
|
|
when I was giving RMAN command, error output like this :
"$ rman
Message file RMAN<lang>.msb not found
Verify that ORACLE_HOME is set properly"
I was doing setting the environment variables. But there was no luck. But I took help of experts like you.
I changed to the root user and changed the access mode of two directory and three files as below :
There are two directories (admin, mesg) on $ORACLE_HOME/rdbms directory. For groups and others it was set as drwx------.
so I changed into
drwxr-xr-x 2 ora10g dba 57344 May 13 2007 admin
drwxr-xr-x 2 ora10g dba 4096 May 13 2007 mesg
(chmod 755 admin,mesg)
in admin directory there is a file called recover.bsq.
I changed that mode too (chmod 666 recover.bsq).
-rw-rw-rw- 1 ora10g dba 1892533 Oct 27 2006 recover.bsq
then chaged the mode of two files (rmanus.msb & rmanus.msg) in mesg ($ORACLE_HOME/rdbms/mesg )directory.
-rw-r--r-- 1 ora10g dba 90624 Oct 27 2006 rmanus.msb
-rw-r----- 1 ora10g dba 333956 Jun 30 2005 rmanus.msg
(chmod 644 rmanus.msb
chmod 640 rmanus.msg)
after that RMAN worked.
I really indebted to dreamzZ (the most valuable person), anacedent (clue master) and Mahesh Rajendran.
Thanks again to everybody who are in this room.
MORAL OF THE STORY : When a file is not found.. just check the user's right on that directory and concerned files. Oracle gives silly explanation which can take lot of energy and time. It is better to search files with root access. With normal user ID, I searched those files many times but could not find them.
[Updated on: Thu, 24 May 2007 14:48] Report message to a moderator
|
|
|