1.手工配置oem的问题
emca -config dbcontrol db -repos create
它将创建sysman用户。
注意该用户不能自己手工创建,否则将会报出failed to unlock em-related accounts错误。
由于网络上面的安全设置默认的1158端口不能访问,修改以下端口
修改端口:
emca -reconfig ports -DBCONTROL_HTTP_PORT 20720
2.在oracle10.2.0.3里面一定要有监听动态注册的服务才能连的上,否则将会报以下的错误:
sqlplus rnd/xxx@aepdb_std
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Nov 13 10:47:30 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
而要有动态注册,则一定要配置local listener,否则动态注册就不成功。
3.由于两台机器,另外一台机器是tar过去,relink all这种做法的,这样在启动asm实例时报出ORA-29701: unable to connect to Cluster Manager下面错误。
原因是这样tar过来的方法,没有安装init.cssd服务。
手工配置init.cssd服务的方法:
#cd $ORACLE_HOME/bin
#localconfig reset $ORACLE_HOME
如:
[root@aepdb-pri bin]# ./localconfig reset /opt/oracle/products/10.2.0
/etc/oracle does not exist. Creating it now.
./localconfig: line 529: /etc/oracle/ocr.loc: No such file or directory
./localconfig: line 551: [: too many arguments
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
aepdb-pri
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/100091/viewspace-982388/ ,如需转载,请注明出处,否则将追究法律责任。