Help needet with 2 ore more instances of Steamcast on Linux
-
- Posts: 1
- Joined: Fri Mar 14, 2008 4:23 am
Help needet with 2 ore more instances of Steamcast on Linux
Hi all
i cant start 2 ore more instances of steamcast. i build this startscript but it wont work:
If i Try the following will happen
I would like to run 2 ore more instances of steamcast but loading the right Configfile for each port will not. I dont want to use multiple mountpoint
I will create own Servers on the following ports: 8000,8010,8020,8030,8888,8050,9000,9050
Please Help me.
i cant start 2 ore more instances of steamcast. i build this startscript but it wont work:
Code: Select all
#!/bin/sh
### BEGIN INIT INFO
# Provides: _steamcast1
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 5
# Description:
### END INIT INFO
. /etc/rc.status
rc_reset
#!/bin/sh
PROG=/srv/steamcast/steamcast
PARAMETER1="/srv/steamcast/steamcast12000.conf"
case "$1" in
'start')
echo "Starting Steamcast Server on Port 12000";
$PROG $PARAMETER1
echo "$!" > /srv/steamcast/steamcast12000.pid
;;
'stop')
echo "Stopping Steamcast Server on Port 12000";
#! /bin/bash
kill `cat /srv/steamcast/steamcast12000.pid`
;;
'restart')
$0 stop && $0 start || exit 1
;;
status)
echo -n "Shoutcast Server Port ´8000 is : " && \
checkproc $PROG $PARAMETER1
rc_status -v
;;
*)
echo "Usage: $0 { start | restart | status | stop }"
exit 1
;;
esac
exit 0
Code: Select all
Starting Steamcast Server on Port 12000
/**************************************************/
/** Steamcast Distributed Network Multimedia Server/0.9.75 beta (Linux)
/** Written by: Jay Krivanek
/** /
/** NOTE:Use of this program indicates that you
/** have agreed to the license contained in the
/** README.txt file.
/**************************************************/
Event Log:
<03/14/2008@10:30:10> [serv] WARNING: /srv/steamcast/steamcast.conf could not be loaded
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] WARNING: mime.types could not be loaded, mime types will not be loaded.
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] WARNING: steamcast.vip could not be loaded, no vips will be loaded
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] WARNING: steamcast.ban could not be loaded, no bans will be loaded
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] PID: 18880
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] Error Initializing Client Port, unable to bind to ANY:8000
<Status> Sources: 0 Nodes: 0 (Unique: 0) Tx: 0.00 bps<->0.00 bps
<03/14/2008@10:30:10> [serv] Listening to ANY:8001 for incoming source connections...
<03/14/2008@10:30:10> [serv] Source Thread Shutting Down
<03/14/2008@10:30:10> [serv] Listening to 8000 for incoming stat connections...
<03/14/2008@10:30:10> [serv] closing
<03/14/2008@10:30:20> [serv] Server Shutdown complete.
I will create own Servers on the following ports: 8000,8010,8020,8030,8888,8050,9000,9050
Please Help me.