MinimServer Forum
Starting server for the first time on Raspberry Pi throws java.io.IOException error - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimServer 2 (/forumdisplay.php?fid=12)
+--- Thread: Starting server for the first time on Raspberry Pi throws java.io.IOException error (/showthread.php?tid=5955)



Starting server for the first time on Raspberry Pi throws java.io.IOException error - Rouquemoute - 12-12-2020 16:57

Hi there,

Anyone successfully installed and started MinimServer 2 on Raspberry Pi ?
I get this when executing the startup script :

> minimserver/bin/startc
MinimServer 2.0.16 update 178, Copyright © 2012-2020 Simon Nash. All rights reserved.
Error writing data to license buffer: java.io.IOException: platform data error 1e
MinimServer error: now stopped, use 'restart' or 'exit'


Any hints on how to debug this ?
Thanks a lot !


RE: Starting server for the first time on Raspberry Pi - simoncn - 12-12-2020 17:13

Please post the output from the following Linux commands:

/sbin/ip route get 8.8.8.8
cat /proc/net/route

Which model of Raspberry Pi is this?


VPN causing issue ? - Rouquemoute - 12-12-2020 17:24

Simon,

It's a Raspberry Pi 4.
A VPN client is running on it, which is most likely the source of the problem

> /sbin/ip route get 8.8.8.8
8.8.8.8 via 10.8.1.1 dev tun0 src 10.8.1.7 uid 1000
cache
> cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
tun0 00000000 0101080A 0003 0 0 0 00000080 0 0 0
eth0 00000000 0101A8C0 0003 0 0 202 00000000 0 0 0
tun0 0001080A 00000000 0001 0 0 0 00FFFFFF 0 0 0
tun0 00000080 0101080A 0003 0 0 0 00000080 0 0 0
eth0 731980B9 0101A8C0 0007 0 0 0 FFFFFFFF 0 0 0
eth0 0001A8C0 00000000 0001 0 0 202 00FFFFFF 0 0 0



RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error - simoncn - 12-12-2020 17:43

Thanks for the quick reply. Please also try this:

cat /sys/class/net/tun0/address


cat /sys/class/net/tun0/address - Rouquemoute - 12-12-2020 18:16

This returns nothing

> cat /sys/class/net/tun0/address
[nothing]



RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error - Rouquemoute - 12-12-2020 18:20

FYI, turning off the VPN allows the startup script to proceed.


RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error - simoncn - 13-12-2020 09:29

Many thanks for your help with debugging this problem. Please also try both of these with the VPN client enabled:

ip a
ifconfig

Which VPN client is it?


Debug - Rouquemoute - 13-12-2020 10:11

(13-12-2020 09:29)simoncn Wrote:  Many thanks for your help with debugging this problem.
Always glad to help.

(13-12-2020 09:29)simoncn Wrote:  Please also try both of these with the VPN client enabled:

ip a
ifconfig
There you go:
Code:
> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:e5:d0:a2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.61/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 84731sec preferred_lft 73931sec
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether dc:a6:32:e5:d0:a3 brd ff:ff:ff:ff:ff:ff
7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
    link/none
    inet 10.8.3.6/24 brd 10.8.3.255 scope global tun0
       valid_lft forever preferred_lft forever

> ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.61  netmask 255.255.255.0  broadcast 192.168.1.255
        ether dc:a6:32:e5:d0:a2  txqueuelen 1000  (Ethernet)
        RX packets 61352011  bytes 1356064491 (1.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 45671045  bytes 2364367196 (2.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 921100  bytes 182276573 (173.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 921100  bytes 182276573 (173.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.3.6  netmask 255.255.255.0  destination 10.8.3.6
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 1713  bytes 210517 (205.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2117  bytes 351572 (343.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

(13-12-2020 09:29)simoncn Wrote:  Which VPN client is it?
NordVPN


RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error - simoncn - 13-12-2020 16:54

PM sent.