Airtime 2.0.3 & Icecast2 Current Song:Airtime - offline
  • Hi.

    I have one server with airtime 2.0.3 & icecast2. All components it's "ok", but icecast have 
    Current Song:Airtime - offline
    Content is scheduled, "ON AIR" button is not light.
    Here is airtime-check-system message:
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-38-generic
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 1026400
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.0.3
    OS                             = Ubuntu 10.04.4 LTS i686
    CPU                            = Intel(R) Pentium(R) Dual  CPU  E2140  @ 1.60GHz
    WEB_SERVER                     = Apache/2.2.14 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 1253
    PLAYOUT_ENGINE_RUNNING_SECONDS = 11920
    PLAYOUT_ENGINE_MEM_PERC        = 0.9%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 1256
    LIQUIDSOAP_RUNNING_SECONDS     = 11920
    LIQUIDSOAP_MEM_PERC            = 1.9%
    LIQUIDSOAP_CPU_PERC            = 4.9%
    MEDIA_MONITOR_PROCESS_ID       = 1237
    MEDIA_MONITOR_RUNNING_SECONDS  = 11921
    MEDIA_MONITOR_MEM_PERC         = 1.6%
    MEDIA_MONITOR_CPU_PERC         = 0.4%
    RABBITMQ_PROCESS_ID            = 1348
    RABBITMQ_RUNNING_SECONDS       = 11903
    RABBITMQ_MEM_PERC              = 1.2%
    RABBITMQ_CPU_PERC              = 0.0%

    -- Your installation of Airtime looks OK!

    Please, some one help )
    Post edited by Andrey Podshivalov at 2012-04-12 08:06:45
  • 16 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    first of all check the airtime log files in /var/log/airtime folder
  • Андрей, проще по русски если есть возможность ) Логи скину.
  • Part of zendphp.log message:
    2012-04-12 ERR (3): Resource in database, but not in storage: "%resource_path%"
    2012-04-12 INFO (6): Not Found
    Post edited by Yaroslav at 2012-04-12 04:21:25
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Желательно на английском, чтобы все разработчики имели возможность прочитать. Я переношу в раздел Airtime Support
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Please check all log files (pypo-liquidsoap/ls-script.log, pypo/pypo.log)
  • pypo-liquidsoap/ls-script.log, pypo/pypo.log in attach
    Post edited by Yaroslav at 2012-04-12 09:36:38
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    something wrong with file downloading. Check apache error log file also

    2012-04-12 12:32:28,769 INFO - [pypofetch.py : prepare_playlists() : line 320] - Playlist starting at 2012-04-12-08-35-00
    2012-04-12 12:32:28,769 DEBUG - [pypofetch.py : handle_media_file() : line 354] - Processing track http://localhost:80/api/get-media/file/91b9159170f6731e824da7ecd505b6fa.mp3
    2012-04-12 12:32:28,770 DEBUG - [pypofetch.py : handle_remote_file() : line 432] - try to download http://localhost:80/api/get-media/file/91b9159170f6731e824da7ecd505b6fa.mp3
    2012-04-12 12:32:28,770 INFO - [api_client.py : get_media() : line 279] - try to download from http://localhost:80/api/get-media/file/91b9159170f6731e824da7ecd505b6fa.mp3/api_key/%%api_key%% to /var/tmp/airtime/pypo/cache/scheduler/2012-04-12-08-35-00/91b9159170f6731e824da7ecd505b6fa.mp3
    2012-04-12 12:32:29,862 INFO - [api_client.py : get_media() : line 283] - Date: Thu, 12 Apr 2012 08:32:28 GMT
    Server: Apache/2.2.14 (Ubuntu)
    X-Powered-By: PHP/5.3.2-1ubuntu4.14
    Vary: Accept-Encoding
    Content-Length: 0
    Connection: close
    Content-Type: text/html

    2012-04-12 12:32:29,862 WARNING - [pypofetch.py : handle_media_file() : line 414] - zero-size file - skipping http://localhost:80/api/get-media/file/91b9159170f6731e824da7ecd505b6fa.mp3. will not add it to playlist at /var/tmp/airtime/pypo/cache/scheduler/2012-04-12-08-35-00/91b9159170f6731e824da7ecd505b6fa.mp3
    Post edited by Andrey Podshivalov at 2012-04-12 10:09:39
  • Apache error log
    911B
  • Hi Yaroslav,

    Is this still a problem? As Andrey said, for some reason the files aren't being downloaded. Do you see the Airtime main screen when you access http://localhost:80 ?

     
    Airtime Pro Hosting: http://airtime.pro
  • Hi, Martin.

    Yes, problem is not solved. Main screen, content schedule, playlist builder - it's all right. I noticed there is a problem in downloading files from server via a web-interface.
  • Can you preview audio files via the browser (click the small play button)?
    Airtime Pro Hosting: http://airtime.pro
  • In Playlist builder - no.
  • Hmm,

    Sounds like there might be a sync issue between your database and your filesystem. Please try 

    "sudo service airtime-media-monitor restart" 

    from the command line, and let us know if the files start playing
    Airtime Pro Hosting: http://airtime.pro
  • Martin, see higher, I've posted - 
    Part of zendphp.log message:
    2012-04-12 ERR (3): Resource in database, but not in storage: "%resource_path%"
    2012-04-12 INFO (6): Not Found


    After "sudo service airtime-media-monitor restart" - 
    Restarting Airtime Media Monitor: Done. 
    But no more. Files are not played by pressing small button in playlist builder.
  • Are the files on the same hard-drive as Airtime or are they on some remote storage system?

    The restart of media-monitor should have re-synced your database to your filesystem. Strange that is it not doing this... 

    Can you try restarting again and post /var/log/airtime/media-monitor/media-monitor.log file?
    Airtime Pro Hosting: http://airtime.pro
  • Exactly ) Files and hard drive Airtime are on different storage. Problem is solved, thx )
    Post edited by Yaroslav at 2012-12-20 01:50:43