Picture of Joannes Anthonius Rommers
During node install getting error: events.js:72
by Joannes Anthonius Rommers - Thursday, 19 March 2015, 10:04 AM
 

Hi Guys,

I had adapt running on my Fedora 21 server. But due to a reason I had to re-install it (adapt_authoring directory was removed).

After following the installation instruction my process hangs at the node install step, details below.
Does anybody know what the issue is here?

=======================================================

> Which output plugin will be used? (adapt)
Checking configuration, please wait a moment ...

events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at Server.listen (net.js:1138:5)
at /root/adapt_authoring/lib/application.js:328:34
at /root/adapt_authoring/lib/application.js:300:12
at /root/adapt_authoring/lib/database.js:393:20
at /root/adapt_authoring/node_modules/async/lib/async.js:131:25
at /root/adapt_authoring/lib/contentmanager.js:1467:9
at /root/adapt_authoring/node_modules/async/lib/async.js:131:25
=======================================================

Thank you.

 

Regards,

Joannes

Picture of Dennis Heaney
Re: During node install getting error: events.js:72
by Dennis Heaney - Thursday, 19 March 2015, 11:38 AM
 

Hi Joannes,

It appears that a server is already running. Check if you have any processes already running (perhaps you created a background task to run your adapt server?) and quit them, then try running the install again.

Thanks,

Dennis

Picture of Robert G
Re: During node install getting error: events.js:72
by Robert G - Friday, 30 October 2015, 12:05 PM
 

Hi, I am also experiencing the same issue but haven't managed to solv it.

Have tried to kill processes. Any default process that should be killed?

Have tried to reboot the server and checked if port 80 from config.json is in use but it's not.

 

Any idées?

/Robert

Picture of Joannes Anthonius Rommers
Re: During node install getting error: events.js:72
by Joannes Anthonius Rommers - Thursday, 19 March 2015, 12:03 PM
 

Ok I solved it,

Apparently my port was occupied of which adapt wanted to install.
I got this information via a nodejs forum.
The EADDRINUSE is telling the required port is in use.

Because I removed adapt before I think the port was still in use although the program wasn't there anymore.

After a restart of the server the problem was solved. 

 @Dennis

Ow sorry will I was typing this message I just saw your response.
Thanks nevertheless, it was indeed a process still running on the background.