I am trying to run two slimserver on one linux server using virutal ip
addresses. This is working well but the slimserver discovery is not
working, so the servers don't appear in the setup menu on my
squeezeboxes or in softsqueeze.

I have been living with this for a couple of weeks, but now need it to
work so I can look at bug 3591!

I'm using the following script to start the slimserver:

Code:
--------------------
    
  #!/bin/sh
  
  SLIMSERVER_HOME='/home/richard/slimserver-svn/BRANCH_6_3_x/server'
  SLIMSERVER_BIN="${SLIMSERVER_HOME}/slimserver.pl"
  SLIMSERVER_CFG='/home/richard/slimserver-svn/branch_6_3_x.pref'
  SLIMSERVER_USER='richard'
  
  IP='10.1.1.11'
  SLIMSERVER_ARGS="--prefsfile=${SLIMSERVER_CFG} 
  --httpaddr=${IP} --cliaddr=${IP} --playeraddr=${IP} --streamaddr=${IP}"
  
  export LC_CTYPE=en_GB.UTF-8
  export HOME='/home/richard/slimserver-svn'
  
  [ -x $SLIMSERVER_BIN -a -f $SLIMSERVER_CFG ] || exit 5
  
  cd $SLIMSERVER_HOME
  /usr/local/bin/perl $SLIMSERVER_BIN $SLIMSERVER_ARGS $SLIMSERVER_DEBUG 2>&1
  
--------------------


The slimserver discovery works by broadcasting a udp packet on port
3483. Using tcpdump I can see this broadcast packet arriving at the
network interface, but no response from the slimserver. netstat shows
the slimserver is listening on this port. I've added some debug to the
slimserver and it is not receiving the packet.

So it looks like the packet is not been routed to the slimserver, but I
cannot work out why. I've disabled iptables while debugging this. The
server is running centos3, with kernel 2.4.21.

It also works fine if I don't specify the --playeraddr in the sript.
Anyone have any ideas?

Cheers,
Richard


-- 
rtitmuss
------------------------------------------------------------------------
rtitmuss's Profile: http://forums.slimdevices.com/member.php?userid=36
View this thread: http://forums.slimdevices.com/showthread.php?t=24881

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to