![]() |
#1 |
Join Date: Sep 2003
Posts: 27,873
|
SHOUTcast DNAS 2.2.1 (Build 109) 11/29/2013
This build is our (much delayed) update and introduces new features as listed in the “Changes” section below, as well as addresses bugs reported in the previous build. It is recommended where possible to update to this build over any previous v2.0 builds due to the stability and other compatibility improvements it provides.
This release is now available for the following platforms:
Downloads You can download the updated version of the DNAS v2 from the direct downloads for the operating system version you require:
Changes Build 109 (11/29/2013):
Getting Started If you already have a running instance of the DNAS v2 then there should not be any issues with replacing your current version with this new version. If this is a new install then make sure to read through the information in 'Readme_DNAS_Server.html' and the related documentation as well as considering using the setup mode which should make it easier to get started over all prior v2.0 builds (and v1 based releases). Finally, all current copies of the documentation are included with the installer / archive and is the recommended point of reference for this release. The information found online at http://wiki.winamp.com/wiki/SHOUTcast_Broadcaster for the DNAS server only relates to the previous v2.0 (build 29) release. Reporting Issues If you do come across an issue with the DNAS v2, then please do post in this thread with as much information as possible about what you're doing at the time, the system you are using and anything else which will make it easier to understand what is or isn't going on with your install. Posts relating to authhash management issues will be ignored as this is not the thread for posting such issues. Known Issues The following are known issues with the v2 DNAS raised in previous releases but not currently fixed / fully confirmed as needing to be fixed (i.e. intended behaviour):
Additional Information Windows versions of the DNAS v2 are built with a dependency against the Microsoft Visual C++ 2008 SP1 Redistributable Package. If sc_serv is unable to start due to a dependency issue then you will need to install the correct version of the package so it can run which depends on the version of sc_serv you are attempting to run: 32-bit - http://www.microsoft.com/en-us/downl...s.aspx?id=5582 64-bit - http://www.microsoft.com/en-us/downl...s.aspx?id=2092 Discussion about the previous version of the server including changelogs can be found in the following threads |
![]() |
![]() |
#2 |
Join Date: Sep 2003
Posts: 27,873
|
this is now up on the main download servers, interpret that as you may
![]() due to timings of things, this build is unlikely to help with milosz's issue (as noted at the end of the 2.2 discussion thread) and i'll be following up on that over the weekend. there is also an expected YP update (likely this weekend) which will help to resolve the remnants of the now deprecated 'useicy' option to better cope with it's replacement being enabled (though a YP update which mitigates against the main issue caused by that option is already deployed in combination with the changes made in this new build). |
![]() |
![]() |
#3 |
Forum King
|
DrO,
![]() will SC and YP exist / be developed after Dec 20? EDIT: also, is the auth-hash part all automated now? I forget what my stations auth tags are, does that matter? is this something I need to sort out now for the future? PENN STATE Radio or http://www.LION-Radio.org/ -- BUG #1 = Winamp skips short tracks Wish #1 = Multiple Column Sorting Wish #2 = Add TCMP/Compilation editing |
![]() |
![]() |
#4 |
Senior Member
Join Date: Feb 2011
Posts: 377
|
Fuck yea!
|
![]() |
![]() |
#5 |
Join Date: Sep 2003
Posts: 27,873
|
main page has now been updated with the v2.2.1 release and have also now prodced a Mac OS X build so that's everything from the v2.0 release with a v2.2.1 update (in addition to the new Raspbian compile).
|
![]() |
![]() |
#6 |
Junior Member
Join Date: Dec 2009
Posts: 6
|
I'm using this current build for my shoutcast server and every time I put in my url in winamp or download the pls file to connect to my server it doesn't want to take the port I have my shoutcast running on.
I am always returned with a port 0. My shoutcast server is on http://bahamut.stelth2000inc.com:8005 and no matter what format I try to play my stream as, it's wanting to use http://bahamut.stelth2000inc.com:0 and I cannot figure out why. This is my current config: ; Banning banfile=/home/shoutcast/shoutcast2.0/.logs/sc_serv.ban savebanlistonexit=1 ; Client Behavior maxuser=32 listenertime=0 autodumpusers=0 srcip=any destip=http://bahamut.stelth2000inc.com titleformat=S2I Radio: %s ;urlformat=http://www.server.com/redirect.cgi?url=%s ; Debugging yp2debug=1 uvox2sourcedebug=0 shoutcast2clientdebug=1 relayuvoxdebug=0 relaydebug=0 streamdatadebug=0 httpstyledebug=0 statsdebug=0 microserverdebug=0 threadrunnerdebug=0 flashpolicyserverdebug=0 webclientdebug=0 ; Flash Policy Server flashpolicyfile=/home/shoutcast/shoutcast2.0/crossdomain.xml flashpolicyserverport=0 ; Introduction & Backup Files ;introfile=c:\intro%d.mp3 ;backupfile=c:\intro%d.mp3 maxspecialfilesize=30000000 ; Logging log=1 screenlog=1 logfile=/home/shoutcast/shoutcast2.0/.logs/sc_serv.log logrotates=5 logarchive=0 logclients=1 ; Miscellaneous configrewrite=1 cpucount=0 unique=$ include= admincssfile=v2 faviconfile= faviconmimetype=image/x-icon robotstxtfile= metainterval=8192 uvoxcipherkey=xxxxxx ; Networking namelookups=1 portbase=8005 autodumpsourcetime=30 maxheaderlinesize=4096 maxheaderlinecount=100 adminpassword=xxxxxx password=xxxxxx disableicy=1 ; Network Buffers buffertype=1 adaptivebuffersize=5 fixedbuffersize=1048576 bufferhardlimit=16777216 ; Relaying allowrelay=0 allowpublicrelay=0 relayreconnecttime=0 relayconnectretries=0 maxhttpredirects=5 ; Reserved List riponly=0 ripfile=/home/shoutcast/shoutcast2.0/.logs/sc_serv.rip saveriplistonexit=1 ; Stream Configuration requirestreamconfigs=0 maxbitrate= streamid_1=1 streamauthhash_1=xxxxxxxxxxx ;streamid_2=2 ;streamauthhash_2=xxxxxxxxxxx ; Web Connection Logging w3cenable=1 w3clog=/home/shoutcast/shoutcast2.0/.logs/sc_w3c.log ; YP Server Behavior ypaddr=yp.shoutcast.com ypport=80 yppath=/yp2 yptimeout=30 ypmaxretries=10 ypreportinterval=300 ypminreportinterval=10 publicserver=default autoauthhash=1 ; Statistics hidestats= redirecturl= songhistory=20 |
![]() |
![]() |
#7 |
Junior Member
Join Date: Nov 2010
Posts: 14
|
Bug report for this version:
- in the admin login area, even though the server reports 50 listeners, I get the details (player, IP, listening time) of only 13 of them. The rest of the 37 are hidden somewhere because the server doesn't show them. - even though I have 50 listeners, on the public shoutcast directory I never see more than 39 even though the now playing is always updating. Maybe the YP needs to report the listener number more often, just like it does with the now playing. - if there is a power failiure, when the server starts automatically I always need to setup a authhash to be listed on the directory. This is embarrasing because I don't always know when there's a power failiure and the server may run in private mode for a long time without even knowing it. I hope there will be at least a quick beta release to fix all these bugs. |
![]() |
![]() |
#8 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
a suggestion ... set up authhash, restart DNAS manually ...
"If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#9 |
Junior Member
Join Date: Nov 2010
Posts: 14
|
I already did that, but the authhash is resetting along with the server. Is there any other way to reset a shoutcast server on a linux box except the kill commamd? I don't know any other one. If there isn't another way of doing it, I believe the authhash problem is a bug and needs to be ironed out.
|
![]() |
![]() |
#10 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,290
|
I would think if authhash management didn't work as advertised there would be MANY people screaming about it
have you read http://forums.winamp.com/showthread....79532#remember "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#11 |
Junior Member
Join Date: Nov 2010
Posts: 14
|
Didn't read it, but thanks for the link. I will investigate further.
P.S. Today I had my PC fixed and accesed the admin of my server from Firefox. Everything looks fine from here. It looks like the first bug I posted HERE occurs only in Dolphin browser for Andoid. Sorry for the false alarm. But... maybe this will help to make the interface compatible with Android browsers for those who access it on the go from mobile / tablet. |
![]() |
![]() |
#12 | |
Join Date: Sep 2003
Posts: 27,873
|
Quote:
|
|
![]() |
![]() |
#13 |
Junior Member
|
Sometimes the server generates invalid JSON in viewjson:
code: |
![]() |
![]() |
#14 |
Junior Member
Join Date: Feb 2014
Posts: 1
|
Can anyone fix this problem?
The download files are in error for uncompress.
Can anyone fix this problem? Erroe: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now |
![]() |
![]() |
#15 |
Junior Member
Join Date: Feb 2014
Posts: 3
|
|
![]() |
![]() |
#16 |
Join Date: Sep 2003
Posts: 27,873
|
error in what way? as i've just tried it and they're working ok.
ThiefMaster: thanks for reporting that typo issue. |
![]() |
![]() |
#17 |
Junior Member
Join Date: Feb 2014
Posts: 4
|
Hi everyone! Current version on my radio is (SHOUTcast Server v2.0.0.29/win32)
Im trying version SHOUTcast DNAS 2.2.1 (Build 109) 11/29/2013. It's great update! But... I cant use this version because i have always error 480 in YP. In config: destip=10.0.0.15 - this is ip in my local network with NAT. All ports avalible. (version 2.0.0.29 works well about 3 years). But 2.2.1 version is sayed in log (480 error) that YP can't connect to 10.0.0.15. It's realy true... It impossible. But WHY this version send to YP this addres??? For clients play list is sending right externall adress. In this configuration all works well (externall clients can listen and web avalible), exept YP. I cant set anothet dst-ip. When i set it to my external ip, shoutcast fully not work, bcause there are no external ip on any interface on my machine. Do you can fix this? Im like new version! But i cant still use it. ![]() Thanks. |
![]() |
![]() |
#18 |
Join Date: Sep 2003
Posts: 27,873
|
it's happening because the destip handling was fixed in v2.2.x so it's actually provided to the YP. that was not the case with v2.0 and was what was meant to have been done but wasn't i.e. it was a bug in v2.0.
from what you've said (which i suspect i've not understood correctly), i'd remove destip from your configuration as it shouldn't be needed unless you're running on a really weird networking setup. this is also assuming that you're wanting the stream to be publically listed, if not set publicserver=never and leave destip if it's otherwise ensuring things work. |
![]() |
![]() |
#19 |
Junior Member
Join Date: Feb 2014
Posts: 4
|
DrO thank you a lot! Im remove dst-ip, and all works correctly
![]() How i can give playlist for users with domain name? Exemple: server.com:9000. (Now it 11.11.11.11:9000) it's hellpful to migrate to another ip. 1st old stram works well but.... I getting error for my second stream. - (Directory returned error code: 470) Im trying to remove or update authash, but i see bad password! Im looking for all passwords in config of shoutcast. And all passwords im shure is right. name=admin. How i can recreate authash and fix it error? Thanks. |
![]() |
![]() |
#20 |
Join Date: Sep 2003
Posts: 27,873
|
for that you need to use destip e.g. destip=server.com and as long as it can resolve back to a valid IP address and a working DNAS (based on what's also been set for portbase) then that'll work.
|
![]() |
![]() |
#21 |
Junior Member
Join Date: Feb 2014
Posts: 4
|
DrO im edited my post (#19)... Read it please.
It is possible to add new parameter (exemple bind address) in config file? Where is dest-ip = server.com and bind-addres = 10.0.0.10 |
![]() |
![]() |
#22 |
Join Date: Sep 2003
Posts: 27,873
|
for 470 errors, you'll need to create a new authhash for the stream. assuming v2.2.1 is being used, you can do it via the admin pages or you can stop the DNAS, remove it from the config and allow the auto-generation to work.
though i'm not sure what bad password errors you're seeing and in relation to what page(s) you're trying to access. for any server admin pages, use 'admin' and the 'adminpassword' and that should be it. as for adding a bind address config option, it seems like a hack (and also is a bit confusing) when that's really something better done on the machine configuration itself (though i'll have to have a think about it). |
![]() |
![]() |
#23 |
Junior Member
Join Date: Feb 2014
Posts: 4
|
DrO. About password. I see wrong pass only one way, when i click to Server Login > Update Authash > Wrong pass. Other passwords is ok.
Im confused when i recieved errors on 1st chanel (OK or 480 error) And 2nd chanel (470 or 480 error). For 470 error i read your post and trying to remove autohash and reginerate it automaticaly. But what about 480 error? I have good internet, no packet loss, good ping, and all awalible from web. Sometimes status is OK, but more time it 480 error. In log: 2014-02-18 13:30:03 ERROR [YP] Stream #1 connection attempt failed. YP2 error code is 480 [Cannot see your station/computer (URL: http://46.44.26.19:9000/Chillout_HQ) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache.] 2014-02-18 13:30:03 ERROR [YP] See http://wiki.winamp.com/wiki/SHOUTcast_YP_Nak_Errors for more information to resolve this error. 2014-02-18 13:30:06 ERROR [YP] Stream #2 connection attempt failed. YP2 error code is 480 [Cannot see your station/computer (URL: http://46.44.26.19:9000/Chillout_LQ) from the Internet, disable Internet Sharing/NAT/firewall/ISP cache.] 2014-02-18 13:30:06 ERROR [YP] See http://wiki.winamp.com/wiki/SHOUTcast_YP_Nak_Errors for more information to resolve this error. All awalible from externall web... I think it is bug of YP. What you think about that? For Dst-Ip and Bind-Ip, can i request this feature in new version? It is very usefull feature for radiostations with NAT and who migrating to other IP adress. For use DNS name in playlists when download it from DNAS. Thank you. |
![]() |
![]() |
#24 |
Join Date: Sep 2003
Posts: 27,873
|
http://forums.winamp.com/showthread.php?t=375305 and the hints link in it explain why you're having the 480 error issue i.e. it's related to the recent site migrations and will be fixed asap (once i've found the cause of the issue as it's not affecting everyone).
that's what the destip option is there to do and it's expected to have the machine being used to have the routing setup so things are correctly bound as needed. my biggest issue is adding another option for doing binding when the destip changes in v2.2.x resolved all of the prior reported binding related issues. that's why i said i'll have a think about it, but i'm really not sure another config option is the right way to be doing it. |
![]() |
![]() |
#25 |
Junior Member
Join Date: Feb 2012
Posts: 6
|
Just thought I'd mention something since I haven't see it mentioned anywhere.
I've just download the Linux 64 bit version to update our servers (Its taken me a while, I've been distracted doing RL things, but one of 5 sc2 instances has started regularly dieing so hoping the new build sorts it before doing further diagnostics). Anyway its named sc_serv2_linux_x64_11_29_2013.tar.gz, but tar -xzf complains saying its not in gzip format. So I tried with just -xf and that works. So either it is just a .tar file or wget is unzipping it for me during download. Not a big deal, but if anyone has issues just drop the z bit from your extraction and it should work. Regards QGazQ |
![]() |
![]() |
#26 |
Junior Member
Join Date: Feb 2014
Posts: 26
|
I found an interesting bug on 2.2.1. We are using the BSD version, so I don't know if this is reproducible with the Windows and Linux versions.
When removing an IP address off the ban list and clicking to remove another IP before the process has completed, the DNAS will completely crash and has to be restarted. I can reproduce the problem 100% of the time. |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|