Post Reply 
I encountered an error while installing MinimServer on OpenWrt. Can anyone help me so
26-07-2024, 07:35
Post: #5
RE: I encountered an error while installing MinimServer on OpenWrt. Can anyone help me so
(24-07-2024 14:30)simoncn Wrote:  I will try to set up an OpenWrt image for my Raspberry Pi 4 to confirm what has caused this problem.

In the interim, you should be able to get MinimServer running by disabling automatic updates. To do this, create a file named minimserver.defaults in the minimserver/data directory. This file should contain the following line:

.autoUpdate = false

After doing this, start MinimServer and it should run without producing this error.

Edit: I was able to start OpenWrt and confirm that it doesn't contain the provider library needed to support SSL. This causes Java to throw an error. MinimServer should detect this error and fall back to a non-SSL connection. Changing the Java version wouldn't make any difference. When this MinimServer fix is available, I will post back here with details of how to install the fix on OpenWrt.

Using this method results in another exception as follows:

root@photonicat-openwrt:/usr/share# minimserver/bin/startc

MinimServer 2.2, Copyright © 2012-2022 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: /usr/share/minimserver/tmp/native/libohNet.so: Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/share/minimserver/tmp/native/libohNet.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1946)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1841)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
at java.lang.System.loadLibrary(System.java:1124)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:835)
at org.jminim.lib.OhNetService.createDeviceStack(OhNetService.java:737)
at org.jminim.lib.OhNetService.createDeviceFactory(OhNetService.java:645)
at org.jminim.lib.OhNetService.access$3300(OhNetService.java:59)
at org.jminim.lib.OhNetService$Proxy.createDeviceFactory(OhNetService.java:1339)
at org.jminim.lib.MonitorService$Monitor.startDevice(MonitorService.java:318)
at org.jminim.lib.MonitorService$Monitor.createDevice(MonitorService.java:299)
at org.jminim.lib.MonitorService$Monitor.listenerAdded(MonitorService.java:394)
at org.jminim.core.RuntimeImpl.addEventListener(RuntimeImpl.java:2563)
at org.jminim.lib.RuntimeService$Proxy.addEventListener(RuntimeService.java:236)
at com.minimserver.Server.doStart(Server.java:1824)
at com.minimserver.Server.start(Server.java:1400)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:240)
at org.jminim.core.ContextImpl.start(ContextImpl.java:128)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:80)
at org.jminim.core.ContextImpl.start(ContextImpl.java:128)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2796)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1317)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)
MinimServer error: now stopped, use 'restart' or 'exit'
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: I encountered an error while installing MinimServer on OpenWrt. Can anyone help me so - Bryant_Hifi - 26-07-2024 07:35

Forum Jump:


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