[oracle@DB1 ~]$ rman
....waitting
[oracle@DB1 ~]$which rman
/usr/X11R6/bin/rman
默认的是用/usr/X11R6/bin/下的rman,用下面的方法即可:
[oracle@DB1 ~]$ cd /oracle/product/10g/bin
[oracle@DB1 bin]$ ./rman
或者从根本上解决:
修改.bash_profile环境变量path,把$ORACLE_HOME/bin提前
[oracle@DB1 ~]$vi .bash_profile
PATH=$ORACLE_HOME/bin:$PATH:/usr/sbin:/etc
[oracle@DB1 ~]$source .bash_profile
[oracle@DB1 ~]$rman
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Sep 17 18:57:39 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/70612/viewspace-1020059/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/70612/viewspace-1020059/