Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 crashing
-
- Posts: 3
- Joined: 25 Jan 2014, 15:23
- Has thanked: 4 times
- Been thanked: 2 times
Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 crashing
Hello, I have recently setup Madsonic v5.1.5140 along with Java 1.7.0_75-b13 running on my Raspberry Pi2 Model B (quad-core, 1GB of RAM, running newest Raspbian Debian-based Linux for ARMv7). After about a day or so of running, I notice that the Madsonic service has failed with an error within /var/madsonic/madsonic_sh.log pointing me to a Java failure with details in /usr/share/madsonic/hs_err_pid9742.log, which is attached.
After a reboot, everything runs fine for another day or so, then the same error comes back. This is where my expertise ends, and I am at a loss as to what to try to fix this. Does anyone have any ideas on what I can do to try to keep this from happening constantly? Or has anyone else experience this?
After a reboot, everything runs fine for another day or so, then the same error comes back. This is where my expertise ends, and I am at a loss as to what to try to fix this. Does anyone have any ideas on what I can do to try to keep this from happening constantly? Or has anyone else experience this?
- Attachments
-
- hs_err_pid9742.log
- Java Error
- (61.11 KiB) Downloaded 208 times
- These users thanked the author diablo2424 for the post:
- Madsonic
- Rating: 7.69%
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
Hello,
I have Madsonic 5.2 running on a Raspberry Pi 2 without any issues. However I'm not using OpenJDK 1.7
Maybe you could try updating to Oracle Java 1.8 JRE
Here's my server information:
jetty/8.y.z-SNAPSHOT, java 1.8.0_33, Linux 3.18.9-v7+ (arm) (122.8 MB / 248.0 MB)
I have Madsonic 5.2 running on a Raspberry Pi 2 without any issues. However I'm not using OpenJDK 1.7
Maybe you could try updating to Oracle Java 1.8 JRE
Here's my server information:
jetty/8.y.z-SNAPSHOT, java 1.8.0_33, Linux 3.18.9-v7+ (arm) (122.8 MB / 248.0 MB)
- Madsonic
- Administrator
- Posts: 986
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1201 times
- Been thanked: 470 times
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
I would recommend you to use the Oracle JAVA8 implementation,
it's more reliably than OpenJDK and has ARM HW Floating point support.
http://www.oracle.com/technetwork/java/ ... 87472.html
Click the download button of Java Platform (JDK) 8. Click to Accept License Agreement,
download jdk-8u33-linux-arm-vfp-hflt.tar.gz for Linux ARM v6/v7 Hard Float ABI.
Log-in Raspberry Pi, enter the command to extract jdk-8u33-linux-arm-vfp-hflt.tar.gz to /opt directory.
Set default java and javac to the new installed jdk8.
After all, verify with the commands with -verion option.
it's more reliably than OpenJDK and has ARM HW Floating point support.
http://www.oracle.com/technetwork/java/ ... 87472.html
Click the download button of Java Platform (JDK) 8. Click to Accept License Agreement,
download jdk-8u33-linux-arm-vfp-hflt.tar.gz for Linux ARM v6/v7 Hard Float ABI.
Log-in Raspberry Pi, enter the command to extract jdk-8u33-linux-arm-vfp-hflt.tar.gz to /opt directory.
Code: Select all
sudo tar zxvf jdk-8u33-linux-arm-vfp-hflt.tar.gz -C /opt
Code: Select all
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_33/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_33/bin/java 1
sudo update-alternatives --config javac
sudo update-alternatives --config java
Code: Select all
$ java -version
- These users thanked the author Madsonic for the post:
- diablo2424
- Rating: 7.69%
-
- Posts: 4
- Joined: 31 May 2015, 21:25
- Has thanked: 0
- Been thanked: 0
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
I was having the same problem, using the same java version, will give this a shot and report back, was very, very frustrating, crossing my fingers!
-
- Posts: 4
- Joined: 31 May 2015, 21:25
- Has thanked: 0
- Been thanked: 0
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
For the record, the PI now ships with Oracle Java, after swapping back to it, I remember doing it the first time.
I'm too new to post links, but look on the Raspberry Pi site
I'm too new to post links, but look on the Raspberry Pi site
-
- Posts: 3
- Joined: 25 Jan 2014, 15:23
- Has thanked: 4 times
- Been thanked: 2 times
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
Thank you for the guide Madevil, however, I tried this, and the server worked for a day or two, then back to the same 503 Service unavailable error.
-
- Posts: 3
- Joined: 25 Jan 2014, 15:23
- Has thanked: 4 times
- Been thanked: 2 times
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
You're welcome... since I have been unsuccessful at getting Madsonic to stay running for more than 24-48 hours, I have switched back to the newest version of Subsonic (5.2.1 (build 4428) – March 4, 2015) running Java 1.8.0_33 with the instructions included above from MadEvil, and it's been running great.
Hopefully once the next version of Madsonic comes out, I can switch back as I'm beginning to miss some of the features of Madsonic, that Subsonic doesn't have.
Hopefully once the next version of Madsonic comes out, I can switch back as I'm beginning to miss some of the features of Madsonic, that Subsonic doesn't have.
- These users thanked the author diablo2424 for the post:
- Madsonic
- Rating: 7.69%
Re: Madsonic 5.1.5140 & Java 1.7.0_75-b13 Raspberry Pi2 cras
that is good infomations and useful, thank for sharing.