OEM 관리 페이지 404 해결

7595 단어 404
전원을 끄고 재부팅한 후 OEM에서 404 오류가 발생했습니다. 서버에 들어가서oms 상태를 확인하십시오.
emctl status oms

The following exception occurred: 

java.net.UnknownHostException: orcl.mydb.cn: orcl.hnemic.cn

	at java.net.InetAddress.getAllByName0(InetAddress.java:1146)

	at java.net.InetAddress.getAllByName(InetAddress.java:1073)

	at java.net.InetAddress.getAllByName(InetAddress.java:1009)

	at java.net.InetAddress.getByName(InetAddress.java:959)

	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4289)

	at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	at java.lang.reflect.Method.invoke(Method.java:592)

	at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598)

	at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167)

	at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155)

	at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364)

	at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290)

Although there was an exception it might be possible for the program to continue.

EM Configuration issue. /oracle/app/oracle/11g/orcl.mydb.cn_orcl not found. 


오류 보고로 볼 때 hostname에 대응하는 IP를 찾을 수 없습니다
hosts 및 ORACLE_ 수정 완료HONAME
다시 보기:
emctl status oms

EM Configuration issue. /oracle/app/oracle/11g/orcl.mydb.cn_orcl not found. 

이게 틀린 건 오로라클을 써서 그래요.HOME 아래의 emctl에서 AGENT_로 변경됨HOME 아래의 emctl
cd $AGENT_HOME

emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 3  

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

WebTier is Up

Oracle Management Server is not functioning because of the following reason:

Failed to connect to repository database. OMS will be automatically restarted once it identifies that database and listener are up.

Check EM Server log file for details: /oracle/app/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/logs/EMGC_OMS1.out


계속 오류를 보고하고 데이터베이스에 연결되지 않아 감청이 시작되었는지 확인합니다.
$ lsnrctl status



LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-NOV-2014 13:32:54



Copyright (c) 1991, 2011, Oracle.  All rights reserved.



Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

TNS-12541: TNS:no listener

 TNS-12560: TNS:protocol adapter error

  TNS-00511: No listener

   Linux Error: 111: Connection refused

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oem.mydb.cn)(PORT=1521)))

TNS-12541: TNS:no listener

 TNS-12560: TNS:protocol adapter error

  TNS-00511: No listener

   Linux Error: 111: Connection refused

[oracle@oem bin]$ lsnrctl start



LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-NOV-2014 13:32:59



Copyright (c) 1991, 2011, Oracle.  All rights reserved.



Starting /oracle/app/oracle/11g/bin/tnslsnr: please wait...



TNSLSNR for Linux: Version 11.2.0.3.0 - Production

System parameter file is /oracle/app/oracle/11g/network/admin/listener.ora

Log messages written to /oracle/app/oracle/diag/tnslsnr/oem/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oem.hnemic.cn)(PORT=1521)))



Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias                     LISTENER

Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production

Start Date                26-NOV-2014 13:33:01

Uptime                    0 days 0 hr. 0 min. 0 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /oracle/app/oracle/11g/network/admin/listener.ora

Listener Log File         /oracle/app/oracle/diag/tnslsnr/oem/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oem.mydb.cn)(PORT=1521)))

The listener supports no services

The command completed successfully

좋은 웹페이지 즐겨찾기