Airtime 2.1 for Broadcasters

Troubleshooting

If your Airtime server is not working as expected, individual components of the system can be started, stopped, restarted or checked in the server console using the invoke-rc.d command:

sudo invoke-rc.d airtime-playout        start|stop|restart|status
sudo invoke-rc.d airtime-media-monitor  start|stop|restart|status
sudo invoke-rc.d apache2                start|stop|restart|status
sudo invoke-rc.d rabbitmq-server        start|stop|restart|status

For example, to restart the Airtime playout engine, you could enter the command:

sudo invoke-rc.d airtime-playout restart
The server should respond:
Restarting Airtime Playout: Done.

The status option for airtime-playout and airtime-media-monitor runs the airtime-check-system script to confirm that all of Airtime's dependencies are installed and running correctly.

Log files

Airtime stores log files under the directory path /var/log/airtime/ which can be useful for diagnosing the cause of any problems. Copies of these log files may be requested by Sourcefabric engineers while they are providing technical support for your Airtime deployment. See the chapter The airtime-log command for more details.

Test tones

Liquidsoap output can be tested using two commands provided by Airtime. The airtime-test-soundcard command enables you to send a test tone to the default sound card
on the system, so you can check that your audio equipment is working. Press Ctrl+C on your keyboard to stop the tone.

airtime-test-soundcard [-v]
                       [-o alsa | ao | oss | portaudio | pulseaudio ]
                       [-h]
Where:
     -v verbose mode
     -o Linux Sound API (default: alsa)
     -h show help menu

The airtime-test-stream command enables you to send a test tone to a local or remote streaming media server. Press Ctrl+C on your keyboard to stop the tone being streamed.

airtime-test-stream [-v]
                    [-o icecast | shoutcast ] [-H hostname] [-P port]
                    [-u username] [-p password] [-m mount]
                    [-h]
Where:
     -v verbose mode
     -o stream server type (default: icecast)
     -H hostname (default: localhost)
     -P port (default: 8000)
     -u user (default: source)
     -p password (default: hackme)
     -m mount (default: test)
     -h show help menu