分类: Oracle
2011-04-19 14:30:16
[oracle@smsdbrac1 oracle]$ rman target /
rman: can't open target
[oracle@smsdbrac1 oracle]$ which rman
/usr/X11R6/bin/rman
[oracle@smsdbrac1 bin]$ ./rman -help修正这个问题,我们只需要在Oracle用户的环境变量下,将$ORACLE_HOME/bin放在PATH变量前就可以了:
rman
[-f]
[-S(ource of man page passed in)] [-F(ormatted man page passed in)]
[-r] [-l ]
[-V(olume)] [-U(RLs as hyperlinks)]
[-b (show subsections)] [-k(eep head/foot)]
[-n(ame of man page)] [-s(ection) ]
[-p(aragraph mode toggle)] [-t(abstops spacing)]
[-N(ormalize spacing, changebars)] [-y (zap hyphens toggle)]
[-K (declare that page has no breaks)]
[-d(iff)(diff of old page source to incorporate)]
[-M(essage)(included verbatim at end of Name section)]
[-R(ebus words for TkMan)] [-C (enable Tcl/Tk formatting)]
[-o (no op)] [-O(no op with arg)]
[-q(uiet--don't report warnings)] [-h(elp)] [-v(ersion)]
[]
export PATH=$ORACLE_HOME/bin:${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
[oracle@smsdbrac1 oracle]$ su - oracle
Password:
[oracle@smsdbrac1 oracle]$ which rman
~/product/10.2.0/db/bin/rman