[20190116]rman的老問題.txt

lfree發表於2019-01-16

[20190116]rman的老問題.txt


--//一臺非常老舊的機器rh4.3,費了很大勁,升級gcc,很不容易安裝了11.2.0.4.

--//執行rman時報錯.


$ rman target /

rman: can't open target


$ which rman

/usr/X11R6/bin/rman


--//一個非常古老的問題.浪費20-30分鐘.


$ rpm -qif /usr/X11R6/bin/rman

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: Fri 06 Jul 2007 03:38:35 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 219180cddb42a60e

Packager    : Red Hat, Inc. <

URL         :

Summary     : X Window System application development package

Description :

This development package includes the libraries, header files and

documentation needed for developing applications for the X window system.

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:49:24 AM CST

Install Date: Fri 06 Jul 2007 03:38:38 PM CST      Build Host: hs20-bc1-1.build.redhat.com

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

Size        : 16758622                         License: MIT/X11, and others

Signature   : DSA/SHA1, Tue 07 Feb 2006 01:36:56 AM CST, Key ID 219180cddb42a60e

Packager    : Red Hat, Inc. <

URL         :

Summary     : X Window System application development package

Description :

This development package includes the libraries, header files and

documentation needed for developing applications for the X window system.


--//包xorg-x11-devel裡面也有1個rman命令.我一般的做法是改名:


# cd/usr/X11R6/bin

# mv rman rman.xxx


--//再執行rman就沒有問題了.

$ rman

Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jan 16 17:16:26 2019

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.


RMAN> quit


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2563527/,如需轉載,請註明出處,否則將追究法律責任。

相關文章