Philipp Schafft
2012-Oct-01 14:37 UTC
[Icecast] multiple icecast server instances on debian system
reflum, On Mon, 2012-10-01 at 17:19 +0100, tzara wrote:> hello, > > i am trying to have multiple server instances on different ports on the > same debian server.This by itself sounds wrong. You can bind the same icecast to multiple listen addresses (-> multipe ports). Is there any specific reason you don't do it this way?> i thought if i had (along side the standard server files): > > /etc/icecast2/icecast+.xml config file (with changed port number) > /etc/default/icecast+ pointing to new config file > new log files with 777 permissions (for the sake of testing)Setting permissions to 0777 anywhere on the systems is a *VERY BAD* idea. I would wrote for OS and software refusing to work in such a case. -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 482 bytes Desc: This is a digitally signed message part URL: <http://lists.xiph.org/pipermail/icecast/attachments/20121001/3bb839c3/attachment.sig>
hello, i am trying to have multiple server instances on different ports on the same debian server. i thought if i had (along side the standard server files): /etc/icecast2/icecast+.xml config file (with changed port number) /etc/default/icecast+ pointing to new config file new log files with 777 permissions (for the sake of testing) and an /etc/init.d/icecast2+ file to start it all up then it would all work ok but no it doesnt work: so then i thought i maybe need new web and admin dirs in /usr/share/icecast2.... then i would need new symlinks etc. - so its starts to get messy... so before i start making this mess, i ask here... am i going about this the wrong way? (/usr/share/icecast2) % sudo /etc/init.d/icecast2 start Starting icecast2: Starting icecast2 Detaching from the console icecast2. (/usr/share/icecast2) % sudo /etc/init.d/icecast2+ start Starting icecast2+: zsh: exit 1 sudo /etc/init.d/icecast2+ start or: (/usr/share/icecast2) % /usr/bin/icecast2 -b -c /etc/icecast2/icecast+.xml Starting icecast2 Detaching from the console (/usr/share/icecast2) % but no second instance, could be some file permission or ownership tweek i have missed or could be i am going about it all the wrong way are there some docs about this somewhere? i imagined it might be a common thing that people might want to do... any ideas welcome! thanks rob
On Mon, 01 Oct 2012 16:37:04 +0200, Philipp Schafft wrote:> reflum, > > On Mon, 2012-10-01 at 17:19 +0100, tzara wrote: >> hello, >> >> i am trying to have multiple server instances on different ports on >> the >> same debian server. > > This by itself sounds wrong. > You can bind the same icecast to multiple listen addresses (-> > multipe > ports). > > Is there any specific reason you don't do it this way?yes, i am running a relay of many streams of variable quantity, so i cannot always rely on a source slot being available for my own uses - so i want another instance on another port for my own use. i dont want to simply raise the max sources as it will just fill up and i only want to offer a relay of the amount of streams limited by my config.> > >> i thought if i had (along side the standard server files): >> >> /etc/icecast2/icecast+.xml config file (with changed port number) >> /etc/default/icecast+ pointing to new config file >> new log files with 777 permissions (for the sake of testing) > > Setting permissions to 0777 anywhere on the systems is a *VERY BAD* > idea. I would wrote for OS and software refusing to work in such a > case.ok fair enough... consider my wrists slapped ... like i say momentary perms for test. but yeah i am a dirty security risk taker ... i hang my head in shame. cheers rob
Maybe Matching Threads
- multiple icecast server instances on debian system
- multiple icecast server instances on debian system
- EROR connection/wait_for_serversock signalfd descriptor became invalid
- EROR connection/wait_for_serversock signalfd descriptor became invalid
- Protect Icecast Admin/Run on different port?