Post Reply 
Custom MinimServer Installation Not Starting
21-09-2017, 20:25
Post: #24
RE: Custom MinimServer Installation Not Starting
I have installed unRAID with MinimServer and I have been able to find what is causing the problem.

unRAID is defining the loopback adapter with two different netmask values. Here is an extract from the output of 'ip addr':

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/32 scope host lo
       valid_lft forever preferred_lft forever
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever

The ohNet UPnP stack (used by MinimServer) can't handle this because it treats 127.0.0.1/32 and 127.0.0.1/8 as if they were separate adapters and tries to bind both of these "adapters" to different sockets listening on address 127.0.0.1 port 9791. The second of these bind attempts fails.

I don't know why unRAID is set up like this. The 127.0.0.1/8 combination is a superset of 127.0.0.1/32 and I can't see any reason why both would be needed. As a workaround, I have used the command:

ip addr del 127.0.0.1/32 dev lo

to delete the 127.0.0.1/32 address and this allows MinimServer to run.

I will contact the ohNet developers to discuss a possible code change to ohNet that would select the least specific netmask value in such cases and ignore all other values. It is likely to be a little while before this change is available in MinimServer, so I suggest using the above workaround as an interim solution for now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Custom MinimServer Installation Not Starting - simoncn - 21-09-2017 20:25

Forum Jump:


User(s) browsing this thread: 3 Guest(s)