title: error while backing up oracle database using rman
body: <p>This is how i was trying to backup a database without logging in the oracle 10g database.Can anybody please tell me why am I getting this error and how should I try to solve it?</p>
  
  <pre><code>Microsoft Windows XP [Version 5.1.2600]
  (C) Copyright 1985-2001 Microsoft Corp.
  
  C:\Documents and Settings\sunanda&gt;cd C:\oraclexe
  
  C:\oraclexe&gt;cd app
  
  C:\oraclexe\app&gt;cd oracle
  
  C:\oraclexe\app\oracle&gt;cd product
  
  C:\oraclexe\app\oracle\product&gt;cd 10.2.0
  
  C:\oraclexe\app\oracle\product\10.2.0&gt;cd server
  
  C:\oraclexe\app\oracle\product\10.2.0\server&gt;cd bin
  
  C:\oraclexe\app\oracle\product\10.2.0\server\BIN&gt;dir rman.exe
  Volume in drive C has no label.
  Volume Serial Number is 40EF-0556
  
  Directory of C:\oraclexe\app\oracle\product\10.2.0\server\BIN
  
  02/02/2006  12:43 AM         1,552,384 rman.exe
             1 File(s)      1,552,384 bytes
             0 Dir(s)  14,177,832,960 bytes free
  
  C:\oraclexe\app\oracle\product\10.2.0\server\BIN&gt;set ORACLE_SID=demo
  
  C:\oraclexe\app\oracle\product\10.2.0\server\BIN&gt;echo %ORACLE_SID%
  demo
  
  C:\oraclexe\app\oracle\product\10.2.0\server\BIN&gt;rman target / 
  </code></pre>
  
  <p>After I do this I get the error as below:</p>
  
  <pre><code>    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 18 14:46:35 2012
  
  Copyright (c) 1982, 2005, Oracle.  All rights reserved.
  
  RMAN-00571: ===========================================================
  RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  RMAN-00571: ===========================================================
  RMAN-00554: initialization of internal recovery manager package failed
  RMAN-04005: error from target database:
  ORA-12560: TNS:protocol adapter error
  
  C:\oraclexe\app\oracle\product\10.2.0\server\BIN&gt;
  </code></pre>
  
  <p>I tried searching about this error but could not understand exactly how to go about it.
  <a href="http://www.youtube.com/watch?v=8dA6BYxF_YE&amp;feature=related" rel="nofollow">http://www.youtube.com/watch?v=8dA6BYxF_YE&amp;feature=related</a>. this is the video i referred to while doing this.</p>