SHOUTcast Server v2.4.1.165 problem

Read 31418 times
Welcome, today I was update my SHOUTcast DNAS to lastest version. But after start server I got a problem:

Diagnostic output from streaming software:
===============================================================================

2014-10-29 13:58:05   WARN   [CONFIG] Could not find `../demo/etc/server.conf' - looking for config file to load...

Last Edit: October 29, 2014, 06:13:37 am by miedzius
the 2.4.1 DNAS had to slightly change how it handles file paths (done in the build 165 update) to ensure that all of the native functionality will work correctly as expected (which was not happening in build 164).

as such, you may need to adjust the relative path used to provide server.conf to the DNAS when it starts (i assume there's a means to configure that) or it might be easier to instead have it use an absolute file path instead (which is always the safer option so you know it's going to use the correct config file in all cases).
Hello,

how can we solve this error?
on my server the same thing happened after updating to shoutcast.
EVS Portugal - Serviços de  Internet
Nº Tlf.: (+351) 935 766 371
Web Site: https://evsportugal.pt
E-mail: info@evsportugal.pt
Facebook: www.facebook.com/evsportugal.pt
Afternoon, DrO!  Centova Cast does not make this configurable so I'm curious about how this is handled in DNAS 2.4.1, as we'll need to make some changes to accommodate this.

We currently do a chdir() to the directory dedicated to the stream, then invoke sc_serv passing the relative path to server.conf, eg: "/path/to/sc_serv etc/server.conf".  I tried a few variations here and it appears that relative paths are no longer accepted at all... could you elaborate on what you meant by "adjusting" them?

It isn't a huge deal as we can certainly use absolute paths, it's just that on servers that host more than a couple dozen streams, using the absolute path (which is long due to our directory structure, eg: /usr/local/centovacast/var/vhosts/username/etc/server.conf) really clutters up the process list and makes it harder to pick one process out of the list.
the chdir() you're doing is going to be ignored as we're resetting it when the DNAS starts to be the same as the current location of sc_serv (which was previously only done with daemon mode but is now done for all modes), which i expect is probably a no-no to do but it ensures all of our local file lookups work correctly across all of the platform versions (as not doing it was causing things during setup and the cacert.pem lookups to fail).

if not wanting to do absolute paths, basing the paths relative to the sc_serv location should do it. as i did test things (though clearly not for the same way that its called by Centova) when doing the build last night and it was working with what i tested (unless i've broken the build even more...).
Last Edit: October 29, 2014, 02:29:05 pm by DrO
i guess we'll need to roll another build and re-work the changes.

[edit]
we're going to re-work things from our side (ignore the prior post) so will look to have a new build available tomorrow. sorry for any inconvenience this update has caused people.
Last Edit: October 29, 2014, 02:49:56 pm by DrO
Hello,

ok let's get to wait for tomorrow.
Thanks.
EVS Portugal - Serviços de  Internet
Nº Tlf.: (+351) 935 766 371
Web Site: https://evsportugal.pt
E-mail: info@evsportugal.pt
Facebook: www.facebook.com/evsportugal.pt
We are happy to hear that! So now we are waiting for new build.
Hope that it will be fixed soon. We've faced the same issue here as well.
http://www.radioboss.fm - stream hosting
http://www.djsoft.net - radio automation software
Will we have to uninstall and reinstall everything...?
no.

i'm currently waiting on feedback to see if a test build i've sent out to a few people does correctly resolve the issue that has been seen (include a copy being sent to Steve). when i've got some feedback (hopefully confirming things are ok) then we'll be releasing a 2.4.2 update.
Last Edit: October 30, 2014, 09:02:51 am by DrO
Any update?
we are waiting news   :-\
EVS Portugal - Serviços de  Internet
Nº Tlf.: (+351) 935 766 371
Web Site: https://evsportugal.pt
E-mail: info@evsportugal.pt
Facebook: www.facebook.com/evsportugal.pt
The new build (2.4.2 build 167) is now available (as of ~30 mins ago) and the update flag has been enabled so the DNAS will report a new version is now available.

Centova have confirmed the pre-release build works ok so is down to how you need to update the DNAS now to get the fixed version being used.


I will also add that such issues with the DNAS (which are clearly an issue with the DNAS) should be reported to SHOUTcast directly. As it's only by chance that i saw this thread so soon after the prior release, otherwise it could have been a few days or longer.
Last Edit: October 30, 2014, 03:39:11 pm by DrO
[root@centova ~]# /usr/local/centovacast/sbin/update --add shoutcast2 --force

Checking Centova Cast Common Files ...
Downloading Centova Cast Common Files ...

Verifying archive integrity ...
Unpacking archive ...

Installing Centova Cast Common Files ...

Installation successful

Checking shoutcast2 ...
Downloading shoutcast2 ...

Verifying archive integrity ...
Unpacking archive ...

Installing shoutcast2 ...

Unable to determine latest release, aborting
Installer exited with error, aborting
[root@centova ~]#
EVS Portugal - Serviços de  Internet
Nº Tlf.: (+351) 935 766 371
Web Site: https://evsportugal.pt
E-mail: info@evsportugal.pt
Facebook: www.facebook.com/evsportugal.pt