Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 27th May 2012, 10:48   #1
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
I've moved ports (I think) but I've lost the streams

Hi

I had a fully working system last night. However everything had defaulted to Port 80 but I now need port 80 to launch xampp. So last night I adjusted my .conf file to state port 7000.

I went to the windows firewall (server 2008) and adjusted the port rules there for shoutcast. I have two inbound rules and two outbound rules, for TCP and UDP respectively. These rules have the local ports 7000-7999 open for each.

I am using SAM broadcaster as an encoder. All I adjusted here was the port number on the encoder. All the original SID numbers are the same.

However my encoders have errors as they cannot find the server.

The server was started manually but as it starts it "panics" by saying it can't open the error log.

That's all I can tell you at this stage. Where do I start to troubleshoot this?
JohnSmither is offline   Reply With Quote
Old 27th May 2012, 16:12   #2
louislouw
Junior Member
 
Join Date: May 2012
Posts: 8
Not sure if you also need to adjust any rules on your router - to do port forwardning?
Also, just try any other port, like 7200 - just in case 7000 is already used by something else.
louislouw is offline   Reply With Quote
Old 27th May 2012, 19:47   #3
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
Quote:
Originally Posted by JohnSmither View Post
I went to the windows firewall (server 2008) and adjusted the port rules there for shoutcast. I have two inbound rules and two outbound rules, for TCP and UDP respectively. These rules have the local ports 7000-7999 open for each.
you only need to do what you've set for portbase using TCP (and possibly portbase+1 using TCP if you are allowing remote source connections).

Quote:
Originally Posted by JohnSmither View Post
However my encoders have errors as they cannot find the server.

The server was started manually but as it starts it "panics" by saying it can't open the error log.
That is the key issue here in that the DNAS is not able to start up. Is there an existing DNAS instance already running?

What version of the DNAS are you using and if it's a v2 DNAS are you correctly specifying the config file to use - as i'm aware off a "log file change on load" issue which can cause the possible issue you seem to be having.

Have you checked the location of the log file in the config file to make sure the path exists and if needed create the location or change it to somewhere else.

-daz
DrO is offline   Reply With Quote
Old 27th May 2012, 22:51   #4
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
Hi

Thanks for your responses. I have 90% of my challenges fixed. I've been out all day and it came to me when I was driving. Yes I did have another server instance still running.

This is the second time I have done this and it comes down to basic server administration, not shoutcast. However I have learned to locate the task manager by right clicking the task bar on Windows 2008 and from there stop the process.

So everything running but there is still one issue. I have tried all ways with your syntax but my server doesn't like me trying to run shoutcast as a service.

I've used

(a) sc_serv.exe install 0 0 sc_serv_myradio.conf

and

(b) sc_serv.exe install 0 0 C:\Program Files\SHOUTcast sc_serv_myradio.conf

But I get a small blue window with "unable to start this service" error.

Any advice here?

and THANK YOU !!

/iain
JohnSmither is offline   Reply With Quote
Old 27th May 2012, 23:02   #5
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
you've not specified the name for the server e.g. sc_serv.exe install sc_serv 0 0 sc_serv.conf as taken from http://wiki.winamp.com/wiki/SHOUTcas...l_as_a_Service

as a note, with the current version installing as a service is not as clean as it should be (such as incoherent messages if there is an error) so you would be best specifying the full path to the config file - such things like this are resolved internally depsite that not being off much use for the current issue you're having.

-daz
DrO is offline   Reply With Quote
Old 28th May 2012, 19:38   #6
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
Hi Daz

Put in the following: sc_serv.exe install sc_serv 0 0 C:\Program Files\SHOUTcast sc_serv_myradio.conf

I got this back: ".....error code 1073"

:-/

anything I should try next?

(ps - my windows 2008 is a 64bit version if this helps?
JohnSmither is offline   Reply With Quote
Old 28th May 2012, 19:56   #7
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
error 1073 happens if there is already a service registered with that name.

all i can say is go into 'Services and Applications' (usually via the 'Manage' option on the right-click menu on 'My Computer') and then look for any existing sc_serv2 or entries which have a description of "Nullsoft SHOUTcast DNAS (sc_serv) v2" as most likely you just need to start that if it has already been created (as the error message implies).

-daz
DrO is offline   Reply With Quote
Old 28th May 2012, 21:02   #8
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
Hi Daz

Done all that. It now states that the service started and then stopped. Some services stop automatically of they are not in use by other services or programmes.

:-(
JohnSmither is offline   Reply With Quote
Old 28th May 2012, 21:44   #9
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
see if there is anything referenced in the log file and / or check for %temp%\sc_serv.log to see if that indicates anything. as it could be anything from incorrect settings to not being able to bind but the log (if it's been able to be created should give some idea of what is going on).

also see if anything thing is shown in event viewer -> windows logs -> application relating to the service.

if not then we'll have to go down a test build route to see if that helps or if i've got more to try to fix.

-daz
DrO is offline   Reply With Quote
Old 29th May 2012, 01:11   #10
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
Hi Daz

Got this from the windows log: 2012-05-28 21:53:13 sc_serv2 msg:<***> Bad cmd line parameters files\SHOUTcast\sc_serv_MyRadioName.conf

There was nothing but error ID 1 throughout and the above correlates with my efforts earlier on this evening when I found the server lurking in the services and applications.

Ta

What next? How far am I off my masters degree?

:-D
JohnSmither is offline   Reply With Quote
Old 29th May 2012, 10:44   #11
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
well the DNAS is able to start so that's a start.

the 'Bad cmd line parameters' error is likely from the full path to the config file having been incorrectly specified as it usually needs to have a double-quote around it when specifying a filepath with spaces (is just a normal Windows requirement).


so you'll need to uninstall the current service listing e.g. sc_serv.exe uninstall sc_serv (changing the last sc_serv to the name of the service actually used) and then follow what i've sent in the pm i've just sent to you.

-daz
DrO is offline   Reply With Quote
Old 30th May 2012, 17:39   #12
JohnSmither
Junior Member
 
Join Date: Feb 2011
Posts: 31
Hi Daz

I had been having other issues so instead I cancelled my server and replaced with a standard 32 bit 2008 windows thingy.

I was having the same issues but I followed your instructions here to the letter and it is finally working.

I put the path to the file in "inverted commas" and then installed and then started from the services section, set to automatic.

I hope this thread helps those later.

Your a star sir. Thanks for all your patience.
JohnSmither is offline   Reply With Quote
Old 30th May 2012, 17:53   #13
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,478
k, well that's good that you're sorted now though would have been good to know if the newer sc_serv improved the experience.

as you're on a 32-bit OS now (i had sent through a 64-bit version as that was what you said your OS was previously so maybe you'd been using the 32-bit version previously and didn't have the supporting CRT dlls present for the test build), would you want to try out the 32-bit version or prefer to not rock the boat now things are running?

-daz
DrO is offline   Reply With Quote
Reply
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