View Single Post
Old 8th September 2020, 23:03   #21
planetjoin
Junior Member
 
Join Date: Sep 2020
Posts: 1
Hello

Sorry to re-open this old post
It helps me a LOT, but i´m having some issues
I´m using : Shoutcast Server v2.6.0.753/posix(linux x64)

I have 2 files :

1 - sc_trans.conf with this content:

Quote:
streamtitle=NAMEOFSERVICE
streamurl=streaming.mydomain.com (#of course with my domain)
genre=Misc
inheritconfig=sc_serv.conf
logfile=sc_trans.log
playlistfile=playlist.lst
shuffle=0
serverport=8000
playlists=playlist/
archive=archived/
calendarfile=calendar.xml
calendarrewrite=0
outprotocol=3
autodumptime=0

2 - sc_serv.conf with this content:

Quote:
password=*mypass*
adminpassword=*mypass*
requirestreamconfigs=1
logfile=sc_serv.log
w3clog=sc_w3c.log
banfile=sc_serv.ban
ripfile=sc_serv.rip
maxuser=1024

streamid_1=1
streammaxuser_1=256
streampassword_1=*stream1pass*
streamadminpassword_1=*stream1pass*

streamid_2=2
streammaxuser_2=256
streampassword_2=*stream2pass*
streamadminpassword_2=*stream2pass*
When i run the file : cs_serv
I have this error :
2020-09-08 16:57:38 ERROR [MICROSERVER] Error opening port 8000 because could not bind to 8000 because address already in use
2020-09-08 16:57:38 INFO [MAIN] Shutdown

Running netstat -tulpn | grep LISTEN
I get :
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 21953/./sc_serv
tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN 21953/./sc_serv


Apparently, even with that error, the streams works fine connecting to streaming.mydomain.com:8000
I have a radio station running under stream1 that is working fine.
But when i try to stream using the stream#2 thru winamp DSP shoutcast plugin, i login perfect with stream#2 password and begins to play (also i can hear the music on the web payer too), but the stream runs 10 seconds (EXACTLY 10 seconds) , and disconnect, reconnect, runs 10 seconds, and disconnect, continuosly (meanwhile the stream#1 works perfect without disconnect)

You have any clue about this?
Could be because both streams runs under port 8000 ?

Thanks in advance for any help
Fabian
planetjoin is offline   Reply With Quote