Trouble finishing setup
  • Hi there,

    I would have prefered to be more specific in the title, but I don't have a clue on where the issue comme from ! Anyhow you've been highly helpful a few days ago with a first problem, I hope you'll manage to help me gain !

    So here's the ouptut from a airtime-check-system :
    root [/var/log] > airtime-check-system
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Debian GNU/Linux 7.2 (wheezy) x86_64
    CPU                            = AMD Opteron(tm) Processor 6128
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2013-10-22 15:08:29,444 DEBUG - [telnetliquidsoap.py : get_current_stream_id() : line 205] - stream_id: -1
    -- 2013-10-22 15:08:29,449 INFO - [pypoliqqueue.py : main() : line 54] - New schedule received: {}
    -- 2013-10-22 15:08:29,449 INFO - [pypoliqqueue.py : main() : line 34] - waiting indefinitely for schedule
    -- 2013-10-22 15:10:11,337 DEBUG - [api_client.py : __call__() : line 134] - http://vps36465.ovh.net:80/api/get-stream-parameters/api_key/V6ERTKD341UNR1YE05E3/format/json
    -- 2013-10-22 15:10:11,553 ERROR - [listenerstat.py : run() : line 140] - Exception: HTTP Error 500: Internal Server Error
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/10/22 15:11:05 [stdout:3]
    -- 2013/10/22 15:11:05 [stdout:3] #########################################
    -- 2013/10/22 15:11:05 [stdout:3] #           *** pypo  ***               #
    -- 2013/10/22 15:11:05 [stdout:3] #     pypo notification gateway         #
    -- 2013/10/22 15:11:05 [stdout:3] #########################################
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2013-10-22 15:07:54,094 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://vps36465.ovh.net:80/api/media-monitor-setup/format/json/api_key/V6ERTKD341UNR1YE05E3
    -- 2013-10-22 15:07:54,339 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://vps36465.ovh.net:80/api/list-all-watched-dirs/format/json/api_key/V6ERTKD341UNR1YE05E3
    -- 2013-10-22 15:07:54,573 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://vps36465.ovh.net:80/api/list-all-files/format/json/api_key/V6ERTKD341UNR1YE05E3/dir_id/1/all/0
    -- 2013-10-22 15:07:54,690 INFO - [Thread-1] [bootstrap.py : flush_watch()] : LINE 63 - Flushed watch directory (/srv/airtime/stor/imported).                 (added, modified, deleted) = (0, 0, 0)
    -- 2013-10-22 15:07:54,691 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://vps36465.ovh.net:80/api/register-component/format/json/api_key/V6ERTKD341UNR1YE05E3/component/media-monitor
    --
    --
    -- There appears to be a problem with your Airtime installation.


    As you can see it fails to get any process id. 

    I've noticed a 500 http error but I can't seem to find it in apache's log. And i'm certainly not fluent enough in python to find out what url was called. My airtime vhost log looks like this :


     "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:12 +0200] "GET /api/get-stream-parameters/api_key/V6ERTKD341UNR1YE05E3/format/json HTTP/1.1" 500 435 "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:17 +0200] "POST /api/update-liquidsoap-status/format/json/api_key/V6ERTKD341UNR1YE05E3/msg/dummy/stream_id/1/boot_time/1382447308.73 HTTP/1.1" 200 410 "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:23 +0200] "POST /api/update-liquidsoap-status/format/json/api_key/V6ERTKD341UNR1YE05E3/msg/dummy/stream_id/1/boot_time/1382447308.73 HTTP/1.1" 200 410 "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:29 +0200] "POST /api/update-liquidsoap-status/format/json/api_key/V6ERTKD341UNR1YE05E3/msg/dummy/stream_id/1/boot_time/1382447308.73 HTTP/1.1" 200 410 "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:35 +0200] "POST /api/update-liquidsoap-status/format/json/api_key/V6ERTKD341UNR1YE05E3/msg/dummy/stream_id/1/boot_time/1382447308.73 HTTP/1.1" 200 410 "-" "Python-urllib/2.7"
    vps36465.ovh.net:80 37.187.47.151 - - [22/Oct/2013:15:20:41 +0200] "POST /api/update-liquidsoap-status/format/json/api_key/V6ERTKD341UNR1YE05E3/msg/dummy/stream_id/1/boot_time/1382447308.73 HTTP/1.1" 200 410 "-" "Python-urllib/2.7"


    If you need any log/config file to investigate, do not hesitate !

    Thnaks a lot in advance.

    Laurent.


    Edit :
    From what I gatehred online it could be a name resolving issue. Checking any cfg or ini files in every app i could think of (airtime, liquidsoap, ...) i see hosts and url variable being half fqdn, half localhost. Both are correctly set in /etc/hosts. Anything thing i shloud try ?
    Post edited by Laurent Cochet at 2013-10-22 09:27:53
  • 1 Comment sorted by
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.