Ubuntu 18.04 Roon Server Install - Unable to connect to server

Hi there,

I have been pulling my hair out over the last few days and was wondering if anyone would be able to provide some assistance with my Roon Server install.

I have an HP ProDesk PC with Ubuntu 18.04.05 installed on it.

I followed the instructions on https://help.roonlabs.com/portal/en/kb/articles/linux-install and went down the “The Easy Installer (Recommended)” route for “Roon Server x86_64”

The install went ahead without any reported issues:

ollie@HP-ProDesk:~/Downloads$ sudo ./roonserver-installer-linuxx64.sh

--------------------------------------------------------------------------------------

Welcome to the RoonServer installer

This installer sets up RoonServer to run on linux with the following settings:

 - RoonServer will be installed in /opt/RoonServer
 - RoonServer's data will be stored in /var/roon/RoonServer
 - RoonServer will be configured to run as a system service
 - RoonServer will run as root

These settings are suitable for turning a dedicated or semi-dedicated device
into an appliance that runs RoonServer

If you want customize how RoonServer is installed, see:

   http://kb.roonlabs.com/LinuxInstall

--------------------------------------------------------------------------------------

Do you want to install RoonServer on this machine? [Y/n] 

Downloading RoonServer_linuxx64.tar.bz2 to /tmp/tmp.6nZ1JVgpSm/RoonServer_linuxx64.tar.bz2

############################################################################################################ 100.0%

Unpacking RoonServer_linuxx64.tar.bz2...Done

Checking to see if RoonServer can run on this machine 

    Checking for Binary Compatibility                            [   OK   ]
    Checking for ALSA Libraries                                  [   OK   ]
    Checking for ffmpeg or avconv                                [   OK   ]
    Checking for the mount.cifs command                          [   OK   ]
    Testing ulimit -n 8192                                       [   OK   ]

STATUS: SUCCESS


Copying Files...Done
Failed to stop roonserver.service: Unit roonserver.service not loaded.

Installing /etc/systemd/system/roonserver.service

Enabling service roonserver...
Created symlink /etc/systemd/system/multi-user.target.wants/roonserver.service → /etc/systemd/system/roonserver.service.
Service Enabled

Starting service roonserver...
Service Started

--------------------------------------------------------------------------------------

All Done! RoonServer should be running on your machine now.

--------------------------------------------------------------------------------------

However, I am unable to connect to the server from either the Android app or Windows 10 app.

I have tried disabling the Ubuntu firewall and reattempting to connect, however this made no difference.

I have tried clicking on “Help” in the apps and inputting the IP address of the Roon Server, this also made no difference.

Here is the status output:

ollie@HP-ProDesk:~/Downloads$ systemctl status roonserver
 roonserver.service - RoonServer
   Loaded: loaded (/etc/systemd/system/roonserver.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-05-16 16:21:13 BST; 14min ago
 Main PID: 11796 (start.sh)
    Tasks: 42 (limit: 4915)
   CGroup: /system.slice/roonserver.service
           ├─11796 /bin/bash /opt/RoonServer/start.sh
           ├─11801 /opt/RoonServer/RoonMono/bin/RoonServer --debug --gc=sgen --server RoonServer.exe
           ├─11838 /opt/RoonServer/RoonMono/bin/RoonAppliance --debug --gc=sgen --server RoonAppliance.exe -watchdogport=43041
           ├─11844 /opt/RoonServer/Server/processreaper 11838
           └─11884 /opt/RoonServer/RoonMono/bin/RAATServer --debug --gc=sgen --server RAATServer.exe

May 16 16:21:13 HP-ProDesk systemd[1]: Started RoonServer.
May 16 16:21:13 HP-ProDesk start.sh[11796]: 00:00:00.001 Warn:  get lock file path: /tmp/.rnsgem0-
May 16 16:21:13 HP-ProDesk start.sh[11796]: 00:00:00.074 Trace: [childprocess] using unix child process
May 16 16:21:13 HP-ProDesk start.sh[11796]: Initializing
May 16 16:21:13 HP-ProDesk start.sh[11796]: Started
May 16 16:21:14 HP-ProDesk start.sh[11796]: aac_fixed decoder found, checking libavcodec version...
May 16 16:21:14 HP-ProDesk start.sh[11796]: has mp3float: 1, aac_fixed: 1
May 16 16:21:18 HP-ProDesk start.sh[11796]: Running
ollie@HP-ProDesk:~/Downloads$

A copy of the logs can be found here: https://pastebin.com/AuwqFcLa

Any help will be gratefully appreciated :slight_smile:

Thanks,

Ollie

For some reason those logs were removed, here is another go: https://pastebin.com/vb9ufCLQ

Try 255.255.255.255 on your Android device instead.

Have you also tried to disable the firewall on the Windows 10 PC? Read also:

Hi @BlackJack , many thanks for your response!

I tried using 255.255.255.255 on the Android device, and I’ve also tried disabling the Windows 10 firewall but that did not seem to help.

With regards to my setup, everything was working absolutely fine with a Mac Mini, but we had a power surge which took that out. So I am happy that the clients should be able to find the Roon Server on the new Ubuntu setup.

Unfortunately the suggestions in those links don’t seem to have provided anything else to investigate which hasn’t already been covered.

Any further ideas?!

I assumed you checked the basic “everything has to be in the same subnet”.

Yes, my server is on 192.168.11.200 and my devices are all on 192.168.11.XXX

I do have Docker running on my server, so I’m wondering if that will cause any issues? I haven’t got round to shutting it down to see if that allows a Roon connection - I am hoping to test it out later on today.

Have you checked your firewall rules?
If you shutdown docker and flush all rules, then you should be able to connect to your Core.
If not, you must check if the Core is listening on the correct ports, using e.g. netstat.

Just for the sake of easing ones mind, can you ping all devices in the network from the machine the Core is on, thus assuring IP connectivity?

Hi Peter,

Many thanks for your message.

I have stopped Docker, disabled the firewall on both the Ubuntu and on the Mac Book Pro client I am now testing it with, but am still unable to connect via any of my clients.

Running sudo netstat -tulpn | grep -i roon, gave me this:

ollie@HP-ProDesk:/var/roon/RoonServer/Logs$ sudo netstat -tulpn | grep -i roon
[sudo] password for ollie: 
tcp        0      0 0.0.0.0:9150            0.0.0.0:*               LISTEN      11838/RoonAppliance 
tcp        0      0 127.0.0.1:43041         0.0.0.0:*               LISTEN      11801/RoonServer    
tcp        0      0 0.0.0.0:9100            0.0.0.0:*               LISTEN      11838/RoonAppliance 
tcp        0      0 0.0.0.0:9101            0.0.0.0:*               LISTEN      11838/RoonAppliance 
udp        0      0 0.0.0.0:60238           0.0.0.0:*                           11838/RoonAppliance 
udp        0      0 0.0.0.0:60303           0.0.0.0:*                           11838/RoonAppliance 
udp        0      0 0.0.0.0:56285           0.0.0.0:*                           11838/RoonAppliance 
udp        0      0 0.0.0.0:44031           0.0.0.0:*                           11838/RoonAppliance 
udp        0      0 0.0.0.0:56433           0.0.0.0:*                           11838/RoonAppliance 

There were a number of more records but I only included the above LISTEN ones as I thought they are the most relevant.

I am able to ping from Server to Client and vice versa, and am able to create an SSH connection between the two.

Is there anything else I can investigate?

Thanks!

A bit boaring, but this is my list with the same command :woozy_face:

Roon on your machine must be simular, but with other ports.

tcp 0 0 127.0.0.1:45931 0.0.0.0:* LISTEN 928/RoonServer
tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 0.0.0.0:9101 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 0.0.0.0:36763 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 0.0.0.0:45083 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 0.0.0.0:38811 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 172.19.0.1:39997 0.0.0.0:* LISTEN 1002/RoonAppliance
tcp 0 0 0.0.0.0:9150 0.0.0.0:* LISTEN 1002/RoonAppliance
udp 0 0 0.0.0.0:37422 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:45618 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:37530 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:37794 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:54201 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:54220 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:54424 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:46324 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:38150 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:54573 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:46384 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:46502 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:46558 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:54781 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:38587 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:38675 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:55142 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47052 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47122 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:38960 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:39010 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:55441 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:39070 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:39092 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47437 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47450 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47462 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47525 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:55766 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:47583 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:55895 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:56382 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:48198 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:48201 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:48314 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:56554 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:56596 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:56689 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:56825 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:57450 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:49287 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:41181 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:33013 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:49410 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:57698 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:33154 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:57972 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:41698 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:58119 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:41736 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9001 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9001 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9001 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9003 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9003 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9003 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:9003 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:58348 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:33801 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:33845 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:42063 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:50294 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:50312 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:58708 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:42361 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:58756 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:50622 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:42550 0.0.0.0:* 1002/RoonAppliance
udp 0 0 172.19.0.1:59013 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:34472 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:50858 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:42686 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:59108 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:1900 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:1900 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:1900 0.0.0.0:* 1002/RoonAppliance
udp 0 0 239.255.255.250:1900 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:51226 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:59436 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:51257 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:34916 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:35009 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:51517 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:59722 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:35161 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:43391 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:43862 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:52054 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:52199 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:36108 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:60766 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:36261 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:36294 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:44706 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:52968 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:44895 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:45186 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:53557 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:45454 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:45534 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:37387 0.0.0.0:* 1002/RoonAppliance
udp 0 0 0.0.0.0:53787 0.0.0.0:* 1002/RoonAppliance