Chinaunix

标题: aix 下shell脚本报告密码错误 [打印本页]

作者: qyl    时间: 2004-03-22 12:46
标题: aix 下shell脚本报告密码错误
我们的数据库是IBM AIX 下的9I RAC我在server1服务器上键了一个维护脚本如下
serp22是server1 连接server2的连接串
rman target / nocatalog<<EOF
allocate channel for maintenance type disk;
allocate channel for maintenance type disk connect sys/password$DB@serp22;
delete noprompt obsolete;
在执行allocate channel for maintenance type disk connect sys/password$DB@serp22;的时候,报无效的用户/密码
但是我单独在server1 rman下执行没有问题。我怀疑是"$"符号的问题,我怎么样才可以执行呢?我把connect后边加上单引号也试过了
不行,请大家帮忙
作者: rollingpig    时间: 2004-03-22 13:06
标题: aix 下shell脚本报告密码错误
\$DB
或者干脆改密码




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2