Page 1 of 1

MongoDB crashes on startup

Published: August 10, 2017 - 6:29 PM
by asder
Good morning,
I'm testing Wapt on a test Debian 9 server
The admin console on a Windows 7 client installed correctly, but "unable to connect to the MongoDB database" error occurred

Checking the server's syslog, I find:
Aug 10 17:59:20 srvglpi systemd[1]: Started An object/document-oriented database.
Aug 10 17:59:20 srvglpi kernel: [ 3303.161739] traps: mongod[1675] trap invalid opcode ip:80591a8f sp:bf84b0e0 error:0
Aug 10 17:59:20 srvglpi kernel: [ 3303.161749] in mongod[80084000+1ab6000]
Aug 10 17:59:20 srvglpi systemd[1]: mongodb.service: Main process exited, code=killed, status=4/ILL
Aug 10 17:59:20 srvglpi systemd[1]: mongodb.service: Unit entered failed state.
Aug 10 17:59:20 srvglpi systemd[1]: mongodb.service: Failed with result 'signal'.
I tried what's suggested in the "common problems" section, but nothing works...
Compatibility issue with Debian 9?
Thank you for your feedback

Re: MongoDB crash on startup

Published: August 11, 2017 - 10:45
by agauvrit
Hello, which version of WAPT are you using? 1.3.13?

Are there any other services already installed on this server? GLPI, judging by the machine name?

We'll look into it on our end.

Re: MongoDB crash on startup

Published: August 11, 2017 - 10:59
by asder
yes 1.3.13.0
I reinstalled it on an Ubuntu server that I just installed from scratch (so no other services were present)
=> same
Aug 11 10:52:40 wapt kernel: [ 2852.653659] traps: mongod[5561] trap invalid opcode ip:84ecaef sp:bfd2df50 error:0
Aug 11 10:52:40 wapt kernel: [ 2852.653668] in mongod[8048000+1a4d000]
Aug 11 10:52:41 wapt systemd[1]: mongodb.service: Main process exited, code=dumped, status=4/ILL
Aug 11 10:52:41 wapt systemd[1]: mongodb.service: Unit entered failed state.
Aug 11 10:52:41 wapt systemd[1]: mongodb.service: Failed with result 'core-dump'.

Re: MongoDB crash on startup

Published: August 11, 2017 - 11:17 PM
by sfonteneau
No problem on my end with Debian 9.

What would be interesting to know is if the Bose MongoDB server accepts starting before your system is registered (with no files).

Re: MongoDB crash on startup

Published: August 13, 2017 - 10:09 PM
by asder
I tried again with a newer CPU and more RAM, and it works!
So it was definitely a hardware issue.
Thanks for the help,
Thierry.