Home » RDBMS Server » Server Administration » rman error
rman error [message #265296] Thu, 06 September 2007 01:50 Go to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
i created new database named orcl

when i try to connect to rman,its takes much time to connect

and does not displaying the RMAN> prompt
Re: rman error [message #265304 is a reply to message #265296] Thu, 06 September 2007 01:58 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

RMAN target / debug
Re: rman error [message #265314 is a reply to message #265296] Thu, 06 September 2007 02:09 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
still getting same error
Re: rman error [message #265316 is a reply to message #265296] Thu, 06 September 2007 02:11 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
OS?
Version?
Copy and paste screen!

How many times do we have to repeat you?

Regards
Michel
Re: rman error [message #265322 is a reply to message #265296] Thu, 06 September 2007 02:20 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
i dont understand what you are saying
Re: rman error [message #265324 is a reply to message #265322] Thu, 06 September 2007 02:21 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
What part/word don't you understand?

Regards
Michel
Re: rman error [message #265328 is a reply to message #265296] Thu, 06 September 2007 02:31 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
[oracle@infra ~]$ rman

when i type rman am not getting the rman prompt.

i dont understand what you are saying?
os?
version?
copy and paste screen!
Re: rman error [message #265330 is a reply to message #265328] Thu, 06 September 2007 02:35 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
os? => What is your OS?
version? => What is your Oracle version (4 decimals)
Copy and paste screen => Er... copy and paste what you have on your screen

All this is is explained in Please read and follow OraFAQ Forum Guide that you should read without forgetting "How to format your post?" section.

Regards
Michel

[Updated on: Thu, 06 September 2007 02:36]

Report message to a moderator

Re: rman error [message #265333 is a reply to message #265296] Thu, 06 September 2007 02:40 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
OS=RHEL 4.0
version= 2.6.9-5.EL





[oracle@infra ~]$ rman

when i type rman am not getting the rman prompt.
Re: rman error [message #265334 is a reply to message #265333] Thu, 06 September 2007 02:45 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Quote:
What is your Oracle version (4 decimals)
Re: rman error [message #265338 is a reply to message #265296] Thu, 06 September 2007 02:48 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

Type ,

which rman
or type rman 


and what's the result?

[Updated on: Thu, 06 September 2007 02:48]

Report message to a moderator

Re: rman error [message #265342 is a reply to message #265296] Thu, 06 September 2007 02:49 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member

[oracle@infra ~]$ which rman
/usr/X11R6/bin/rman
[oracle@infra ~]$
Re: rman error [message #265343 is a reply to message #265296] Thu, 06 September 2007 02:51 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

Result of echo $ORACLE_SID
and echo $ORACLE_HOME
Re: rman error [message #265344 is a reply to message #265342] Thu, 06 September 2007 02:52 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
So you are not using Oracle rman but Unix/X11 one.

Regards
Michel
Re: rman error [message #265345 is a reply to message #265296] Thu, 06 September 2007 02:53 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
echo $ORACLE_SID=newdb

echo $ORACLE_HOME=/vm/product/database
Re: rman error [message #265347 is a reply to message #265296] Thu, 06 September 2007 02:54 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
how to change to oracle rman?
Re: rman error [message #265352 is a reply to message #265296] Thu, 06 September 2007 02:58 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

Quote:
i created new database named orcl

when i try to connect to rman,its takes much time to connect

and does not displaying the RMAN> prompt


And now you are saying your sid is newdb

and your oracle home /rman destination!!!
Re: rman error [message #265357 is a reply to message #265296] Thu, 06 September 2007 03:06 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
just for example i had given the database name as orcl.

sorry for that
just say me how to change to oracle rman?
Re: rman error [message #265384 is a reply to message #265357] Thu, 06 September 2007 04:11 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Just put $ORACLE_HOME/bin before /usr/X11R6/bin in your PATH or give the full rman path.

Regards
Michel

[Updated on: Thu, 06 September 2007 04:11]

Report message to a moderator

Re: rman error [message #265393 is a reply to message #265296] Thu, 06 September 2007 04:25 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
where i want give the full path,wheather in vi .bash_profile?
please tell me the file name
Re: rman error [message #265417 is a reply to message #265296] Thu, 06 September 2007 05:12 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
am still getting the same error.
this is my output.



[oracle@infra ~]$ echo $ORACLE_HOME
/vm/product/database
[oracle@infra ~]$ echo $ORACLE_SID
newdb
[oracle@infra ~]$ echo $PATH
/usr/kerberos/bin:/orcl/oracle/product/database/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/bin
[oracle@infra ~]$
Re: rman error [message #265421 is a reply to message #265417] Thu, 06 September 2007 05:23 Go to previous messageGo to next message
Michel Cadot
Messages: 64140
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
1/ I don't see any error
2/
Quote:
[oracle@infra ~]$ echo $ORACLE_HOME
/vm/product/database

Quote:
[oracle@infra ~]$ echo $PATH
/usr/kerberos/bin:/orcl/oracle/product/database/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/bin

Where is $ORACLE_HOME/bin in your PATH?

Regards
Michel
Re: rman error [message #265493 is a reply to message #265296] Thu, 06 September 2007 07:34 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
ya i set the ORACLE_HOME and ORACLE_SID in .bash_profile
i set the PATH also

PATH=$PATH:$HOME/bin
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME=/vm/product/database
export ORACLE_SID=newdb

export PATH
unset USERNAME


but i can able to start rman only by giving the command like this

/vm/product/database/bin/rman


please say where to give the path?
Re: rman error [message #265611 is a reply to message #265493] Thu, 06 September 2007 13:24 Go to previous messageGo to next message
mson77
Messages: 208
Registered: August 2007
Location: Brazil
Senior Member
Hello ara.oracle,

I am trying to watch your posts from the beginning.
The seniors here like Michel Cadot ask to you:
Read the forum guidelines.

It is easy. It helps you a lot.
Try again to reconsider what a senior member asked to you.

Regarding your problem:

1) when you execute this command:
export PATH=$PATH:$ORACLE_HOME/bin

... please, tell me: What will be the final value of $PATH?

after the previous command been processed... you say:
export ORACLE_HOME=/vm/product/database


Are you sure that the order is not important?

Regards,


mson77
Re: rman error [message #265763 is a reply to message #265296] Fri, 07 September 2007 05:25 Go to previous messageGo to next message
ara.oracle
Messages: 142
Registered: August 2007
Senior Member
when i try to connect rman am getting this error?


[oracle@infra ~]$ rman
rman: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
Re: rman error [message #265816 is a reply to message #265763] Fri, 07 September 2007 08:25 Go to previous message
mson77
Messages: 208
Registered: August 2007
Location: Brazil
Senior Member
Hello ara.oracle,

Can we start from the beginning?
Probably there are many of us reading your post and trying to help you too.

Michel Cadot has already written here: "- You have problems with environment variables!"
And he is absolutely right.

Once you post this information:
[oracle@infra ~]$ echo $ORACLE_HOME
/vm/product/database
[oracle@infra ~]$ echo $ORACLE_SID
newdb
[oracle@infra ~]$ echo $PATH
/usr/kerberos/bin:/orcl/oracle/product/database/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/bin
[oracle@infra ~]$


My question here is:
1) ==================================================
How $ORACLE_HOME is in "/vm/product/database"... and
your $PATH is in "/orcl/oracle/product/database/bin"... ?

2) ============================================
Did you correct the "export" order? as I told you in my last message?

3) ============================================
Did you read and are applying the directions on this forum guidelines? (not yet)

4) ============================================
The current user has rights to execute rman?

And now... (it is not Oracle question but Life question)
Try to reconsider and restarting again from the beginning posting here as this forum guide asks for. You will see... more and more Seniors here will help you mainly for you being a good guy. But if not... who will care? Think as if you were one of these Seniors.

So... time to restart from the right way. Then this information here will be helpful to many other in the future... and not only for your comprehension/use.

Regards,


mson77

[Updated on: Fri, 07 September 2007 08:26]

Report message to a moderator

Previous Topic: dead lock
Next Topic: Tablespace
Goto Forum:
  


Current Time: Fri Dec 09 05:50:21 CST 2016

Total time taken to generate the page: 0.07025 seconds