Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting server for the first time on Raspberry Pi throws java.io.IOException error
12-12-2020, 16:57
Post: #1
Starting server for the first time on Raspberry Pi throws java.io.IOException error
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 !
Find all posts by this user
Quote this message in a reply
12-12-2020, 17:13
Post: #2
RE: Starting server for the first time on Raspberry Pi
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?
Find all posts by this user
Quote this message in a reply
12-12-2020, 17:24
Post: #3
VPN causing issue ?
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
Find all posts by this user
Quote this message in a reply
12-12-2020, 17:43
Post: #4
RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error
Thanks for the quick reply. Please also try this:

cat /sys/class/net/tun0/address
Find all posts by this user
Quote this message in a reply
12-12-2020, 18:16
Post: #5
cat /sys/class/net/tun0/address
This returns nothing

> cat /sys/class/net/tun0/address
[nothing]
Find all posts by this user
Quote this message in a reply
12-12-2020, 18:20
Post: #6
RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error
FYI, turning off the VPN allows the startup script to proceed.
Find all posts by this user
Quote this message in a reply
13-12-2020, 09:29
Post: #7
RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error
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?
Find all posts by this user
Quote this message in a reply
13-12-2020, 10:11
Post: #8
Debug
(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
Find all posts by this user
Quote this message in a reply
13-12-2020, 16:54
Post: #9
RE: Starting server for the first time on Raspberry Pi throws java.io.IOException error
PM sent.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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