Monday, September 8, 2008

Change ONS Port

Unable To Start Opmn - "Listener bind failed" error ins ons.log Problem Unable To Start Opmn - "Listener bind failed" error ins ons.log I was not able to start opmn services. I noticed given below error in $ORACLE_HOME/opmn/logs/ons.log file 08/09/08 18:43:18 [2] BIND (Address already in use)08/09/08 18:43:18 [2] 10.11.62.124:394526720 - listener BIND failed08/09/08 18:43:18 [4] Listener thread 2057: 10.11.62.124:394526720 (0x404) termi ons port was 6220 $ cat $ORACLE_HOME/opmn/conf/ons.conf nodes=ios5102e.idc.ikon.org:6220 I checked uses of 6220 port. netstat -na grep 6220 There was no process still I was getting above error. Solution I performed following. 1. Changed ons port of $ORACLE_HOME/opmn/conf/opmn.xml file $cp $ORACLE_HOME/opmn/conf/opmn.xml $ORACLE_HOME/opmn/conf/opmn.xml.090908 2. Changed notification-server port from 6020 to 6060. 3. Updated change using dcmctl $ORACLE_HOME/dcm/bin/dcmctl updateConfig -ct opmn -v -d 4. Started opmn services $ORACLE_HOME/opmn/bin/opmnctl startall

No comments: