Installation

Installing 2.19 on Ubuntu 24.04. Socket problem

Installing 2.19 on Ubuntu 24.04. Socket problem

by Wai Yan Pong -
Number of replies: 2

I have just freshly install WW 2.19 on a Ubuntu 24.04 server. Things seem to run smoothly but webwork does not start.

systemctl status webwork2 shows that

hypnotoad[27270]: Can't create listen socket: Address already in use at /usr/share/perl5/Mojo/IOLoop.pm line 124.

but the status on a running instance of webwork on my local machine is

hypnotoad[931]: Web application available at http://127.0.0.1:8080

Any idea on what I did wrong? 

In reply to Wai Yan Pong

Re: Installing 2.19 on Ubuntu 24.04. Socket problem

by Glenn Rice -

If you get the message "Can't create listen socket: Address already in use" it means that there is something else running on the server that is using port 8080.  You need to either change the port that webwork2 uses, or find what other process is using the port and either stop it, change the port that it is using.

In reply to Wai Yan Pong

Re: Installing 2.19 on Ubuntu 24.04. Socket problem

by Wai Yan Pong -
It turns out to be one of those issue that somehow goes away with a reboot of the server. Now WebWork is running.