[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. <http://bugzilla.redhat.com/bugzilla>
URL : http://xorg.freedesktop.org
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. <http://bugzilla.redhat.com/bugzilla>
URL : http://xorg.freedesktop.org
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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/267265/viewspace-2563527/