Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If Uptime Infrastructure Monitor cannot bind to a specific port, it will write writes an error to the uptime.log file and you will not be able to cannot connect to the Uptime Infrastructure Monitor UIM web interface. This exception (see example below) appears when starting the Uptime Infrastructure Monitor UIM data collector service under the following scenarios:

  1. The Uptime Infrastructure Monitor UIM data collector is already running or is using the wrong port. In this case, open :
    1. Open the httpd.conf file in a text editor
    , find
    1. .
    2. Find the Listen xxxx line
    and set
    1. .
    2. Set xxxx to the appropriate port number.
  2. Another service is using the Uptime Infrastructure Monitor UIM data collector port (9995 default). In this case, determine which service is using the same port and adjust port settings to resolve the conflict.

Example

...

exception

Code Block
languagesql
2023

...

-11-28 13:29:54,467 FATAL (Uptime:277) - Uptime Infrastructure Monitor cannot run, exiting... java.net.BindException: Address already in use at java. net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket. (Unknown Source) at java.net.ServerSocket. (Unknown Source) at com.uptimesoftware.uptime.dataservice.ProtocolListener. (ProtocolListener.java:35) at com.uptimesoftware.uptime.base.UptimeThreadManager.startDataService(UptimeThread Manager.java:142) at com. uptimesoftware.uptime.base.UptimeThreadManager.startBasicThreadsOnly(UptimeT hreadManager.java:71) at com.uptimesoftware.uptime.base.

...



UptimeInstance.runUptime(UptimeInstance.java:89) at com.uptimesoftware.uptime.base.Uptime.main(Uptime.java:275) at sun.reflect. NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect. DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.zerog.lax.LAX.launch(DashoA8113) at com.zerog.lax.LAX.main(DashoA8113)