No response header from repository
437599Nov 14 2007 — edited Nov 17 2008I need to re-create my OEM repository and am having difficulty. I am running Oracle 10.2.0.3 on Windows Server 2003
I dropped my original repository by removing the SYSMAN user and all associated roles and public synonyms. I also removed the DBCONSOLE service from the registry and renamed the ORACLE_HOME\db-machine_DB1 directory.
I then recreated the repository with:
emca -config dbcontrol db -repos create -SID DB1 -PORT 1521 -DBSNMP_PWD password -SYSMAN_PWD password -SYS_PWD password
It took a few tries but it finally worked and I re-booted the machine.
The forums seem to indicate I should re-secure the agent so I've issued:
EMCTL SECURE SETPWD password
Now, however, when I try to access http://paws-database:5501/em I receive the message:
Error instantiating web-application
Error loading listener 'oracle.sysman.eml.app.ContextInitializer', class not found
on my browser.
emdctl.trc shows the following error:
2007-11-14 08:51:55 Thread-2292 WARN http: snmehl_connect: connect failed to (paws-database:5501): No connection could be made because the target machine actively refused it.
(error = 10061)
emagent.trc also shows:
2007-11-14 10:10:19 Thread-4148 WARN http: snmehl_connect: connect failed to (paws-database:5501): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-11-14 10:10:19 Thread-4148 ERROR command: nmejcn: failed http connection to http://paws-database:5501/em/upload/: retStatus=-1
and also many messages like the following:
2007-11-14 10:30:54 Thread-4340 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
An emctl status dbconsole seems to be ok:
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
http://paws-database:5501/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory N:\oracle\product\10.2.0\db_1/db-machine_DB1/sysman/log
Does anyone have any advice for me? I'm not sure where to go next with this.
Thanks.