'hostname'에 해당하는 글 1건

Oracle 호스트 변경

Daily/Prog 2013. 4. 23. 19:19
호스트 네임 변경하고...

 

<ORACLE_HOME>/network/admin/listener.ora
<ORACLE_HOME>/<oracle_sid>/sysman/config/emd.properties

 

에서 hostname 변경하고 db, lsnrctl, emctl 다시 시작했는데,
em 이 말을 안듣네 ^^

 

OC4J Configuration issue. OC4J_DBConsole_hostname_sid not found.

 

 

em 은 repository, oc4j 도 재구성 해야 된다는...

 

$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Apr 23, 2013 2:47:02 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Database Control is already configured for the database orcl
You have chosen to configure Database Control for managing the database orcl
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: y
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]: y
Password for SYS user:
...
INFO: >>>>>>>>>>> The Database Control URL is https://hostname:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 23, 2013 3:02:44 AM


WRITTEN BY
손가락귀신
정신 못차리면, 벌 받는다.

,