Tomasz Gancarz

Tomasz Gancarz Administrator
serwerów

Temat: OEM nie startuje do końca

Witam,

Nie działa mi Oracle Enterprise Manager. Na dysku pewnego dnia przyrosły bardzo logi i skończyło się miejsce. Od tego czasu EM nie działa poprawnie.

Z backupu przywróciłem utracone pliki serwer.xml i kilka innych. Sam OEM po wydaniu komendy startuje:

Starting Oracle Enterprise Manager 11g Database Control ....... started.

Jednak wyświetla się błąd:

503 Service Unavailable

Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.

W logach emagent.log

2015-01-08 08:02:00,193 Thread-1121868096 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://oranet:1158/em/upload/: retStatus=-32
2015-01-08 08:06:26,102 Thread-1109268800 ERROR command: nmejcn: received no status header from repository at https://oranet:1158/em/upload/
2015-01-08 08:06:32,389 Thread-1093634368 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository

W emdctl.trc

2015-01-08 08:02:00,893 Thread-3125203792 WARN http: snmehl_connect: connect failed to (oranet:1158): Connection refused (error = 111)

Proszę o pomoc
Tomasz Kania

Tomasz Kania DBA, SoftSystem Sp.
z o.o.

Temat: OEM nie startuje do końca

Jeszcze dobrze byłoby zobaczyć "emoms.trc"...

A rozwiązanie "na skróty" to:

emca -deconfig dbcontrol db

a potem

emca -config dbcontrol db


Zawsze działa :)

Pozdrawiam,
Tomasz K.
Tomasz Gancarz

Tomasz Gancarz Administrator
serwerów

Temat: OEM nie startuje do końca

Czy to rozwiązanie na skróty niesie jakieś ryzyko? Jest to serwer produkcyjny więc wolę się upewnić :)

W emoms.trc mam:



2015-01-08 20:03:58,944 [ReadProxyFromRep] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:03:59,541 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.asprov.ui.intg.ASProvisioningIntegration
2015-01-08 20:04:02,889 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.sidb.ui.intg.SIDBProvisioningIntegration
2015-01-08 20:04:02,964 [ReadProxyFromRep] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:03,138 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.436 - Exception message: Servlet port not found
java.lang.RuntimeException: Servlet port not found
at oracle.sysman.eml.app.Console.getPort(Console.java:431)
at oracle.sysman.eml.app.Console.getHostUrl(Console.java:456)
at oracle.sysman.pp.paf.ui.intg.ProvisioningAdvisorIntegration.init(ProvisioningAdvisorIntegration.java:219)
at oracle.sysman.eml.app.ContextInitializer.contextInitialized(ContextInitializer.java:415)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
2015-01-08 20:04:03,142 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.racprov.ui.intg.RACProvIntegration
2015-01-08 20:04:03,143 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
2015-01-08 20:04:03,144 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
2015-01-08 20:04:03,145 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
2015-01-08 20:04:03,146 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.bpelprov.ui.intg.BPELProvisioningIntegration
2015-01-08 20:04:03,226 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.emCLI.CLIIntg
2015-01-08 20:04:03,227 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.emCLI.CLIDownloadIntg
2015-01-08 20:04:03,228 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.422 - Integration Class not found: oracle.sysman.pp.paf.sample.ui.intg.PAFDemoIntegration
2015-01-08 20:04:03,282 [OC4J Launcher] ERROR em.rca reconcileOrphans.194 - java.sql.SQLException: Could not get a private connection for Root Cause Analysis.
2015-01-08 20:04:03,371 [Job Dispatcher Thread] WARN em.jobs loadAgentOutputLimit.2532 - User credentials doesn't match the existing ones
2015-01-08 20:04:03,379 [BadSQLEvaluation] ERROR dbjava.sqleval run.148 - Exception from BadSQLEvaluation: java.sql.SQLException: User credentials doesn't match the existing ones
2015-01-08 20:04:04,280 [OC4J Launcher] ERROR sch.ScheduleTZService init.105 - Error While initializing emSDK/sch/ScheduleTZService $User credentials doesn't match the existing ones
2015-01-08 20:04:05,000 [HTTPThreadGroup-3] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:05,001 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:05,003 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:10,968 [ReadProxyFromRep] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:13,113 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:15,886 [HTTPThreadGroup-3] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:20,837 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:26,156 [HTTPThreadGroup-3] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:26,972 [ReadProxyFromRep] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:29,205 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:36,295 [HTTPThreadGroup-3] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:46,433 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:50,196 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:56,571 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:04:58,980 [ReadProxyFromRep] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:05:01,294 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones
2015-01-08 20:05:06,708 [HTTPThreadGroup-3] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = User credentials doesn't match the existing ones

Tomasz Kania

Tomasz Kania DBA, SoftSystem Sp.
z o.o.

Temat: OEM nie startuje do końca

Ryzyko?
hmm... no może Ci dalej EM nie działać...
Podanymi poleceniami zrekreujesz konfigurację EM'a (pliki konfiguracyjne),
repozytorium w bazie nie będzie zmieniane.
Generalnie bezpieczna operacja.
A biorąc pod uwagę że poginęło Ci trochę plików, trochę poprzywracałeś, to moim zdaniem masz w tej chwili "stan nieustalony".
Utworzenie świeżej konfiguracji jest wg mnie w takim wypadku jak najbardziej wskazane.
Tomasz Gancarz

Tomasz Gancarz Administrator
serwerów

Temat: OEM nie startuje do końca

Witam,

Dzięki za pomoc. Faktycznie pomogło. Użyłem polecenia:

emca -config dbcontrol db -repos recreate

:)

Następna dyskusja:

Oracle10g - CSS nie startuje




Wyślij zaproszenie do