5 Replies Latest reply: Oct 30, 2009 7:44 AM by MaximDemenko RSS

    how can i connect rman usig linux

    731140
      hi friends

      how can i connect rman by using enterprice linux
        • 1. Re: how can i connect rman usig linux
          Centinul
          This question may be better off in the {forum:id=74} forum.

          However, typically if you wanted to connect to a target database you would do the following:
          RMAN TARGET /
          If you were doing operating system authentication and had an ORACLE_SID environment variable set.

          Or,
          RMAN TARGET SYS/<PW>@<DB>
          • 2. Re: how can i connect rman usig linux
            FlorianW.
            Dear user!

            Because of the shortness of your description I'm not exactly sure what your problem is but I think the answer is:
            export ORACLE_SID=<sid_of_your_db>
            export ORACLE_HOME=<directory_where_your_oracle_software_is_installed>
            
            rman target /
            Do this as a user that is a member of the dba os-group. E. g.
            id oracle
            uid=501(oracle) gid=500(oinstall) Gruppen=500(oinstall),501(dba)
            
            su - oracle
            
            export ORACLE_SID=XE
            export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
            
            rman target /
            I hope that this will help you along.

            Yours sincerely

            Florian W.
            • 3. Re: how can i connect rman usig linux
              731140
              i tried your solution but it can not be connected.i got the following error

              [oracle@localhost bin]$ rman target /
              rman: can't open target
              [oracle@localhost bin]$

              Edited by: user8677439 on Oct 30, 2009 4:49 AM
              • 4. Re: how can i connect rman usig linux
                731140
                friend i tried your solution but i got this following error

                [oracle@localhost bin]$ rman target /
                rman: can't open target
                [oracle@localhost bin]$


                how can i clear it
                • 5. Re: how can i connect rman usig linux
                  MaximDemenko
                  This is due to another linux program incidentally called rman. To invoke the Oracle provided rman, you need to specify full path to binary or ensure, $ORACLE_HOME/bin is searched in $PATH at first:
                  $ORACLE_HOME/bin/rman target /
                  Best regards

                  Maxim