1. 程式人生 > >oracle 11g rac 下安裝em出錯的一些解決方法

oracle 11g rac 下安裝em出錯的一些解決方法

第一次卡殼
[[email protected] ~]$ emca -config dbcontrol db -repos create -cluster


STARTED EMCA at Sep 6, 2016 1:57:16 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.


Enter the following information:
Database unique name: orcl
Service name: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/11.2.0/grid ]: 
Password for SYS user:  
Password for DBSNMP user:  
Sep 6, 2016 1:59:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-28000: the account is locked


Sep 6, 2016 1:59:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-28000: the account is locked


Password for SYSMAN user:  
Cluster name: 
---------------------------------------------------------
查詢cluster name
進入/u01/app/11.2.0/grid/bin下
#./cemutlo -n  
將輸出結果貼上去
---------------------------------------------------------


第二次
[
[email protected]
~]$ emca -config dbcontrol db -repos create -cluster


STARTED EMCA at Sep 6, 2016 1:57:16 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.


Enter the following information:
Database unique name: orcl
Service name: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/11.2.0/grid ]: 
Password for SYS user:  
Password for DBSNMP user:  
Sep 6, 2016 1:59:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-28000: the account is locked


Sep 6, 2016 1:59:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-28000: the account is locked


Password for SYSMAN user:  
Cluster name: rac-cluster
Email address for notifications (optional): 
Outgoing Mail (SMTP) server for notifications (optional): 
ASM ORACLE_HOME [ /u01/app/11.2.0/grid ]: 
ASM port [ 1521 ]: 
ASM username [ ASMSNMP ]: 
ASM user password:  
Sep 6, 2016 1:59:55 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


Sep 6, 2016 2:00:09 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-01017: invalid username/password; logon denied


Sep 6, 2016 2:00:10 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


Sep 6, 2016 2:00:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-01017: invalid username/password; logon denied


Password validation failed. Some of the possible reasons may be:
 
1) Invalid username/password. 
2) Database is not up. 
3) Scan listener not up. 
4) Database service is not registered with scan listener. 
5) Password file may be missing or configured incorrectly. 


ASM user password:  
---------------------------------------------------------------
這個問題的原因是asm例項沒有註冊到scan_listener
grid 
$sqlplus / as sysdba
show parameter remote
SQL> show parameter remote


NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
remote_listener                      string
remote_login_passwordfile            string      EXCLUSIVE
remote_os_authent                    boolean     FALSE
remote_os_roles                      boolean     FALSE
此處remote_listener 為空
cat /etc/hosts
#public
192.168.100.118 rac1
192.168.100.119 rac2
#private
10.0.0.118 rac1-priv
10.0.0.119 rac2-priv
#vip
192.168.100.208 rac1-vip
192.168.100.209 rac2-vip
#scan
192.168.100.211 scanip  ===>這裡我的scan名字是scanip
alter system set remote_listener='scanip:1521' scope=both sid='*';
---------------------------------------------------------------
第三次


^C[
[email protected]
~]$ emca -config dbcontrol db -repos recreate -cluster


STARTED EMCA at Sep 6, 2016 2:28:32 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.


Enter the following information:
Database unique name: orcl
Service name: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/11.2.0/grid ]: 
Password for SYS user:  
Password for DBSNMP user:  
Password for SYSMAN user:  
Cluster name: rac-cluster
Email address for notifications (optional): 
Outgoing Mail (SMTP) server for notifications (optional): 
ASM ORACLE_HOME [ /u01/app/11.2.0/grid ]: 
ASM port [ 1521 ]: 
ASM username [ ASMSNMP ]: 
ASM user password:  
Sep 6, 2016 2:29:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-01017: invalid username/password; logon denied


Sep 6, 2016 2:29:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-01017: invalid username/password; logon denied


Sep 6, 2016 2:29:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: Error during db connection : ORA-01017: invalid username/password; logon denied


Sep 6, 2016 2:29:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
WARNING: ORA-01017: invalid username/password; logon denied


Password validation failed. Some of the possible reasons may be:
 
1) Invalid username/password. 
2) Database is not up. 
3) Scan listener not up. 
4) Database service is not registered with scan listener. 
5) Password file may be missing or configured incorrectly. 


ASM user password:  
--------------------------------------------------------------
此處提示使用者名稱密碼錯誤
grid
$sqlplus / as sysasm
alter user asmsnmp identified by oracle;
---------------------------------------------------------------
然後就是等待吧
You have specified the following settings


Database ORACLE_HOME ................ /u02/app/oracle/product/11.2.0/db_home


Database instance hostname ................ Listener ORACLE_HOME ................ /u01/app/11.2.0/grid
Listener port number ................ 1521
Cluster name ................ rac-cluster
Database unique name ................ orcl
Email address for notifications ............... 
Outgoing Mail (SMTP) server for notifications ............... 
ASM ORACLE_HOME ................ /u01/app/11.2.0/grid
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP


-----------------------------------------------------------------
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 6, 2016 2:38:33 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/app/oracle/cfgtoollogs/emca/orcl/emca_2016_09_06_02_28_32.log.
Sep 6, 2016 2:38:38 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...

相關推薦

oracle 11g rac 安裝em出錯一些解決方法

第一次卡殼 [[email protected] ~]$ emca -config dbcontrol db -repos create -cluster STARTED EMCA at Sep 6, 2016 1:57:16 AM EM Configuratio

oracle 11g RAC 啟動和關閉和一些維護命令

在Oracle 11g環境中,Oracle的關閉和啟動順序如下:關閉順序:    1、關閉資料庫,oracl使用者執行srvctl命令:     [[email protected] ~]$ srvctl stop database -d ORCL ---停止所有

python MySQLdb Windows安裝教程及問題解決方法

ram info hfile 工具 兩個 auth let devtools load 使用python訪問mysql,需要一系列安裝 linux下MySQLdb安裝見 Python MySQLdb在Linux下的快速安裝http://www.jb51.net/artic

Windows 7安裝Scrapy問題的解決方法記錄

引言: Scrapy是爬蟲界大名鼎鼎的存在,在Linux下安裝非常順利,但是在Windows下確實非常多的問題發生,這裡記錄存在的各類問題以及如何解決。1.   安裝Scrapy失敗     直接在windows下安裝scrapy大概率會是失敗的,各類不同的原因,主要是各類依

linux執行eclipse出錯解決方法

我在vmware虛擬機器上安裝了linux系統,併成功地安裝了jdk  現在可以執行自己編寫的JAVA程式。  但是解壓eclipse- jee-galileo-SR2-linux-gtk.tar檔案之後執行eclipse卻總是失敗  它提示說JRE JDK沒有安裝好,總之

ubantu14.04 安裝vmware tools失敗解決方法

失敗提示: reating a new initrd boot image for the kernel. update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic vmware-tools-thinpr

sublime安裝外掛不能安裝上的一些解決方法

This error is happened with IPv6 problem. If yourInternet Service Provider (ISP) does not support for IPv6 you got this error. (adsbygoogle =

win7安裝NET4.0失敗解決方法

我是win7,安裝沒多久就,提示安裝失敗,去官網查的,按以下做了就可以了。 1、開始->執行->net stop WuAuServ 2、開始->執行->%windir%

Mac 安裝pygame的錯誤解決方法

我的mac系統版本是10.7.5。在mac下安裝python匯入pygame時往往會出現如下錯誤: Traceback(most recent call last):File"<pyshell#0>", line 1,in<module>import

Mac安裝mysql失敗的解決方法

我安裝的版本是mysql-5.6.21-osx10.9-x86_64.dmg,在Mac OS X 10.10系統上安裝時提示安裝失敗,如下圖。 解決方法 在安裝過程中的第三步,選擇安裝型別時選擇自定義,把Starup Item的勾選取消,不讓mysql作為開啟啟動項,則可

VirtualBox在Linux安裝增強功能時解決方法

yum updateyum install gccyum install gcc-c++yum install makeyum install kernel-headersyum install kernel-devel 重新啟動虛擬機器 cd /run/media/xxx

關於win10pip命令出錯解決方法

win10下python2和python3共存時,使用pip可能會發生一下問題: 解決方法如下: python2: python2 -m pip install bs4(想要安裝的庫) p

Redhat 6.1 配置Linux multipath安裝oracle 11g rac

一、安裝配置儲存節點(略) 二、資料庫節點連線儲存節點 2.1、資料庫節點安裝ISCSI啟動器 yum install iscsi* 2.2、配置啟動器 vim /etc/iscsi/initiatorname.iscsi 2.3、發起連線 # iscsiadm

Oracle 11g r2 win10 安裝出錯

win10 64bit 在安裝Oracle 11g r2 時,先決條件失敗,體系結構 失敗。 預期值 : 32-bit 實際值:64bit 退回,在database\stage\cvu下找到檔案cvu_prereq.xml,開啟並加入 <OPERATING_SYSTEM RELEASE="

這幾天安裝oracle 11g RAC ,但是遇到問題了,一直沒有安裝

執行一個指令碼時候,遇到問題:Failed to upgrade Oracle Cluster Registry configuration 安裝了好幾次,都是相同的錯誤,我嚴重懷疑是oracle指令碼的問題在google查了一把,果然有這個問題的報告,指令碼是有問題的為什麼

Oracle 11G RAC:生產環境架構

在真實環境搭建一套Oracle RAC就好比是一堂勞動課,勞動前需要準備好勞動工具,對勞動課內容有充分的認識;按照步驟一步一步進行,需要考慮勞動過程中可能遇到的困難,掌握勞動過 程中的一些小技巧;勞動結束後需要對勞動成果進行檢查,這樣才能在保證勞動質量的同時提高勞動效率

Oracle 叢集】Oracle 11G RAC教程之叢集安裝(七)

Oracle登入rac1進行上傳,解壓安裝p13390677_112040_Linux-x86-64_1of7.zip、p13390677_112040_Linux-x86-64_2of7.zip、p13390677_112040_Linux-x86-64_3of7.zip到/media下,並解壓

oracle 11g rac 安裝報錯 CRS-2500

Adding daemon to inittab CRS-4123: Oracle High Availability Services has been started. ohasd is starting CRS-2672: Attempting to start 'o

oracle 11g RAC手動解除安裝grid,no deinstall

1、通過root使用者進入到grid的ORACLE_HOME[[email protected]]# source /home/grid/.bash_profile [[email protected]]# cd $ORACLE_HOME/crs/ins

oracle 11g rac dbca建庫時提示創建監聽

oracle 監聽 listener oracle rac Oracle 11g rac dbca建庫時提示創建監聽在安裝oracle 11g rac時,使用dbca建庫的過程中提示需要創建監聽:Default Listener "LISTENER" is not configured in