PDA

View Full Version : Sleeping shoutcast, why? Help


tiggertail
9th November 2004, 00:40
Hi

I'm running shoutcast in my own server on linux. I have already ran it so many times without errors like this one, "Sleeping". Hope you can help me.

This is what i got when i ran ./sc_serv:

********************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************

Event log:
<11/08/04@20:32:09> [SHOUTcast] DNAS/Linux v1.9.4 (Mar 17 2004) starting up...
<11/08/04@20:32:09> [main] pid: 30546
<11/08/04@20:32:09> [main] loaded config from sc_serv.conf
<11/08/04@20:32:09> [main] initializing (usermax:200 portbase:8000)...
<11/08/04@20:32:09> [main] No ban file found (sc_serv.ban)
<11/08/04@20:32:09> [main] No rip file found (sc_serv.rip)
<11/08/04@20:32:09> [main] opening source socket
<11/08/04@20:32:09> [main] source thread starting
<11/08/04@20:32:09> [main] opening client socket
<11/08/04@20:32:09> [source] listening for connection on port 8001
<11/08/04@20:32:09> [main] Client Stream thread [0] starting
<11/08/04@20:32:09> [main] client main thread starting
<11/08/04@20:32:26> [sleeping] 0 listeners (0 unique)

Ok, DSP is everything fine, with address, port and password. When i tried to connect for broadcast i can't, it freezes connecting without any answer in DSP for Winamp and SAM2. Like i said, the config and dsps are correct, because i could stream after this error.

Also i tried to enter to my usual url for streaming in iexplorer and got "not found" error.

How do i solved "Sleeping" in order to begin streaming as soon as posible?

So many thanks in advance!

MegaRock
9th November 2004, 01:30
You are not sending a source stream to it.

"<11/08/04@20:32:09> [source] listening for connection on port 8001"

The server will 'sleep' until a source connection is present. But irregardless you should still be able to access the DNAS through port 8000.

Did you set your DNAS to only respond on a set IP in the lines SrcIP and DestIP? If you did and the IP changed this can cause an unresponsive DNAS. Honestly I'm seeing nothing in the log above that would indicate any problem.

tiggertail
9th November 2004, 01:40
Hi

Thanks for your time.

The weird thing is i tried to connect from DSP Winamp and SAM2, with everything correct and i got the same, can't connect. And, i also can't see the default page from the main url (http://misyte.com:8000), i got "can't be found".

Yes, SrcIP and DestIP = ANY. Both.

Like i said before, this happend suddenly, one day to other. This could be a block from my hosting or something like that?.

Help me please to solve it as soon as posible. Thanks in advance.

tiggertail
9th November 2004, 10:09
Hi...

Please, anyone can help me. My station is dead and i need it online as soon as possible. >_<

tiggertail
9th November 2004, 16:34
Hi

Again, anyone can help me to take this problem out?. Please!!!

Thanks in advance.

MegaRock
9th November 2004, 16:37
Are your server and the Winamp/DSP combo on the same PC?

tiggertail
9th November 2004, 16:43
Hi.

Thanks for your time!!.

No, i have my own server running under linux, and i send the streaming from my pc to the server. Like i said before, everything was fine, but since one day to other gave me "Sleeping error".

Thanks for all your help!!.

MegaRock
9th November 2004, 16:50
Is the Linux server located at the same location as the PC or is it at a seperate location?

Have you tried a ping and traceroute to the Linux server to make sure you are able to properly send data to it?

Have someone else try the DNAS's link to see if they are able to access it. Generally if you can't load the DNAS status/admin page the problem is with the DNAS or the server hosting it.

tiggertail
9th November 2004, 16:55
Hi.

No, it's from hosting that gave me SSH/Telnet access to it. Yes, i already made ping with MS-DOS emulator in Windows XP and i recieved everything fine on screen.

No, my staff neither connect nor i, since that "sleeping error".

Could be a block for recieve and send data from my hosting?

Thanks in advance. Again.

MegaRock
9th November 2004, 17:01
It is possible. Depending on the host there could be a firewall in place that only has certian ports open. I would check the sc_serv.log file on the server to see if it's communicating with the outside world. If it is unable to you will definately find errors in the log file.

If there are errors see what they say as it may lead you to the problem. My guess is your local setup (DSP/Winamp) is fine and the issue lies at the server end.

tiggertail
9th November 2004, 17:08
Hi.

This is what i got:

<11/09/04@00:36:20> [SHOUTcast] DNAS/Linux v1.9.4 (Mar 17 2004) starting up...
<11/09/04@00:36:20> [main] pid: 6830
<11/09/04@00:36:20> [main] loaded config from sc_serv.conf
<11/09/04@00:36:20> [main] initializing (usermax:200 portbase:8000)...
<11/09/04@00:36:20> [main] No ban file found (sc_serv.ban)
<11/09/04@00:36:20> [main] No rip file found (sc_serv.rip)
<11/09/04@00:36:20> [main] opening source socket
<11/09/04@00:36:20> [main] source thread starting
<11/09/04@00:36:20> [main] opening client socket
<11/09/04@00:36:20> [source] listening for connection on port 8001
<11/09/04@00:36:20> [main] Client Stream thread [0] starting
<11/09/04@00:36:20> [main] client main thread starting
<11/09/04@00:36:53> [main] SIGINT; exiting!

Can you add me to your MSN in order to test it out? edit...

I'm online in MSN right now...

Thanks again MegaRock.

MegaRock
9th November 2004, 17:21
<11/09/04@00:36:53> [main] SIGINT; exiting!

Something is causing the DNAS to shut down. I've seen this error before but can't recall a solution for it.

You might want to change the SrcIP and DestIP to the IP you have assigned to the server. Also make sure you are logged in as ROOT when you execute the server and see if that makes a difference.

Sorry, I don't have MSN on this system, only ICQ.

tiggertail
9th November 2004, 17:25
Hi.

Thanks, i ask to my hosting change some settings in ports and it's solved. MegaRock, thanks for all your help and time to read and answer this posts.

Thanks again buddy!!.

MegaRock
9th November 2004, 17:30
No problem, glad to hear you got it up.