"Fail to start mongo DB server" on RPI4

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

"Fail to start mongo DB server" on RPI4

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
"Fail to start mongo DB server" on RPI4
"Fail to start mongo DB server" on RPI4
2023-08-04 04:07:00 - last edited 2023-08-08 01:39:41
Tags: #Installation #OmadaSDN

I'm trying to install the OmadaSDN docker on my Raspberry PI 4 but when I start the container it gives this error:


 

08-04-2023 00:53:55.619 INFO [main] [] c.t.s.o.s.OmadaBootstrap(): going to start local mongod.

08-04-2023 00:55:36.309 ERROR [main] [] c.t.s.f.c.FacadeUtils(): facadeMsgEnable is not enable, msg: Fail to start mongo DB server

08-04-2023 00:55:36.310 WARN [main] [] c.t.s.o.s.s.b(): Fail to start mongo DB server

08-04-2023 00:55:36.310 WARN [main] [] c.t.s.o.s.s.a(): com.tplink.smb.omada.starter.b.a: Fail to start mongo DB server

com.tplink.smb.omada.starter.b.a: Fail to start mongo DB server

at com.tplink.smb.omada.starter.server.b.a(SourceFile:151) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.server.a.e(SourceFile:74) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaBootstrap.d(SourceFile:249) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaBootstrap.q(SourceFile:329) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaBootstrap.a(SourceFile:116) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaBootstrap.e(SourceFile:278) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaLinuxMain.a(SourceFile:92) ~[local-starter-5.9.31.jar:5.9.31]

at com.tplink.smb.omada.starter.OmadaLinuxMain.main(SourceFile:42) ~[local-starter-5.9.31.jar:5.9.31]

 

It's running PiKVM (Arch) on the latest docker version, this is the docker volumes and entrypoint (yes, it's portainer):

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:"Fail to start mongo DB server" on RPI4-Solution
2023-08-07 17:19:33 - last edited 2023-08-08 01:39:41

@Clive_A thanks for the reply! Later I found a solution in MongoDB's Github, I just needed to remove the mongo.lock file in the /data folder.

Now I'm having another issue where it doesn't detect any omada product in my network, it should be 4 (ER605, TL-SG2218, TL-SG2210MP and EAP620 HD(US)), they are already managed by my other controller but it should at least appear there with "Managed by other controller" message.

 

 


On the console this is part of the output:

 

Recommended Solution
  0  
  0  
#3
Options
7 Reply
Re:"Fail to start mongo DB server" on RPI4
2023-08-07 02:15:11 - last edited 2023-08-07 02:17:27

Hi @Chris_45 

Thanks for posting in our business forum.

You can terminate the mongo DB process manually and launch it again.

Related post: Omada SDN Controller v5.9.31 Windows

BTW did you set it to start with your Docker launch?

 

If this persists, you should consider reinstalling the software again. A clean uninstall and reinstall. And make sure you install Java.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:"Fail to start mongo DB server" on RPI4-Solution
2023-08-07 17:19:33 - last edited 2023-08-08 01:39:41

@Clive_A thanks for the reply! Later I found a solution in MongoDB's Github, I just needed to remove the mongo.lock file in the /data folder.

Now I'm having another issue where it doesn't detect any omada product in my network, it should be 4 (ER605, TL-SG2218, TL-SG2210MP and EAP620 HD(US)), they are already managed by my other controller but it should at least appear there with "Managed by other controller" message.

 

 


On the console this is part of the output:

 

Recommended Solution
  0  
  0  
#3
Options
Re:"Fail to start mongo DB server" on RPI4
2023-08-08 01:39:06

Hi @Chris_45 

So, basically, you should worry about the port. Is this VM having a firewall protecting it? Turn it off or set up a rule to allow the ports: Which ports do Omada SDN Controller and Omada Discovery Utility use? (above Controller 5.0.15)

 

 

Not related but could also be helpful down the road if you modify a port: What to Do If the Omada Software Controller Fails to Start on Linux After Modifying the Port ( Controller 5.5.6 or Above)

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:"Fail to start mongo DB server" on RPI4
2023-08-08 03:18:55

  @Clive_A theorically it should work, these are the ports that I assigned on the Omada-controller docker:

It's curious that on my main controller running at Unraid only the 8088/8043/8843 ports  are configured and it work just fine.

  0  
  0  
#5
Options
Re:"Fail to start mongo DB server" on RPI4
2023-08-08 03:42:11

Hi @Chris_45 

Thanks for posting in our business forum.

Not sure about your container. Is there a direction on your rule? Have you tried the reverse of UDP 29810?

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#6
Options
Re:"Fail to start mongo DB server" on RPI4
2023-08-10 04:06:02

  @Clive_A yeah these arrows are quite misleading, but you cannot change that

  0  
  0  
#7
Options
Re:"Fail to start mongo DB server" on RPI4
2023-09-18 00:57:47

Some update that I forgot to add before, this error is due to the fact that PIKVM OS is 32bit and MongoDB is incompatible with it, but it'll run just fine on any 64bit OS

  0  
  0  
#8
Options

Information

Helpful: 0

Views: 1118

Replies: 7

Tags

Installation
OmadaSDN
Related Articles