java.net.BindException: Address already in use in Fusion Apps

I faced below error while starting BI Instance in Fusion Apps 11.1.5:

Error:

java.net.BindException: Address already in use in Fusion Apps

Solution:

You must define your local port range to ensure that it doesn’t overlap with the ports used by the Java Virtual Machines (JVM) and other servers. This action avoids port conflicts during server startup.

Check localRange as follows:
(UNIX) more /proc/sys/net/ipv4/ip_local_port_range = 1024 –65000
(Windows Registry – regedit.exe) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort:Range 1024 – 65000
Ideally, the ip_local_port_range should be 16202 – 65535 on this machine.

To View and Modify Local Range:

(Linux)

To view:
$cat /proc/sys/net/ipv4/ip_local_port_range

To modify:
$echo “32768 61000” > /proc/sys/net/ipv4/ip_local_port_range

Solaris)

To view:
#/usr/sbin/ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port

To Modify:
#/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 16202
#/usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65535

(HP-UX)

To view:
#/usr/sbin/ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port

To modify:
#/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 16202
#/usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65535

(AIX)

To view:
#/usr/sbin/no -a | fgrep ephemeral

To modify:
#/usr/sbin/no -o tcp_ephemeral_low=16202 -o tcp_ephemeral_high=65535

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."