unable to get oracle owner for

在使用opatch打PSU时,如果不注意,经常会出现如下错误

2012-02-13 10:42:25: Command output:
> 数据库唯一名称: xxx
> 数据库名: xxx
> Oracle 主目录: /u01/app/oracle/product/11.2.0/dbhome_1
> Oracle 用户: oracle
> Spfile: +DATA/xxx/spfilegpp.ora
> 域:
> 启动选项: open
> 停止选项: immediate
> 数据库角色: PRIMARY
> 管理策略: AUTOMATIC
> 服务器池: xxx
> 数据库实例: xxx1,xxx2
> 磁盘组: DATA
> 装载点路径:
> 服务:
> 类型: RAC
> 数据库是管理员管理的
>End Command output
2012-02-13 10:42:25: output is
2012-02-13 10:42:25: Oracle home for database gpp is
2012-02-13 10:42:25: Oracle Home is configured with Database(s)-> gpp
2012-02-13 10:42:25: unable to get oracle owner for

这个错误的主要原因是LANG环境变量为中文导致opatch不能准确的获取ORACLE_HOME导致,这应该算是opatch的一个BUG了,但Oracle认为这只是个PROBLEM。

OPATCH AUTO Fails with "unable to get oracle owner for" in Multi-Byte Language Environment [ID 1325256.1]

export LANG=C

重新打补丁,就不会出现这个错误了,怕以后又忘记,在这里记录一下。

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/19423/viewspace-1057337/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/19423/viewspace-1057337/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值