no on-air light but can't pinpoint the issue
  • Hi there.

    Freshly installed and everything seems to be correctly configured and setup and switched on (v1.9)

    Airtime is working and is scheduled properly, the timezones are set correctly on the VPS, icecast has been setup correctly and Airtime is currently streaming to it, and files have been uploaded correctly.

    Airtime says the current scheduled show is playing and is on air, but the dreaded on-air light is not red!

    Logs attached!

    Any ideas?

    __________


    CPU = Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
    Total RAM = 509424 kB
    Free RAM = 202284 kB
    OS = Ubuntu 10.04.2 LTS Intel 80386
    AIRTIME_CONFIG_FILES = OK
    POSTGRESQL_DATABASE = OK
    PYTHON_KOMBU_VERSION = 1.2.0
    PYTHON_POSTER_VERSION = 0.8.1
    PYTHON_MUTAGEN_VERSION = 1.20
    PYTHON_PYINOTIFY_VERSION = 0.9.2
    RABBITMQ_SERVER = OK
    AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED = YES
    AIRTIME_VERSION = 1.9.0
    PLAYOUT_ENGINE_PROCESS_ID = 2240
    PLAYOUT_ENGINE_RUNNING_SECONDS = 1134
    LIQUIDSOAP_PROCESS_ID = 2043
    LIQUIDSOAP_RUNNING_SECONDS = 1139
    MEDIA_MONITOR_PROCESS_ID = 2032
    MEDIA_MONITOR_RUNNING_SECONDS = 1139
    SHOW_RECORDER_PROCESS_ID = 2050
    SHOW_RECORDER_RUNNING_SECONDS = 1139
    ICECAST_PROCESS_ID = 2058
  • 5 Comments sorted by
  • try to change in the config files (i think the ones in /etc/artime) localhost with the real hostname of the server (as in the http://localhost/api/version/api_key/%%api_key%% have to appear with the real internet hostname)
  • The logs state that there is no schedule

    Quote:
    2011-08-17 19:14:33,556 DEBUG - [pypofetch.py : prepare_playlists() : line 200] - Schedule is empty.


    Are your timezones for PHP and the system set correctly?
    Airtime Pro Hosting: http://airtime.pro
  • both the timezone in the .htaccess file and the ubuntu system time are set to Australia/Melbourne
  • can you try to restart the service?
    sudo service airtime-playout restart
    sudo service apache restart

    Then schedule something in the calander and re-attach the logs if it still doesn't play.

    Please look at icecast and see if its getting the data from Airtime (http://domainName:8000) when a song is being played.
  • Thanks guys, Switching hardware has been a bitch (two "identical servers" on production one backup and production died) apparently the "Backup" Server was on the wrong time, and airtime has been a pain to trouble shoot, i am back up thanks to this post, and about 6 others. My fix was:
    Configure time zone
    sudo nano /usr/share/airtime/public/.htaccess

    Found out that my clock was off by about 18004 sec so then update local clock (didn't have ntpdate installed so here is the complete fix)
    apt-get install ntpdate
    ntpdate pool.ntp.org
    sudo service airtime-playout restart