最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

RMAN备份报错MessagefileRMANlang.msbnotfound

来源:动视网 责编:小采 时间:2020-11-09 10:49:06
文档

RMAN备份报错MessagefileRMANlang.msbnotfound

RMAN备份报错MessagefileRMANlang.msbnotfound:RMAN备份报错Message file RMANlt;langgt;.msb not found 首页 → 数据库技术 背景: 阅读新闻 RMAN备份报错Message file RMAN.msb not found [日期:2013-05-06] 来源:Linux社区 作者:yujin
推荐度:
导读RMAN备份报错MessagefileRMANlang.msbnotfound:RMAN备份报错Message file RMANlt;langgt;.msb not found 首页 → 数据库技术 背景: 阅读新闻 RMAN备份报错Message file RMAN.msb not found [日期:2013-05-06] 来源:Linux社区 作者:yujin


RMAN备份报错Message file RMANlt;langgt;.msb not found

首页 → 数据库技术

背景:

阅读新闻

RMAN备份报错Message file RMAN.msb not found

[日期:2013-05-06] 来源:Linux社区 作者:yujin2010good [字体:]

Linux下rman备份报错信息

很明显找不到rman这个命令,,path上有问题,或者说环境变量的问题

[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 05:50 24/1042 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
U 2 root@localhost.local Sun May 5 05:57 24/1042 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
>N 3 root@localhost.local Sun May 5 06:00 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 06:10 23/1013 "Cron rman target / cmdfile=/oracle/ora10g/rmanbak/"
N 6 root@localhost.local Sun May 5 06:13 26/1035 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 7 root@localhost.local Sun May 5 06:17 24/1130 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 8 root@localhost.local Sun May 5 06:19 23/1032 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 9 root@localhost.local Sun May 5 06:24 29/1423 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 10 root@localhost.local Sun May 5 06:27 24/1139 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 11 root@localhost.local Sun May 5 06:30 26/1035 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 12 root@localhost.local Sun May 5 06:33 26/1035 "Cron /oracle/ora10g/rmanbak/script/startrman.sh >>"
N 13 root@localhost.local Sun May 5 06:44 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

解决方法:

加上环境变量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:/bin:/usr/bin:/home/oracle/bin
SH_HOME=/oracle/ora10g/rmanbak

然后就成功了

  • 0
  • 把 MongoDB 当成是纯内存数据库来使用(Redis 风格)

    Oracle 10g rac standby 归档日志自动删除脚本

    相关资讯 RMAN rman备份

    图片资讯

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    文档

    RMAN备份报错MessagefileRMANlang.msbnotfound

    RMAN备份报错MessagefileRMANlang.msbnotfound:RMAN备份报错Message file RMANlt;langgt;.msb not found 首页 → 数据库技术 背景: 阅读新闻 RMAN备份报错Message file RMAN.msb not found [日期:2013-05-06] 来源:Linux社区 作者:yujin
    推荐度:
    标签: oracle rman rman备份
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top