Error in RMAN backup: MessagefileRMANlang. msbnotfound

Source: Internet
Author: User
RMAN backup error MessagefileRMANlt; langgt;. msbnotfound

RMAN backup error Message file RMANlt; langgt;. msb not found

Homepage → Database Technology

Background:

Read News

RMAN backup error Message file RMAN . Msb not found

[Date:] Source: Linux community Author: yujin2010good [Font:]

Error message for rman backup in Linux

Obviously, the rman command cannot be found. There is a problem with path, or the problem with environment variables.

[Oracle @ RedHat/] $ mail
Mail version 8.1 6/6/93. Type? For help.
"/Var/spool/mail/oracle": 13 messages 11 new 13 unread
U 1 root@localhost.local Sun May 5 24/1042 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
U 2 root@localhost.local Sun May 5 24/1042 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
> N 3 root@localhost.local Sun May 5 23/1032 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 4 root@localhost.local Sun May 5 06:04 26/1035 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 5 root@localhost.local Sun May 5 23/1013 "Cron Rman target/restore file =/oracle/ora10g/rmanbak /"
N 6 root@localhost.local Sun May 5 26/1035 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 7 root@localhost.local Sun May 5 24/1130 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 8 root@localhost.local Sun May 5 23/1032 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 9 root@localhost.local Sun May 5 29/1423 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 10 root@localhost.local Sun May 5 24/1139 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 11 root@localhost.local Sun May 5 26/1035 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 12 root@localhost.local Sun May 5 26/1035 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
N 13 root@localhost.local Sun May 5 26/1035 "Cron /Oracle/ora10g/rmanbak/script/startrman. sh>"
& 12
Message 12:
From oracle@localhost.localdomain Sun May 5 06:33:01 2013
Date: Sun, 5 May 2013 06:33:01-0400
From: root@localhost.localdomain (Cron Daemon)
To: oracle@localhost.localdomain
Subject: Cron /Oracle/ora10g/rmanbak/script/startrman. sh>/oracle/ora10g/rmanbak/script/crontab. log
Content-Type: text/plain; charset = UTF-8
Auto-Submitted: auto-generated
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:

Message file RMAN . Msb not found

Verify that ORACLE_HOME is set properly

Solution:

Add the environment variable export TMP =/tmp
Export TMPDIR = $ TMP
Export ORACLE_BASE =/oracle/ora10g
Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
Export ORACLE_SID = wolf
Export ORACLE_TERM = xterm
Export PATH =/usr/sbin: $ PATH
Export PATH = $ ORACLE_HOME/bin: $ PATH
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/usr/x11R6/lib64
Export CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib
Export LD_ASSUME_KERNEL = 2.6.18
Export NLS_LANG = "SIMPLIFIED CHINESE_CHINA.UTF8"
Export PATH =/oracle/ora10g/product/10.2.0/db_1/bin:/usr/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin: /usr/local/bin:/usr/bin:/home/oracle/bin
SH_HOME =/oracle/ora10g/rmanbak

And then it succeeds.

  • 0
  • Use MongoDB as a pure memory database (Redis style)

    Oracle 10g rac standby automatic deletion script for archiving logs

    Related information: RMAN backup

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.