Monday, August 6, 2012

Enterprise Manager - Error starting ORMI server


When startinf Enterprise Manager console in emdb.nohup i received folowing errors

----- Mon Aug  6 17:32:27 2012::joptions used are -server -Xmx384M -XX:MaxPermSize=400M -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40  -----
12/08/06 17:32:28 Error starting ORMI server b7scp2 port 5,520: Address already in use
12/08/06 17:32:28 Shutting down OC4J...
----- Mon Aug  6 17:32:30 2012::Checking status of DBConsole : 2043 -----
----- Mon Aug  6 17:32:30 2012::DBConsole exited at Mon Aug  6 17:32:30 2012 with return value 7. -----
----- Mon Aug  6 17:32:30 2012::Restarting DBConsole. -----

After i stoped EM console

emctl stop dbconsole

I checked that the port 5520 is not used, but it was used

netstat -na |grep 5520
      *.5520               *.*                0      0 49152      0 LISTEN

I changed file $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<HOST_SID>/config/rmi.xml and put different port (5521)

<?xml version = '1.0' standalone = 'yes'?>
<rmi-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/rmi-server
-10_0.xsd" port="5521" ssl-port="5521" schema-major-version="10" schema-minor-version="0">

After that the console started succesfully with

emctl start dbconsole


No comments:

Post a Comment