Picture of Ryan Gonzalez
node server Centos7 not starting?
by Ryan Gonzalez - Monday, 23 July 2018, 2:03 PM
 

I've followed the Install Adapt Authoring Tool on a server instructions and confirm the following in my Centos7 environment:

  • node v8.11.3
  • npm 5.6.0
  • mongod version 3.4.16

After running the node install script I got the "Done, without errors" message and prompt to start node server. When I run node server I do not get the confirmation that the server is running on port 5000. It seems like it hangs up and can't complete the server start-up process.

info: [23 Jul 2018 16:05:30 +02:00] configuration loaded from /root/adapt_authoring/conf/config.json
info: [23 Jul 2018 16:05:30 +02:00] Supporting the following authentication types:
info: [23 Jul 2018 16:05:30 +02:00] - local
info: [23 Jul 2018 16:05:31 +02:00] Adapt authoring tool 0.5.0.
info: [23 Jul 2018 16:05:31 +02:00] Adapt framework 2.2.5.
(node:22574) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
info: [23 Jul 2018 16:05:32 +02:00] Connection established: adapt-tenant-master

Is this a problem with the node.js version? Any other ideas or suggestions to get this clean install up and running?

Thank you so much in advance!

Ryan

Picture of Ryan Gonzalez
Re: node server Centos7 not starting?
by Ryan Gonzalez - Tuesday, 24 July 2018, 6:09 AM
 

It was a Centos7 newbie issue, I needed to allow connections to port 5000 and now it's working wonderfully.