root下执行ocrconfig 没有提示 oracle正常
本帖最后由 renjixinchina 于 2014-9-14 15:51 编辑系统:hp ux 11.31
版本:10.2.0.4 RAC
在进行ocrconfig restore 时候发现在root 执行ocrconfig 没有什么反应
wst2:/opt/oracle/102/db_1/bin#id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
wst2:/opt/oracle/102/db_1/bin#ls -l /opt/oracle/102/db_1/bin/ocrconfig
-rwxr-x--- 1 oracle oinstall 3518568 Jan 26 2011 /opt/oracle/102/db_1/bin/ocrconfig
wst2:/opt/oracle/102/db_1/bin# /opt/oracle/102/db_1/bin/ocrconfig
wst2:/opt/oracle/102/db_1/bin#su - oracle
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
wst2$ ocrconfig
Name:
ocrconfig - Configuration tool for Oracle Cluster Registry.
Synopsis:
ocrconfig
option:
-export <filename> [-s online]
- Export cluster register contents to a file
-import <filename> - Import cluster registry contents from a file
-upgrade [<user> [<group>]]
- Upgrade cluster registry from previous version
-downgrade [-version <version string>]
- Downgrade cluster registry to the specified version
-backuploc <dirname> - Configure periodic backup location
-showbackup - Show backup information
-restore <filename> - Restore from physical backup
-replace ocr|ocrmirror [<filename>] - Add/replace/remove a OCR device/file
-overwrite - Overwrite OCR configuration on disk
-repair ocr|ocrmirror <filename> - Repair local OCR configuration
-help - Print out this help information
Note:
A log file will be created in
$ORACLE_HOME/log/<hostname>/client/ocrconfig_<pid>.log. Please ensure
you have file creation privileges in the above directory before
running this tool.
解决了
是因为crs 和 db都有ocrconfig
以后注意
这个问题我也有遇到 renjixinchina 发表于 2014-9-14 16:10 static/image/common/back.gif
解决了
是因为crs 和 db都有ocrconfig
以后注意
如何解决的?我也遇到了相同的问题
页:
[1]