Post Reply 
Errors when reinstalling MinimServer 2 on a RaspberrPi 4
18-10-2026, 14:31
Post: #1
Errors when reinstalling MinimServer 2 on a RaspberrPi 4
In trying to troubleshoot an instance of MS on a QNAP NAS, I looked to the settings in my flawlessly running MinimServer on a Raspberry Pi 4. Now I've managed to mess that up too! I decided to make a clean sweep and succeeded in uninstalling it, but have run into problems reinstalling. Here's the read-out:

Code:
nick@RPi4:~ $ minimserver/bin/startc
MinimServer 2.2, Copyright (c) 2012-2022 Simon Nash. All rights reserved.
OpenJDK Server VM warning: You have loaded library /home/nick/minimserver/tmp/native/libohNet.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /home/nick/minimserver/tmp/native/libohNet.so: /home/nick/minimserver/tmp/native/libohNet.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
    at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2450)
    at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2506)
    at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2705)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2648)
    at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
    at java.base/java.lang.System.loadLibrary(System.java:1890)
    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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja​va:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso​rImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja​va:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso​rImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    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'

What do I need to do to be up and running again?
Find all posts by this user
Quote this message in a reply
18-10-2026, 14:49
Post: #2
RE: Errors when reinstalling MinimServer 2 on a RaspberrPi 4
This error means you have installed the wrong version of MinimServer (64-bit vs 32-bit) for the Linux runtime on your Raspberry Pi.
Find all posts by this user
Quote this message in a reply
18-10-2026, 15:41
Post: #3
RE: Errors when reinstalling MinimServer 2 on a RaspberrPi 4
(18-10-2026 14:49)simoncn Wrote:  This error means you have installed the wrong version of MinimServer (64-bit vs 32-bit) for the Linux runtime on your Raspberry Pi.

Thanks. But I checked first to be sure and uname -m gave me aarch64, which I thought meant I needed the arm64 download, which is what I used.
Find all posts by this user
Quote this message in a reply
18-10-2026, 16:06
Post: #4
RE: Errors when reinstalling MinimServer 2 on a RaspberrPi 4
I believe uname -m shows the hardware architecture, not the OS architecture. I think you will find it works if you install the "ARM hard float" version of MinimServer.
Find all posts by this user
Quote this message in a reply
18-10-2026, 16:49
Post: #5
RE: Errors when reinstalling MinimServer 2 on a RaspberrPi 4
(18-10-2026 16:06)simoncn Wrote:  I believe uname -m shows the hardware architecture, not the OS architecture. I think you will find it works if you install the "ARM hard float" version of MinimServer.

Thanks very much - all good now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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