Home » Infrastructure » Linux » rman: can't open target
rman: can't open target [message #98929] Sun, 19 October 2003 11:16 Go to next message
Gokhan
Messages: 2
Registered: October 2003
Junior Member
I have Oracle 9.2.0.1 installed on RH 2.1 Server. The database is up and running. However, when I want to use rman for backup with rman target command, I get this error: "rman: can't open target". If I just type rman command prompt, it just hangs. ( any combination to start rman results in the same error) Has anyone encountered this before? Any idea?
Thanks.
Gokhan
Re: rman: can't open target [message #98930 is a reply to message #98929] Tue, 21 October 2003 09:24 Go to previous messageGo to next message
Gokhan
Messages: 2
Registered: October 2003
Junior Member
I got it. Just in case anyone gets this error, it is the PATH. locate rman and see if you have "/usr/X11R6/bin/rman" or anything else with rman. If you do, make sure that /usr/X11R6/bin/ is not in your PATH. (etc/profile and ~/.bash_profile) you can also start rman directly with $ORACLE_HOME/bin/rman.
Re: rman: can't open target [message #99238 is a reply to message #98930] Sun, 28 November 2004 10:08 Go to previous messageGo to next message
danield_sk
Messages: 1
Registered: November 2004
Junior Member
Thanks for your posting. I had exactly same issue and symptoms. Your solution works. Thank you for sharing it.
Re: rman: can't open target [message #181189 is a reply to message #98929] Fri, 07 July 2006 05:26 Go to previous messageGo to next message
nandlal5
Messages: 1
Registered: July 2006
Location: HYDERABAD
Junior Member

I have changed the path but still it is not working.
Before that I have received some errors in Alert log file as

Fri Sep 15 15:05:30 2006
Thread 1 advanced to log sequence 1728
Current log# 2 seq# 1728 mem# 0: /u01/app/oracle/oradata/ora10/redo02.log
Fri Sep 15 15:05:31 2006
Errors in file /u01/app/oracle/admin/ora10/bdump/ora10_arc1_4760.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 7516192768 bytes is 100.00% used, and has 0 remaining bytes available.
Fri Sep 15 15:05:31 2006
************************************************************************
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.

I have deleted files at OS level, but still RMAN is not working.
Please suggest

Thanks in advance
Re: rman: can't open target [message #188416 is a reply to message #98929] Fri, 18 August 2006 08:15 Go to previous messageGo to next message
cunningham_harry@hotmail.
Messages: 2
Registered: July 2006
Location: Wales UK
Junior Member

Sorry guys. The solution is not to remove '/usr/X11R6/bin' from the path but to ensure your '$ORACLE_HOME/bin' comes first in the path. If you remove the '/usr/X11R6/bin' from the path, functions that need the graphic features or Oracle will not work.
Re: rman: can't open target [message #241447 is a reply to message #99238] Tue, 29 May 2007 11:20 Go to previous messageGo to next message
s2oracle
Messages: 1
Registered: May 2007
Junior Member
Regarding nandlal5's issue, I encountered that before. As the message says, he needs to use RMAN to do CROSSCHECK and DELETE EXPIRED since he have deleted the files at OS level. Bascially what it does is to sync the info in the repository so that those deleted files aren't "occupying" any allocated space for db recovery area.
Re: rman: can't open target [message #533028 is a reply to message #98929] Sun, 27 November 2011 08:36 Go to previous message
AndreasHerde
Messages: 1
Registered: November 2011
Location: Munich
Junior Member
Hi everybody,
I'm running a RAC (10.2.0.4) and have the same problem. The FLASH area was running out of disc space and therefore I deleted manually archive-logs. Now I try to run rman crosscheck, but rman doesn't start (as Gokhan described it seems that rman hangs).
RMAN was working befor because I'm using rman scripts for backup, so it's not a problem of path-variables.
Any suggestions?

Previous Topic: oracleasmlib
Next Topic: I am totally new to Oracle but MS SQL developer
Goto Forum:
  


Current Time: Thu Mar 28 16:32:53 CDT 2024