今天调试一个RMAN 的备份脚本,这个脚本以前也用过很多次,并没有什么问题,今天执行时,就是过不去。操作系统:RedHat 5.8数据库:11.2.0.3错误如下:RMAN-00571:===========================================================RMAN-00569: =============== ERROR MESSAGESTACK FOLLOWS ===============RMAN-00571:===========================================================RMAN-00552: syntax error in command lineargumentsRMAN-01009: syntax error:found "dot": expecting one of: "double-quoted-string,identifier, single-quoted-string, "RMAN-01007: at line 2 column 1 file:command line arguments这个错误,提示在第二行有问题。根据MOS 文档[ID427224.1]的说明:How to check for correct RMAN syntax [ID427224.1]我们也可以使用rman checksyntax 命令检查RMAN 脚本的语法问题。如下:[Oracle@rac1 scripts]$ rman checksyntaxrman.sh Argument Value Description-----------------------------------------------------------------------------target quoted-string connect-string fortarget databasecatalog quoted-string connect-string forrecovery catalognocatalog none if specified, thenno recovery catalogcmdfile quoted-string name of inputcommand filelog quoted-string name of outputmessage log filetrace quoted-string name of outputdebugging message log fileappend none if specified, logis opened in append modedebug optional-args activate debuggingmsgno none show RMAN-nnnnprefix for all messagessend quoted-string send a command tothe media managerpipe string building block forpipe namestimeout integer number of secondsto wait for pipe inputchecksyntax none check the commandfile for syntax errors-----------------------------------------------------------------------------Both single and double quotes (" or ")are accepted for a quoted-string.Quotes are not required unless the stringcontains embedded white-space. RMAN-00571:===========================================================RMAN-00569: =============== ERROR MESSAGESTACK FOLLOWS ===============RMAN-00571:===========================================================RMAN-00552: syntax error in command lineargumentsRMAN-01009: syntax error: found"rman": expecting one of: "append, auxiliary, catalog,checksyntax, cmdfile, log, msgno, nocatalog, pipe, script, send, target,timeout, using, @, ;"RMAN-01007: at line 2 column 1 file:command line arguments
Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明MySQL 5.5 大量数据插入出现的抖动问题 及 解决方法相关资讯 RMAN RMAN-01009
- RMAN故障一例(归档的备份,从不 (今 20:42)
- RMAN的FORMATA格式说明 (03月10日)
- Oracle 11g RMAN复制数据库的测试 (01月19日)
| - RMAN数据库迁移 (05月22日)
- 使用RMAN复制恢复开发库环境 (02月17日)
- Oracle 11g RMAN跨平台传输表空间 (01月19日)
|
本文评论 查看全部评论 (0)