AIRTIME_SERVER_RESPONDING = FAILED
  • Hello,

    Just logged into my server after a few days and the icecast server wont connect, I tried running airtime-check-system and got this result "AIRTIME_SERVER_RESPONDING = FAILED"  Any ideas on how to fix this? It was working fine for weeks. I updated it weeks ago and it worked with no problems till now. Here is the last entry for the pypo log file.

    2013-05-15 05:22:48,129 DEBUG - [pypocli.py : liquidsoap_running_test() : line 129] - Checking to see if Liquidsoap is running
    2013-05-15 05:22:48,130 ERROR - [pypocli.py : liquidsoap_running_test() : line 139] - [Errno 111] Connection refused
    2013-05-15 05:22:48,130 WARNING - [pypocli.py : <module>() : line 172] - Liquidsoap not started yet. Sleeping one second and trying again
    2013-05-15 05:22:49,131 DEBUG - [pypocli.py : liquidsoap_running_test() : line 129] - Checking to see if Liquidsoap is running
    2013-05-15 05:22:49,131 ERROR - [pypocli.py : liquidsoap_running_test() : line 139] - [Errno 111] Connection refused
    2013-05-15 05:22:49,132 WARNING - [pypocli.py : <module>() : line 172] - Liquidsoap not started yet. Sleeping one second and trying again
    2013-05-15 05:22:50,133 DEBUG - [pypocli.py : liquidsoap_running_test() : line 129] - Checking to see if Liquidsoap is running
    2013-05-15 05:22:50,133 ERROR - [pypocli.py : liquidsoap_running_test() : line 139] - [Errno 111] Connection refused
    2013-05-15 05:22:50,133 WARNING - [pypocli.py : <module>() : line 172] - Liquidsoap not started yet. Sleeping one second and trying again
    2013-05-15 05:22:51,135 DEBUG - [pypocli.py : liquidsoap_running_test() : line 129] - Checking to see if Liquidsoap is running
    2013-05-15 05:22:51,135 ERROR - [pypocli.py : liquidsoap_running_test() : line 139] - [Errno 111] Connection refused
    2013-05-15 05:22:51,135 WARNING - [pypocli.py : <module>() : line 172] - Liquidsoap not started yet. Sleeping one second and trying again


    Here are the last entries from the ls_script.log file.

    2013/05/05 19:10:02 [server:3] New client: localhost.
    2013/05/05 19:10:02 [server:3] Client localhost disconnected.
    2013/05/05 19:10:11 [server:3] New client: localhost.
    2013/05/05 19:10:11 [lang:3] vars.stream_metadata_type
    2013/05/05 19:10:11 [server:3] Client localhost disconnected.
    2013/05/05 19:10:11 [server:3] New client: localhost.
    2013/05/05 19:10:11 [lang:3] vars.default_dj_fade
    2013/05/05 19:10:11 [server:3] Client localhost disconnected.
    2013/05/05 19:10:11 [server:3] New client: localhost.
    2013/05/05 19:10:11 [server:3] Client localhost disconnected.
    2013/05/05 19:10:11 [main:3] Shutdown started!
    2013/05/05 19:10:11 [main:3] Waiting for threads to terminate...
    2013/05/05 19:10:11 [airtime_128:3] Closing connection...
    2013/05/05 19:10:11 [harbor:3] Removing mountpoint '/Tim' on port 8080
    2013/05/05 19:10:11 [harbor:3] Nothing more on port 8080: closing sockets.
    2013/05/05 19:10:11 [clock.wallclock_main:3] Streaming loop stopped.
    2013/05/05 19:10:11 [threads:3] Thread "wallclock_main" terminated (1 remaining).
    2013/05/05 19:10:12 [threads:3] Thread "http polling" terminated (0 remaining).
    2013/05/05 19:10:12 [main:3] Cleaning downloaded files...
    2013/05/05 19:10:12 [main:3] Freeing memory...
    2013/05/05 19:10:12 >>> LOG END

    Thank you, Wayne
  • 7 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Wayne, has anything changed in your network configuration, such as hostname?
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Could you post the full output from airtime-check-system please?
  • root@radio:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://globaltracksradio.com:80/api/status/form
    at/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = FAILED
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
    root@radio:~#
  • Hey Daniel,

    No nothing has changed as far as i know. I posted the output above.

    Thank you, Wayne
  • Actually just noticed above in the url that it says http://globaltracksradio.com:80/api/status/form The hostname is supposed to be radio.cincityrocks.com Not sure where it's getting that info from? How do i correct this in airtime? What file would i need to change? Can it be done from within airtime itself?

    Thank you, Wayne
  • Ok i went in using sudo dpkg-reconfigure airtime and set up the hostname correctly but it still did not work. When i run the command i still get the same output. The hostname didn't change?

    root@radio:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://globaltracksradio.com:80/api/status/form
    at/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = FAILED
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Wayne, it definitely sounds like a hostname problem, because airtime-check-system is still looking at http://globaltracksradio.com and that site does not exist (on the public Internet, at least). I suggest looking at the following files on your server:

    /etc/hosts
    /etc/airtime/api_client.cfg

    Does the value of 'host' in api_client.cfg match what you have for this server in /etc/hosts? If not, airtime-check-system may not be able to find your Airtime installation.

    The directory /etc/apache2/sites-enabled/ should contain an Apache configuration for your Airtime server with the correct hostname. I'd be expecting to see a file airtime-vhost containing lines such as:


    ServerName radio.cincityrocks.com

    In this case your Apache configuration is functioning fine, as I can see your login page from here.

    Cheers!

    Daniel