This indicates that the Centova Cast could not start your streaming server (SHOUTcast DNAS or IceCast).
When this error message is displayed, you should be prompted to try starting the server in the diagnostic mode; please do so and see if any relevant information is displayed.
If diagnostic mode does not explain the problem, you will need to review the server logs. To do so:
Login to the affected account and click the View Logs link under the Management heading.
Click the Error Log link at the upper-right corner of the page.
Review the error log to determine the cause of the startup failure. Note that the error log is displayed from OLDEST to NEWEST so you need to select the very last page of log data to see the recent entries.
While there can be many reasons why a server would fail to start, the following are some common log entries you may see:
- main] error opening source socket! FATAL ERROR! Some other process is using this port!
This indicates that another application is using the same port number that you assigned to your stream. To correct this error, you need to either stop the other application from using this port number or change your stream settings to use an alternate port.
Note that this error can also appear if you have configured the stream for an IP address that does not exist on your server. See "My error log says the port is in use, but it's not" below.
- msg: Error opening port xxx because Could not bind to xxx because of Address already in use
This is the equivalent of the above error message but in DNAS2 instead of DNAS1. Again, it means that the port on which you have configured your stream is in use, or the IP address is invalid.
- [main] failed to alloc (-715457992) bytes for clients
This indicates that you have set your listener limit to an unrealistic value (such as 99999). Setting a reasonable listener limit will resolve this problem.
Log file does not exist / My error log is empty
If the error log is empty or does not exist, this usually indicates one of the following:
- The pathname your SHOUTcast or IceCast server binary is incorrect.
To check your path to SHOUTcast/IceCast, log in to your server via SSH as root and type:
grep _BIN /usr/local/centovacast/etc/cc-control.conf
The path to your SHOUTcast DNAS v1 binary should appear as SHOUTCAST_BIN=; the path to your SHOUTcast DNAS v2 binary should appear as SHOUTCAST2_BIN=; the path to your IceCast binary should appear as ICECAST_BIN, etc.
To verify that the pathname is correct, login to your server via SSH as root.
For SHOUTcast DNAS v1 or v2, type the pathname and press enter. If the path is correct you should see "SHOUTcast Distributed Network Audio Server" start up.
For IceCast, type the pathname followed by a space, and then "-v". For example, /usr/bin/icecast -v. This should yield "IceCast v2.3.2" or similar.
If you receive errors of any kind, this indicates that your pathname is incorrect.
- There is a permissions/ownership problem on your files/directories.
Follow the instructions in the Permissions Problems section of the Disaster Recovery article to ensure that your permissions are set correctly.
- A configuration problem is preventing SHOUTcast/IceCast from starting up. For example, if the port number you have chosen is already in use by another program on your server, you may see this error.
"No such file or directory" error
If you are seeing a message stating No such file or directory below the Server startup failed error, you are likely using a 64-bit Linux distribution without 32-bit runtime libraries installed.
This is not related to Centova Cast; all 64-bit Linux distributions require 32-bit runtime libraries in order to run 32-bit software. SHOUTcast DNAS is a 32-bit application, so it will fail to run without those libraries installed.
Please contact us if you need any assistance.