Subsonic service error 1067 after JAVA update [FIXED]
I've been running a subsonic server for a long time now, without any notible problems, until today.
The problem
Today I got a JAVA update (version 6 update 30 (built 1.6.0_30-b12)), which I installed. Now, everytime I try to start the SubSonic service, it returns "Error 1067: The process terminated unexpectedly.".
What did I try:
Tried an extra reboot, no change
Tried changing the user-account of the service to "local system" and "administrator", no change
Tried with disabled firewall, no change
Tried reinstalling subsonic, no change
Tried uninstalling JAVA 1.6.0_30-b12 and installed 1.7.0_02-b13 64bit, Subsonic Control Panel doesn't see the JRE...
Tried installing JAVA 1.7.0_02-b13 32bit, Subsonic Control Panel works again, service still gives same error 1067
Tried installing JAVA 1.6.0_29-b11 32bit, still same error (I think this was the version of JAVA that was running prior to the update, could be older)
Tried manual uninstall of service (commandline subsonic-service.exe -uninstall) and reinstalling (commandline subsonic-service.exe -install-auto), no change
Tried uninstalling subsonic, rebooting the server, reinstalling subsonic... This works! But with a clean db and all default settings...
Trying to restore database and settings, service fails again
The Fix
Ok, figured it out... pffff
After replacing the default subsonic-service.exe.vmoptions file, the service would fail again.
I had 2 things different in my option file, the -Dsubsonic.home option and the -Xmx option.
The -Xmx is a setting to specify the Memory Limit in MB's. You can set it with the control panel too. I was using 1650MB for over a year... After lowering it to 1500... it worked!
So -Xmx1650m changed to -Xmx1500m did the trick for me... jay!
As to why this suddenly fails, I really have no clue. Maybe I had an older version of JAVA (update 26,27,28??) which allowed the 1650MB. Dunno.
Hope this helps someone else too.
Details:
Subsonic 4.6, running on a Windows 2008 R2 server (16GB mem)
Subsonic service used to run with a special service account. To be sure it's not a security issue, it now temporarily runs as administrator
JAVA version: Java 6 Standard Edition, version 6 update 30 (built 1.6.0_30-b12)
There is no subsonic-service.log file anymore. Even after trying to start the service, no log file is created
There is a subsonic-agent.log file, it has 4 lines in it ending with the Pre-instantiating singletons. No errors there.
I hope someone knows what's going on. Until then I'll update this post with attempts of fixing or even better... the fix itself.
The problem
Today I got a JAVA update (version 6 update 30 (built 1.6.0_30-b12)), which I installed. Now, everytime I try to start the SubSonic service, it returns "Error 1067: The process terminated unexpectedly.".
What did I try:
Tried an extra reboot, no change
Tried changing the user-account of the service to "local system" and "administrator", no change
Tried with disabled firewall, no change
Tried reinstalling subsonic, no change
Tried uninstalling JAVA 1.6.0_30-b12 and installed 1.7.0_02-b13 64bit, Subsonic Control Panel doesn't see the JRE...
Tried installing JAVA 1.7.0_02-b13 32bit, Subsonic Control Panel works again, service still gives same error 1067
Tried installing JAVA 1.6.0_29-b11 32bit, still same error (I think this was the version of JAVA that was running prior to the update, could be older)
Tried manual uninstall of service (commandline subsonic-service.exe -uninstall) and reinstalling (commandline subsonic-service.exe -install-auto), no change
Tried uninstalling subsonic, rebooting the server, reinstalling subsonic... This works! But with a clean db and all default settings...
Trying to restore database and settings, service fails again
The Fix
Ok, figured it out... pffff
After replacing the default subsonic-service.exe.vmoptions file, the service would fail again.
I had 2 things different in my option file, the -Dsubsonic.home option and the -Xmx option.
The -Xmx is a setting to specify the Memory Limit in MB's. You can set it with the control panel too. I was using 1650MB for over a year... After lowering it to 1500... it worked!
So -Xmx1650m changed to -Xmx1500m did the trick for me... jay!
As to why this suddenly fails, I really have no clue. Maybe I had an older version of JAVA (update 26,27,28??) which allowed the 1650MB. Dunno.
Hope this helps someone else too.
Details:
Subsonic 4.6, running on a Windows 2008 R2 server (16GB mem)
Subsonic service used to run with a special service account. To be sure it's not a security issue, it now temporarily runs as administrator
JAVA version: Java 6 Standard Edition, version 6 update 30 (built 1.6.0_30-b12)
There is no subsonic-service.log file anymore. Even after trying to start the service, no log file is created
There is a subsonic-agent.log file, it has 4 lines in it ending with the Pre-instantiating singletons. No errors there.
I hope someone knows what's going on. Until then I'll update this post with attempts of fixing or even better... the fix itself.