Linux Omada Software 4.1.5 tries to restart randomly after successfully starting

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Linux Omada Software 4.1.5 tries to restart randomly after successfully starting

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Linux Omada Software 4.1.5 tries to restart randomly after successfully starting
Linux Omada Software 4.1.5 tries to restart randomly after successfully starting
2020-08-15 16:10:49 - last edited 2020-08-16 08:08:29

Getting a weird issue with the new omada software. The software will start fine, but at some point, tries to restart itself and fails because mongo was already started. Up until it tries to restart itself, the software functions fine.

 

I don't see anything triggering the restart in systemctl (ubuntu VM). In fact, the status of omada service in systemctl says the service started fine.

 

Aug 15 15:55:34 <servername> systemd[1]: Starting LSB: Omada Controller...
Aug 15 15:55:34 <servername> tpeap[1988]: check omada
Aug 15 15:55:57 <servername> tpeap[1988]: Starting Omada Controller. Please wait.......................
Aug 15 15:55:57 <servername> tpeap[1988]: Started successfully.
Aug 15 15:55:57 <servername> tpeap[1988]: You can visit http://localhost:8088 on this host to manage the wireless network.
Aug 15 15:55:57 <servername> systemd[1]: Started LSB: Omada Controller.

 

 

Startup.log

java version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
commons daemon version "1.0.15-dev"
commons daemon process (id: 751, parent: 177)
Going to init controller!
Going to start controller!
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
Caused by: com.tplink.omada.start.a.a: port 27217 is already in use.
        at com.tplink.omada.start.b.b.a(SourceFile:45)
        at com.tplink.omada.start.b.d.d(SourceFile:97)
        at com.tplink.omada.start.b.b.e(SourceFile:72)
        at com.tplink.omada.start.OmadaBootstrap.d(SourceFile:209)
        at com.tplink.omada.start.OmadaBootstrap.q(SourceFile:273)
        at com.tplink.omada.start.OmadaBootstrap.a(SourceFile:86)
        at com.tplink.omada.start.OmadaBootstrap.e(SourceFile:231)
        at com.tplink.omada.start.OmadaLinuxMain.b(SourceFile:80)
        at com.tplink.omada.start.OmadaLinuxMain.start(SourceFile:43)
        ... 5 more
Cannot start daemon
Service exit with a return value of 5

 

 

Server.log (nothing relevant on line before - seems like it's just trying to start up again):

 

2020-08-15 15:53:27 [main] [INFO]-[SourceFile:29] - success to load configuration omada.properties
2020-08-15 15:53:28 [main] [INFO]-[SourceFile:75] - going to start local mongod.
2020-08-15 15:53:28 [main] [ERROR]-[SourceFile:95] - Failed to init_port 27217 is already in use.
com.tplink.omada.start.a.a: port 27217 is already in use.
        at com.tplink.omada.start.b.b.a(SourceFile:45) ~[omada-start.jar:?]
        at com.tplink.omada.start.b.d.d(SourceFile:97) ~[omada-start.jar:?]
        at com.tplink.omada.start.b.b.e(SourceFile:72) ~[omada-start.jar:?]
        at com.tplink.omada.start.OmadaBootstrap.d(SourceFile:209) ~[omada-start.jar:?]
        at com.tplink.omada.start.OmadaBootstrap.q(SourceFile:273) ~[omada-start.jar:?]
        at com.tplink.omada.start.OmadaBootstrap.a(SourceFile:86) [omada-start.jar:?]
        at com.tplink.omada.start.OmadaBootstrap.e(SourceFile:231) [omada-start.jar:?]
        at com.tplink.omada.start.OmadaLinuxMain.b(SourceFile:80) [omada-start.jar:?]
        at com.tplink.omada.start.OmadaLinuxMain.start(SourceFile:43) [omada-start.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_265]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_265]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
        at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243) [commons-daemon-1.0.15.jar:1.0.15]

 

  0      
  0      
#1
Options
3 Reply
Re:Linux Omada Software 4.1.5 tries to restart randomly after successfully starting
2020-08-16 08:28:07 - last edited 2020-08-16 08:31:54

Dear @iamperson347,

 

Port 27217 is used to access the built-in database for Omada Controller Software. It seems that there is another program using the Port 27217, you may close or shut down the program that occupies the port 27217, or change the port 27217 of Omada Controller Software to another available port number (should fall between 1024 and 49151) that won’t cause port collisions.

 

If the suggestion above doesn't help, you may refer to this guide to reinstall the Omada Controller software.

How to install Omoada SDN controller on Linux system(above Controller 4.1.5)

 

Best regards!

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#2
Options
Re:Linux Omada Software 4.1.5 tries to restart randomly after successfully starting
2020-08-16 12:01:09

@Fae - as mentioned in the first post, the software starts correctly the first time, including starting mongodb. However, at some point, something was triggering a restart.

 

I haven't seen the issue happen again since yesterday. I'll keep an eye on it.

  0  
  0  
#3
Options
Re:Linux Omada Software 4.1.5 tries to restart randomly after successfully starting
2020-08-18 09:02:57

@iamperson347 

 

iamperson347 wrote

@Fae - as mentioned in the first post, the software starts correctly the first time, including starting mongodb. However, at some point, something was triggering a restart.

 

I haven't seen the issue happen again since yesterday. I'll keep an eye on it.

 

Thank you for your clarification here!

 

Please feel free to write back to us if you have any updates on the issue. Cheers!

>> Omada EAP Firmware Trial Available Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#4
Options