|
Error launching MinimServer on Raspberry Pi
|
|
16-07-2022, 18:18
(This post was last modified: 16-07-2022 19:29 by Music-Guy.)
Post: #1
|
|||
|
|||
|
Error launching MinimServer on Raspberry Pi
Hi,
I followed this guide to install MinimServer on a Raspberry Pi 3B: Installing MinimServer 2 on the Raspberry Pi The System is a MoodeOS 8.1.2 which is based on Raspian Bullseye Lite (2022-04-04; Linux kernel 5.15; 32 Bit). I've also installed BubbleUPnP-Server which requires OpenJDK. While trying to run MinimServer i get the following error: Code: java -versionWhat can I do to get MinimServer running here? |
|||
|
16-07-2022, 21:06
Post: #2
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
The "wrong ELF class: ELFCLASS64" error is caused by installing the MinimServer-2.1.2-linux-arm64.tar.gz package (ARM 64-bit). Because you are using a 32-bit version of OpenJDK and/or MoodeOS, you need to uninstall this package and install the MinimServer-2.1.2-linux-armhf.tar.gz package (ARM hard float 32-bit).
Also, you should not be using sudo to run the minimserver/bin/startc command. You should install MinimServer as a regular user and run it as a regular user. This prevents file permission problems. I think the stack guard message will go away after you have fixed these two issues. If it doesn't, please let me know. |
|||
|
17-07-2022, 13:30
Post: #3
|
|||
|
|||
RE: Error launching MinimServer on Raspberry Pi
(16-07-2022 21:06)simoncn Wrote: The "wrong ELF class: ELFCLASS64" error is caused by installing the MinimServer-2.1.2-linux-arm64.tar.gz package (ARM 64-bit). Because you are using a 32-bit version of OpenJDK and/or MoodeOS, you need to uninstall this package and install the MinimServer-2.1.2-linux-armhf.tar.gz package (ARM hard float 32-bit).Shame on me. At first I had MoodeOS in operation as a 64-bit version. Therefore I had also downloaded MinimServer in the 64 bit version. In the meantime, however, it turned out that one of the other programmes I need is not 64-bit compatible. So I started again with MoodeOS in the 32 bit version, but then forgot to download MinimServer in the 32 bit version. Many thanks also for the hint regarding sudo. Everything works fine now! |
|||
|
18-07-2022, 07:51
Post: #4
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
I also use the Raspberry on which MinimServer was installed as a WLAN hotspot via RaspAP.
MinimServer connects to all available interfaces. However, I would like to use MinimServer only via the WLAN provided by Raspberry. Can MinimServer be restricted to certain interfaces here? |
|||
|
18-07-2022, 11:32
Post: #5
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
You can restrict MinimServer to a specific subnet but not to a specific interface. To do this, you need to set the MinimServer ohnet.subnet property as described in this section.
|
|||
|
18-07-2022, 12:10
Post: #6
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
Thank you so much!
This also worked brilliantly
|
|||
|
19-07-2022, 07:55
Post: #7
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
Now I have another problem regarding MinimServer on wlan0 interface on that Raspberry:
After a restart of the Raspberry, MinimServer says "Subnet 10.0.0.0 not found". But the subnet is right. And after a restart of MinimServer everything works fine. So I think it might be a timing problem when MinimServer is started before the wlan0 interface is ready. Is thera a way to delay the startup of MinimServer? |
|||
|
19-07-2022, 10:09
Post: #8
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
There is a delayStart property but this would add a delay after MinimServer has already produced the subnet error message. I will think about other possible solutions for this.
|
|||
|
19-07-2022, 10:13
Post: #9
|
|||
|
|||
|
RE: Error launching MinimServer on Raspberry Pi
Maybe the minimserver service could be adjusted.?
Or an automatic restart after initial startup... Certainly there are more elegant solutions. |
|||
|
19-07-2022, 10:33
Post: #10
|
|||
|
|||
RE: Error launching MinimServer on Raspberry Pi
(19-07-2022 07:55)Music-Guy Wrote: Now I have another problem regarding MinimServer on wlan0 interface on that Raspberry: I've had this for a while, running 2 instances of MinimServer on a Pi4 2GB, the first start after a reboot fails. A relaunch is fine. I'm running a full desktop, watching via VNC, and I have a good connection long before any sign of Minimserver shows. This is with Ethernet only, WiFi disabled For now I have ohnet.subnet left blank and it's all working well. Colin |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:

Search
Member List
Calendar
Help



