Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 4th November 2011, 06:00   #1
plusgforce
Junior Member
 
Join Date: Nov 2011
Posts: 1
Error resolving stream host [waiting 30s]

I've been fighting with shoutcast for a few days with no luck. As you can
see below I get an "Error resolving stream host". Could you please help me?
Thanks. I am also running an Apache web server at /var/www and I have shoutcast
sitting in /var/www/radio.

2011-11-03 22:57:53 I msg:** SHOUTcast Distributed Network Audio Server (DNAS)
2011-11-03 22:57:53 I msg:** Copyright (C) 1999-2011 Nullsoft, Inc. All Rights Reserved.
2011-11-03 22:57:53 I msg:** Use "sc_serv filename.conf" to specify a config file.
2011-11-03 22:57:53 I msg:***************************************************************
2011-11-03 22:57:53 I msg:[SHOUTcast] DNAS/posix(linux x86) v2.0.0.29 (Jul 31 2011) starting up...
2011-11-03 22:57:53 I msg:[MAIN] PID: 31768
2011-11-03 22:57:53 I msg:
...
2011-11-03 22:58:01 I msg:[MAIN] Logger updating log file to use
2011-11-03 22:58:01 I msg:[MAIN] Loaded config from ./sc_serv_simple.conf
2011-11-03 22:58:01 I msg:[MAIN] Calculated CPU count is 2
2011-11-03 22:58:01 I msg:[MAIN] Starting 2 network threads
2011-11-03 22:58:01 I msg:[MICROSERVER] Listening for connection on port 8000
2011-11-03 22:58:01 I msg:[MICROSERVER] Listening for connection on port 8001
------------------------------------------------------------------------------------------------------------------

2011-11-03 22:58:19 I msg:***************************************************************
2011-11-03 22:58:19 I msg:[MAIN] TRANSCast/posix(linux x86) v2.0.0.54 (Oct 7 2011) starting...
2011-11-03 22:58:19 I msg:[MAIN] PID: 31774
2011-11-03 22:58:19 I msg:[MAIN] Loaded config from sc_trans_simple.conf
2011-11-03 22:58:19 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2011-11-03 22:58:19 I msg:[VUPUSH] 101 VU images loaded for left channel
2011-11-03 22:58:19 I msg:[VUPUSH] 101 VU images loaded for right channel
2011-11-03 22:58:19 I msg:[PLAYLISTMGR] Playlist load from file playlists/playlist.lst
2011-11-03 22:58:19 I msg:[PLAYLISTMGR] Caching playlist playlists/playlist.lst
2011-11-03 22:58:19 I msg:[PLAYLISTMGR] Load complete
2011-11-03 22:58:19 I msg:[MAIN] Streaming thread starting
2011-11-03 22:58:19 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2011-11-03 22:58:19 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2011-11-03 22:58:19 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2011-11-03 22:58:19 I msg:[MAIN] Playlist decoder thread starting
2011-11-03 22:58:19 I msg:[DECODE] Giving replay gain calculator a head start
2011-11-03 22:58:19 I msg:[RGCALC] Thread running
2011-11-03 22:58:19 I msg:[DECODE] Begin decoding
2011-11-03 22:58:19 I msg:[DECODE] Next file is /var/www/radio/playlists/song1.mp3
2011-11-03 22:58:19 I msg:[STREAM] 15121178 Giving replay gain calculator a head start
2011-11-03 22:58:19 I msg:[STREAM] 15121178 Running
2011-11-03 22:58:19 I msg:[STREAM] 15121178 Creating stream socket
2011-11-03 22:58:19 I msg:[STREAM] 15121178 Resolving stream host
2011-11-03 22:58:19 I msg:[SOURCERELAY] Thread starting
2011-11-03 22:58:19 I msg:[AAC] AAC setup complete

2011-11-03 22:58:19 W msg:[STREAM] 15121178 Error resolving stream host [waiting 30s]

2011-11-03 22:58:23 I msg:[SHOUTCASTMETADATA] Metadata string [..... ....... - ... ..... ..]
2011-11-03 22:58:23 I msg:[SHOUTCASTMETADATA] Sending metadata
2011-11-03 22:58:23 E msg:[SHOUTCASTMETADATA] waitToSend - sendTitle Could not resolve SHOUTcast server address:
2011-11-03 22:58:28 I msg:[SHOUTCASTMETADATA] Metadata string [..... ....... - ... ..... ..]

****************** sc_serv_simple.conf *********************
; NOTE: for any relative paths specified are relative to
; sc_serv and not to where the conf file is being stored

; here we will setup where the log and other related files
; will be stored. make sure that these folders exist else
; sc_serv will throw an error and will close itself down.
; we will make the logs save to the sc_serv2 directory
logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip


; the following will force any sources to be public which
; allows us to then connect and be listed on the YP
publicserver=never


; password used by sc_trans or the Winamp DSP plug-in
; NOTE: remember to change this to something else
password=remember


; password used for accessing the administation pages
; NOTE: remember to change this to something else
adminpassword=123456


; as we are going to connect to the YP then we need to fill
; in the required options so we can authenticate to the YP2
; see sc_serv.txt - section 3.0 for details on getting this
;
; make sure that you completely replace the string
; <enter_your_auth_key_here> with the authorisation key you
; obtained when registering the stream for the SHOUTcast YP
; e.g. if you auth hash key is 12345 then the line would be
; streamauthhash=12345
;streamauthhash=<enter_your_auth_key_here>

-----------------------------------------------------------------
************** sc_trans_simple.conf *******************

; NOTE: for any relative paths specified are relative to
; sc_trans and not to where the conf file is being stored


; we use this to use certain configuration options from the
; server file (assuming it is already configured correctly)
; instead of having to re-enter the details again in here
inheritconfig=sc_serv_simple.conf


; here we will setup where the log and other related files
; will be stored. make sure that these folders exist else
; sc_trans will throw an error and will close itself down.
logfile=logs/sc_trans.log


; for testing we will only setup a single encoder though it
; is easy to add in additional encoder configurations and
; we are using an aac plus encoder as the default due to
; the licensing requirements for mp3 encoding as detailed
; in sc_trans.txt - section 2.5).
encoder_1=aacp
bitrate_1=56000


; here you would provide any information to fill in details
; provided to clients about the stream. it us upto you what
; is entered though do not do anything which will annoy, etc
streamtitle=Phils radio Server
streamurl=http://127.0.0.1
genre=Misc
;streamurl=http://127.0.0.1/radio

; here we specify a playlist to use as the master list from
; which to play files from.
playlistfile=playlists/playlist.lst


; these options will allow you access the admin interfaces
; of sc_trans though also allows the 'testui' example to be
; accessed. remember to change the password, etc as needed
adminport=7000
adminuser=admin
adminpassword=123456

serverip=127.0.0.1
;serverip=127.0.0.1/radio
serverport=8000
streamid=1
outprotocol=3
password=remember
plusgforce is offline   Reply With Quote
 
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump