Subsonic service error 1067 after JAVA update [FIXED]

Need help? Post your questions here.

Moderator: moderators

Subsonic service error 1067 after JAVA update [FIXED]

Postby mgyellow » Tue Jan 03, 2012 6:53 am

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! :D
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.
Last edited by mgyellow on Tue Jan 03, 2012 8:10 am, edited 1 time in total.
mgyellow
 
Posts: 7
Joined: Mon Jul 12, 2010 11:14 pm

Re: Subsonic service error 1067 after JAVA update [FIXED]

Postby ytechie » Tue Jan 03, 2012 8:09 am

I looked up error 1067 and it seems (so far) that it has something to do with a port conflict.

Check this out http://3sp.com/en/kb/idx.php/0/239/arti ... -1067.html

Do a google search for java 1067 and see if anything lights a bulb :idea: :wink:
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic service error 1067 after JAVA update [FIXED]

Postby mgyellow » Tue Jan 03, 2012 8:14 am

ytechie wrote:I looked up error 1067 and it seems (so far) that it has something to do with a port conflict.

Check this out http://3sp.com/en/kb/idx.php/0/239/arti ... -1067.html

Do a google search for java 1067 and see if anything lights a bulb :idea: :wink:


Thanks for taking the time to help. It actualy was not a port problem, it was a memory allocation problem (see first post).
mgyellow
 
Posts: 7
Joined: Mon Jul 12, 2010 11:14 pm

Re: Subsonic service error 1067 after JAVA update [FIXED]

Postby ytechie » Tue Jan 03, 2012 8:18 am

Thanks for the valuable info though! Will save someone else a lot of trouble down the road! :D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic service error 1067 after JAVA update [FIXED]

Postby JesterEE » Wed Mar 21, 2012 3:48 am

I just had this problem today. For me it was a corrupted Java upgrade. I reinstalled Java 6.31 and all was right with the world.

-JesterEE
User avatar
JesterEE
 
Posts: 22
Joined: Thu Nov 11, 2010 3:20 pm
Location: Boston, MA, USA


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests