天天看點

linux下使用rman的問題

今天在linux下使用rman,打入rman,沒有任何提示。試了許多方式都是無法進入。

使用which rman發現,竟然實際執行的是/usr/X11R6/bin/rman。which rman

/usr/X11R6/bin/rman

oracle不會将執行檔案放入這裡。

man rman檢查發現

PolyglotMan, rman - reverse compile man pages from formatted form to a number of source formats。

rpm -qif /usr/X11R6/bin/rman|less

Name : xorg-x11-devel Relocations: (not relocatable)

Version : 6.8.2 Vendor: Red Hat, Inc.

Release : 1.EL.13.25 Build Date: Thu 12 Jan 2006 02:48:16 AM CST

Install Date: Sun 24 Jun 2007 04:30:02 PM CST Build Host: hs20-bc1-7.build.redhat.com

Group : Development/Libraries Source RPM: xorg-x11-6.8.2-1.EL.13.25.src.rpm

Size : 13155535 License: MIT/X11, and others

Signature : DSA/SHA1, Tue 07 Feb 2006 01:36:15 AM CST, Key ID 219180cddb42a60eSummary : X Window System application development package

使用root使用者修改檔案後使用正常。

最佳的方式是修改PATH的路徑。

繼續閱讀