Page 1 of 2

Can't start Subsonic on new mac with Lion

PostPosted: Fri Aug 19, 2011 3:53 am
by dannamil
I had my subsonic account set up on my Macbook Pro. It worked fine. I recently bought a Mac Mini (with Lion). I migrated my Macbook Pro machine onto the Mac Mini. The Subsonic application was present on the new computer. I plugged in the external hard drive where I have my music and tried to open Subsonic to run it, but it won't connect.

The Subsonic Control Panel has an error message that reads:
java.lang.IllegalArgumentException: Bad temp directory: /Library/Application Support/Subsonic/jetty/2384

When I try to open the Subsonic webpage from the headphone icon, I get this:
Oops! Google Chrome could not connect to localhost:4040
Suggestions:
Try reloading: localhost:­4040
Search on Google:

When I try to type in my personal Subsonic URL, I get this:
Oops! Google Chrome could not connect to 10.0.1.17:4040
Suggestions:
Try reloading: 10.­0.­1.­17:­4040
Search on Google:

I tried searching for this topic multiple times and couldn't find anything. Can someone help me figure out how to get Subsonic up and running on my new computer?

Thanks!

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 20, 2011 11:16 pm
by dannamil
OK, sorry for not reading the instructions about 'how to ask for help.' I've attempted to follow the instructions as directed. Sorry for some non-technical language, as I'm clearly not a pro. I am a contributing member and love the service, I just wish I could get it to work again!!

Problem Description: I had subsonic working perfectly on my MacBook Pro. I bought a new MacMini and migrated all my data/apps from my old machine to the new one. I can't access the Subsonic webpage by either typing in the localhost address or my custom rowe****.subsonic.org. When I try to access the website, I get the following message:

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/

Powered by jetty://

Troubleshooting Steps: I deleted and reinstalled the Subsonic Application via website instructions. I downloaded and installed the new Java app.
Playback Application and version: Standard Subsonic Web Application
Subsonic Version: Version 4.5
Server Version: I can't get into the web interface, so I can't tell. I think it's Jetty though.
Hardware Platform: MacMini; Lion
Java Memory Limit: I don't know how to find this, sorry. I imagine it's still set a default.
Problem Filename: n/a
Output from ffmpeg -i: n/a
Last ten log file lines: n/a - can't get into the about screen.

I hope this helps someone diagnose my problem. I feel like it's got to be a simple issue, but I can't find it!

Thanks - Dan

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 20, 2011 11:52 pm
by BKKKPewsey
I am not an apple user so cannot help much but it looks if SS has not got write permission on its own directory.
Just something to think about until one of the apple experts chimes in :|

(Will not touch apples - look what happened to Snow White)

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 12:21 am
by dannamil
Thanks for the reply. Based on your suggestion, I tried the following:
- Repair Disk Permissions in the Disk Utility. No luck.
- Edited the 'Sharing & Permissions' under Subsonic Info - made sure all the users have Read & Write privilege. No luck.

Any other ideas?

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 12:52 am
by dannamil
An update - I plugged my external hard drive into the old machine - the Macbook Pro (also running Lion) and subsonic worked fine. I was able load the webpage and play media through the Standard Player.

I was able to get the Server Version Info: jetty-6.1.x, java 1.6.0_26, Mac OS X (36.9 MB / 81.1 MB)

I really appreciate it if you can help! Thanks.

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 1:58 am
by BKKKPewsey
Again as no apple users have yet chimed can you have a look at your subsonic log file

From Documentation/Installation
"Also check the logs in /Library/Application Support/Subsonic."

and see if that gives you a clue :?:

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 2:59 am
by dannamil
Well, you bring up one point that I've been confused about. I don't have a folder titled 'Subsonic' under /Library/Application Support/. I came across this many times in searching through forums but I can't find a folder on my machine. I checked with the old machine where subsonic does work and it also does not have said folder.

Here's the last few rows of my subsonic log file. As a novice, I have no idea what it means. It looks to be functioning properly to me, no?

8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at java.security.AccessController.doPrivileged(Native Method)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at net.sourceforge.subsonic.booter.Main.<init>(Main.java:16)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at net.sourceforge.subsonic.booter.Main.main(Main.java:24)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at java.lang.reflect.Method.invoke(Method.java:597)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at apple.launcher.LaunchRunner.run(LaunchRunner.java:116)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
8/20/11 6:35:09.871 PM [0x0-0xcb0cb].net.sourceforge.subsonic: at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
8/20/11 6:35:09.889 PM [0x0-0xcb0cb].net.sourceforge.subsonic: 2454 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
8/20/11 6:35:09.889 PM [0x0-0xcb0cb].net.sourceforge.subsonic: Subsonic running on: http://localhost:4040/

If this helps, here is a log of the Google Chrome when I try to access the Subsonic website:

8/20/11 7:50:32.160 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:50:32.160 PM [0x0-0xbc0bc].com.google.Chrome: 2011-08-20 19:50:32.159 Google Chrome Helper[1934:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:50:32.746 PM Google Chrome Helper: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
8/20/11 7:53:36.521 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:53:36.521 PM [0x0-0xbc0bc].com.google.Chrome: 2011-08-20 19:53:36.519 Google Chrome Helper[1954:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:53:36.733 PM Google Chrome Helper: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
8/20/11 7:54:26.943 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:54:26.944 PM [0x0-0xbc0bc].com.google.Chrome: 2011-08-20 19:54:26.942 Google Chrome Helper[1960:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:54:27.023 PM Google Chrome Helper: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
8/20/11 7:56:41.851 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:56:41.852 PM [0x0-0xbc0bc].com.google.Chrome: 2011-08-20 19:56:41.850 Google Chrome Helper[1984:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:56:43.142 PM Google Chrome Helper: Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.
8/20/11 7:56:43.142 PM [0x0-0xbc0bc].com.google.Chrome: 2011-08-20 19:56:43.141 Google Chrome Helper[1986:107] Unsure about the internals of CFAllocator but going to patch them anyway. Watch out for crashes inside of CFAllocatorAllocate.

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 3:07 am
by BKKKPewsey
so where is your log file then if not where the docs says it should be?

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sun Aug 21, 2011 3:15 am
by dannamil
I got these log file results from the 'Console' program on Mac. I don't know of another way to get them - ideas?. I have no idea why I don't have a folder in the Application Support area as the Subsonic documentation suggests.

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 2:18 am
by dannamil
OK, seems folks are losing interest in this issue. After pouring over numerous forum topics, I'm really at a loss about what to do. One discovery was I used the Open Port Check Tool (http://www.canyouseeme.org/) and typed in 4040 in the 'What Port' box. I got the following result:


Error: I could not see your service on 67.183.219.97 on port (4040)
Reason: Connection timed out

Could this be one of my problems?

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 2:25 am
by BKKKPewsey
Suggest you try changing the port to something else. Its possible something else on that computer is using that port.

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 2:36 am
by dannamil
OK, sorry but as I mentioned, I'm a newb. I edited the Info.plist file and change the port to 8080 (see below). still doesn't work - subsonic web app doesn't appear and port check tool still says it can't see 8080. Is there anything else I need to do? Is there something better than 8080?

<dict>
<key>subsonic.httpsPort</key>
<string>0</string>
<key>subsonic.port</key>
<string>8080</string>
<key>subsonic.war</key>
<string>Subsonic.app/Contents/Resources/subsonic.war</string>
<key>subsonic.defaultPodcastFolder</key>
<string>/Users/Shared/Podcasts</string>
<key>subsonic.contextPath</key>
<string>/</string>
<key>subsonic.defaultMusicFolder</key>
<string>/Users/Shared/Music/iTunes/iTunes Media</string>
<key>subsonic.home</key>
<string>/Library/Application Support/Subsonic</string>
<key>subsonic.defaultPlaylistFolder</key>
<string>/Users/Shared/Playlists</string>


Error: I could not see your service on 67.183.219.97 on port (8080)
Reason: No route to host

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 2:46 am
by BKKKPewsey
Again not being a mac user (unless its raining :) ) I dont know the details but I presume you did stop and restart SS after changing the port no. You could also try turning off your firewall to eliminate that from the equation.

edit: with regard to the port no you can use almost any port you like providing its not being used for something else. I use 12000 on mine cause I can remember it easy.

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 3:36 am
by dannamil
Yes, I stopped SS, changed the port, then restarted SS. The firewall is off. Urgh! any other ideas?

Re: Can't start Subsonic on new mac with Lion

PostPosted: Sat Aug 27, 2011 1:02 pm
by BKKKPewsey
Time to call in some mac users I think.
I am sure its something very simple but I cant help any further.
(You could go and buy a windows pc I could help then :lol: )