Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to create multiple icecasts

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Oct 27, 2009 7:37 pm    Post subject: How to create multiple icecasts Reply with quote

Hi,

Right, I have tried this but cannot work it out, I want to have 6 different icecast scripts running.

How exactly do I go about this? I cannot find a guide on how to do it.

Regards
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 27, 2009 9:12 pm    Post subject: Reply with quote

vague question, which script are you referring to and what does it do?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Oct 27, 2009 9:37 pm    Post subject: Reply with quote

just the main icecast script.

i have Version Icecast 2.3.2 installed.

I want to have 6 different icecast scripts running.

for 6 different things, all on different ports.

8010, 8020, 8030, 8040, 8050, 8060, for example. each port to have 1 stream each.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 27, 2009 9:50 pm    Post subject: Reply with quote

so you are using a distribution init.d script to start icecast. So you you need to copied it and change the xml referenced within it.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Oct 27, 2009 11:06 pm    Post subject: Reply with quote

Could you be more specific when you say copied it?

How exactly is this done?
Back to top
View user's profile Send private message
gazzagood



Joined: 03 Sep 2008
Posts: 42

PostPosted: Tue Oct 27, 2009 11:24 pm    Post subject: Reply with quote

Please let me know what parts i need to edit.

I have made a new xml called icecast3.xml, standard is just icecast.xml.

#! /bin/sh
### BEGIN INIT INFO
# Provides: icecast2
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts the icecast audio streaming server daemon
### END INIT INFO
#
# icecast2
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian
# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
# Further modified by Keegan Quinn <ice@thebasement.org>
# for use with Icecast 2
#

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/icecast2
NAME=icecast2
DESC=icecast2

test -x $DAEMON || exit 0

# Defaults
CONFIGFILE="/etc/icecast2/icecast.xml"
CONFIGDEFAULTFILE="/etc/default/icecast2"
USERID=icecast2
GROUPID=icecast
ENABLE="false"
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 28, 2009 12:17 am    Post subject: Reply with quote

copying a file can be done by the cp command. Obviously you'll want to keep one as it is already, and as you want to run another instance of icecast then you'll have to copy the startup script so that the new one refers to the new xml. Check the upstart/init documentation on the configuration files used (including /etc/init.d/ and /etc/rcN.d/ directories). While those files are not provided by us, they don't look especially difficult.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber