Squeezecenter not working

Got problems with your B2 or B3? Share and get helped!
Post Reply
lux
Posts: 3
Joined: 31 Dec 2008, 18:33

Squeezecenter not working

Post by lux » 31 Dec 2008, 18:39

Having a bit of trouble with squeezecenter -- got the update installed and installed/checked squeezecenter streaming.

However, I can't connect at http://bubba:9000/ and my squeezebox doesn't see the bubba.

running top shows that squeezecenter is definitely running:

3236 squeezec 20 0 69980 53m 4064 R 20.8 21.3 1:28.18 squeezecenter-s
3259 squeezec 20 0 65940 53m 3988 R 20.8 21.2 1:11.12 squeezecenter-s
3291 squeezec 20 0 48204 35m 3900 R 20.8 14.3 0:21.70 squeezecenter-s
3294 squeezec 20 0 25636 15m 3248 R 20.8 6.1 0:07.52 squeezecenter-s
3296 root 20 0 2972 1172 916 R 5.9 0.5 0:00.10 top

and hitting /etc/init.d/squeezecenter restart

seems to indeed restart the server.

Yet nothing on the network can connect to it, which has me puzzled (and yes I can connect to the bubba admin in the browser and through ssh).

Anyone have any ideas?

Hape
Posts: 53
Joined: 01 Nov 2008, 11:21

Post by Hape » 31 Dec 2008, 20:48

A few suggestions:

In my case, TOP only shows ONE line for SqueezeCenter!

6429 squeezec 20 0 101m 84m 5112 S 11.0 33.8 279:50.32 squeezecenter-s

If your list is actually showing 4 lines at once, there might be something funny happening.
(I did a complete reboot of Bubba after installing SqueezeCenter)
Here it took a few minutes for SqueezeCenter to start responding (@ port 9000) after reboot/start.

If indeed more instances of SC are running, they might fight for ownership of port 9000?


Try connecting to http://IP.OF.YR.BUBBA:9000 (eg http://192.168.1.1:9000) and not to
http://bubba:9000

Use the LAN port, not the WAN port (probably you do, but just in case)

Log into yr Bubba (ssh / su) and check with

Code: Select all

netstat -l
and see if Bubba IS listening by finding the line: tcp 0 0 *:9000 *:* LISTEN


You might even want to do a portscan on the bubba from any workstation to discover IF Bubba is actually listening on port 9000 and not being blocked by any firewall/switch/hub


If you DO use wireless LAN, please note that some WiFi routers CAN prohibit traffic between WLAN stations ("WLAN stations may communicate with each other?"


Thats what I came up with quickly before getting some sleep (the first this year!!)

rgds

Hape

lux
Posts: 3
Joined: 31 Dec 2008, 18:33

Post by lux » 01 Jan 2009, 11:59

Hape-

Thank for the feedback
If your list is actually showing 4 lines at once, there might be something funny happening.
(I did a complete reboot of Bubba after installing SqueezeCenter)
Here it took a few minutes for SqueezeCenter to start responding (@ port 9000) after reboot/start.
I thought that was weird too, but I can't figure out where the problem is...

I've rebooted the bubba several times to no avail, and I tried killing all the squeezeserver processes both by stopping squeezeserver and by doing kill pid (actually even kill -9 pid), but in both cases top shows new processes spawning immediately.

I also ran netstat and indeed there is no squeezeserver (or any other process) listening on port 9000, which explains the problem, but I'm still at a lose as to how to solve it.

I'm considering just wiping the drive and reloading the image to start from scratch. somehow that seems faster than trying to debug the current situation. Unless someone has seen this before and knows of a fix.

carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl » 01 Jan 2009, 12:19

Does /var/log/squeezecenter/server.log tell you anything useful?

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com

lux
Posts: 3
Joined: 31 Dec 2008, 18:33

Post by lux » 02 Jan 2009, 16:20

Well, the logs revealed that at some point I installed (or tried anyway) slimserver from source, which is where the extra instances were coming from I suppose.

In the end I decided to just wipe my bubba and start over. Which went off without a hitch and now I've got squeezecenter installed and running and everything is fine.

Might be a good example of hitting a fly with a sledge hammer, but it did work.

Thanks to everyone for their assistance.

cheers

Post Reply