Hello all,
I have a problem starting the dbconsole on the following system:
OS: Oracle Linux 5.5 x86_64 , iptables and SELinux are disabled.
DB: Oracle Database 10.2.0.5
Symptoms:
- The Enterprise Manager console stopped working (see errors below)
- The ' emctl status dbconsole' showed that it was not running
- When I tried to start the dbconsole with 'emctl start dbconsole' it said that the instance was running so I tried to stop it first - 'emctl stop dbconsole' - did not work (hung), I killed it with kill -9 <emctl.pid>
- I tried to start it with 'emctl start dbconsole' which did not work (it didn't stop, but it kept producing the same errors below)
emdctl.trc output:
2014-04-07 18:43:32 Thread-4134751008 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 18:43:32 Thread-4134751008 ERROR http: 7: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 18:45:54 Thread-4135160608 WARN http: snmehl_connect: connect failed to (aa-oracle:1158): Connection refused (error = 111)
2014-04-07 18:45:55 Thread-4135037728 ERROR ssl: nzos_Handshake failed, ret=28864
2014-04-07 18:45:55 Thread-4135037728 ERROR http: 7: Unable to initialize ssl connection with server, aborting connection attempt
Then when I tried to start the dbconsole I got:
2014-04-07 18:46:23 Thread-4135176992 WARN http: snmehl_connect: connect failed to (aa-oracle:1830): Connection refused (error = 111)
2014-04-07 18:46:25 Thread-4135082784 WARN http: snmehl_connect: connect failed to (aa-oracle:1830): Connection refused (error = 111)
2014-04-07 18:48:28 Thread-4134755104 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 18:48:28 Thread-4134755104 ERROR http: 8: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 18:50:31 Thread-4134910752 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 18:50:31 Thread-4134910752 ERROR http: 8: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 18:50:54 Thread-4135136032 ERROR ssl: nzos_Handshake failed, ret=28862
Then the last two lines keep repeating until I stop the starting process by ctrl-c
This is the output from emagent.trc:
2014-04-07 19:11:18 Thread-4103068560 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2014-04-07 19:11:24 Thread-4099918736 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 19:11:24 Thread-4099918736 ERROR http: 15: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 19:11:24 Thread-4099918736 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://aa-oracle:1158/em/upload/: retStatus=-1
2014-04-07 19:11:54 Thread-4099918736 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 19:11:54 Thread-4099918736 ERROR http: 15: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 19:11:54 Thread-4099918736 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://aa-oracle:1158/em/upload/: retStatus=-1
2014-04-07 19:12:07 Thread-4099918736 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2014-04-07 19:12:07 Thread-4121947024 ERROR ssl: nzos_Handshake failed, ret=28864
2014-04-07 19:12:07 Thread-4121947024 ERROR http: 9: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 19:12:07 Thread-4121947024 ERROR command: nmejcn: failed http connection to https://aa-oracle:1158/em/upload/: retStatus=-1
2014-04-07 19:12:54 Thread-4099918736 ERROR ssl: nzos_Handshake failed, ret=28862
2014-04-07 19:12:54 Thread-4099918736 ERROR http: 15: Unable to initialize ssl connection with server, aborting connection attempt
2014-04-07 19:12:54 Thread-4099918736 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://aa-oracle:1158/em/upload/: retStatus=-1
However the command: emctl status agent returns that the Agent is Running and Ready
emagent.log reports everything is successful.
I found that it could be a problem with the sertificate so I unsecured and secured the dbconsole 'emctl unsecure dbconsole' and 'emctl secure dbconsole'.
It went fine. secure.log reported everything was successful, however the symptoms from starting the dbconsole remained the same.
Nothing has been changed on the system (or so I was told). I noticed that the 1158 port was commented out in /etc/services file, so I uncommented it and tried the procedure again, but that didn't change anything.
I also tried telneting to the system from another machine, to the port 1158 and 1830 (agent port) and it worked fine so it's not a firewall issue.
Does anyone have any idea what could be the problem ? I have seen that many people had similar problems but so far nothing I found on forums worked (or I missed it)
Best regards,
Blaz