[solved] Install failed
  • Can anyone help me?
    I made a manual minimal installation as described in the manual (http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/manual-installation/) and get this:

    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (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
    --
    -- 2014-05-14 10:02:45,572 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/version/api_key/263AEIXYPG7G8ASL1EBX
    -- 2014-05-14 10:02:47,171 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-05-14 10:02:52,175 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/version/api_key/263AEIXYPG7G8ASL1EBX
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-14 10:02:52,134 INFO - [MainThread] [launcher.py : setup_global()] : LINE 110 - Attempting to set the locale...
    -- 2014-05-14 10:02:52,177 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2014-05-14 10:02:52,179 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-14 10:02:52,193 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    -- 2014-05-14 10:02:52,194 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://localhost:80/api/media-monitor-setup/format/json/api_key/263AEIXYPG7G8ASL1EBX
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

    ******************************* Install Complete *******************************
    Post edited by Christoph Lemke at 2014-05-15 14:17:34
  • 62 Comments sorted by
  • I have been getting very similar issues... posted this a few days ago but no replies as yet.  I am running the easy instal package on Ubuntu.  I find that if I run from Ubunto under command line I get this but if I install the same files from Ubuntu with a desktop install it works trouble free... wierd!

    Sorry for you but happy its not just me! lol
    Radio Streaming World - http://www.radiostreamingworld.com - for all of your streaming requirements and everything to make your online radio a success under one roof!
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Many things can cause that problem, please check apache2 settings at first.

    For example, did you disable default site?
    Cloud Radio -> http://airtime.pro
  • nope, i can't disable the default sites because there are many domains hosted on this server. but i made a subdomain for airtime http://automation.stream.youth-fm.de/ and edited the airtime-vhost.conf so artime should be avaible on that domain (but i only get a blank page).
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    What's the apache2/error.log say?
    Cloud Radio -> http://airtime.pro
  • [Wed May 14 12:02:43 2014] [error] [client] Attempt to serve directory: /usr/share/airtime/public/
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    And obviously Airtime doesn't know it: 

    Cloud Radio -> http://airtime.pro
  • where do i have to change the host?
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    /etc/airtime/airtime.conf need update:

    [general]
    api_key = ..
    web_server_user = www-data
    airtime_dir = /usr/share/airtime
    base_url = localhost
    base_port = 80
    base_dir = /
    cache_ahead_hours = 1

    Cloud Radio -> http://airtime.pro
  • i'll try. thank you
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Also, /etc/airtime/api_client.cfg:

    bin_dir = /usr/lib/airtime/api_clients
    api_key = '..'
    api_base = api
    host = localhost
    base_port = 80
    base_dir = /

    You need restart all Airtime services after, 

    sudo service airtime-media-monitor restart
    airtime-playout
    airtime-liquidsoap
    Post edited by Cliff Wang at 2014-05-14 11:06:17
    Cloud Radio -> http://airtime.pro
  • i've changed both to automation.stream.youth-fm.de but airtime it doesn't help.
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    ....
    do i have to restart some service after changing config-files?
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    You need restart all Airtime services after, 

    sudo service airtime-media-monitor restart
    airtime-playout
    airtime-liquidsoap

    Post edited by Cliff Wang at 2014-05-14 11:11:47
    Cloud Radio -> http://airtime.pro
  • Restarting Liquidsoap Playout Engine: ('Error loading config file: %s', error(11
    1, 'Connection refused'))

    Unable to connect to the Airtime server.
    HTTP Error 500: Internal Server Error
    traceback: Traceback (most recent call last):
      File "generate_liquidsoap_cfg.py", line 37, in <module>
        ss = ac.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 414, in get_stream_set
    ting
        return self.services.get_stream_setting()
      File "/usr/lib/airtime/api_clients/api_client.py", line 137, in __call__
        f = urllib2.urlopen(req)
      File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.6/urllib2.py", line 397, in open
        response = meth(req, response)
      File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.6/urllib2.py", line 435, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 500: Internal Server Error

    Done.
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    sudo service airtime-liquidsoap start

    If it doesn't work,

    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    then,
    sudo service airtime-liquidsoap restart
    Post edited by Cliff Wang at 2014-05-14 11:20:44
    Cloud Radio -> http://airtime.pro
  • same error for all 3 commands
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    sudo airtime-check-system

    What's it say?
    Cloud Radio -> http://airtime.pro
  • hosting:~# sudo airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = UNKNOWN
    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
    -- 2014-05-14 17:26:59,833 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-05-14 17:27:04,838 DEBUG - [api_client.py : __call__() : line 134] - http://automation.stream.youth-fm.de:80/api/version/api_key/PUUGAQVIW585IGA4DL6Q
    -- 2014-05-14 17:27:04,846 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-14 17:27:00,978 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2014-05-14 17:27:00,978 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-14 17:27:00,991 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    -- 2014-05-14 17:27:00,991 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://automation.stream.youth-fm.de:80/api/media-monitor-setup/format/json/api_key/PUUGAQVIW585IGA4DL6Q
    -- 2014-05-14 17:27:01,002 INFO - [Thread-1] [syncdb.py : reload_directories()]: LINE 49 - HTTP Error 500: Internal Server Error
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Your status url is not updated successfully 

    Show me the airtime.conf and api_client.cfg.
    Post edited by Cliff Wang at 2014-05-14 11:31:49
    Cloud Radio -> http://airtime.pro
  • airtime.conf:
    [database]
    host = localhost
    dbname = airtime
    dbuser = airtime
    dbpass = airtime

    [rabbitmq]
    host = 127.0.0.1
    port = 5672
    user = airtime
    password = YFRUPGY9DVLH4JL4GN7F
    vhost = /airtime

    [general]
    api_key = JEU5APQSDMTTB0VSP4XM
    web_server_user = www-data
    airtime_dir = /usr/share/airtime
    base_url = automation.stream.youth-fm.de
    base_port = 80
    base_dir = /
    cache_ahead_hours = 1

    [monit]
    monit_user = guest
    monit_password = airtime

    [soundcloud]
    connection_retries = 3
    time_between_retries = 60

    api_client.cfg:
    bin_dir = /usr/lib/airtime/api_clients
    api_key = 'PUUGAQVIW585IGA4DL6Q'
    api_base = api
    host = automation.stream.youth-fm.de
    base_port = 80
    base_dir = /
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    First of all, api_key doesn't match in 2 file.
    Cloud Radio -> http://airtime.pro
  • changed api_key in api_client.cfg so it matches the api_key in airtime.conf and restarted all services. same errors as before :-/
    Post edited by Christoph Lemke at 2014-05-14 11:47:25
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Run airtime-check-system again, what's output say?
    Cloud Radio -> http://airtime.pro
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    And check /var/log/airtime/zendphp.log for errors
    Cloud Radio -> http://airtime.pro
  • hosting:~# sudo airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:80/api/status/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (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
    -- 2014-05-14 17:49:05,621 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-05-14 17:49:10,627 DEBUG - [api_client.py : __call__() : line 134] - http://automation.stream.youth-fm.de:80/api/version/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-14 17:49:10,635 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-14 17:48:49,059 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2014-05-14 17:48:49,060 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-14 17:48:49,072 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    -- 2014-05-14 17:48:49,072 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://automation.stream.youth-fm.de:80/api/media-monitor-setup/format/json/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-14 17:48:49,082 INFO - [Thread-1] [syncdb.py : reload_directories()]: LINE 49 - HTTP Error 500: Internal Server Error
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
  • /var/log/airtime/zendphp.log doesnt exist
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Status url is still not updated, it should follow /etc/airtime/airtime.conf, something's wrong there in your installation/environment.
    AIRTIME_SERVER_RESPONDING      = OK 
    Cloud Radio -> http://airtime.pro
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    /var/log/airtime/zendphp.log doesnt exist


    Ok, then create it and grant access as:
    -rw-r--r-- 1 www-data www-data 140944 May  1 13:00 /var/log/airtime/zendphp.log
    Cloud Radio -> http://airtime.pro
  • After deleting airtime.conf and creating it new i got this:

    hosting:~# sudo airtime-check-system
    AIRTIME_STATUS_URL             = http://automation.stream.youth-fm.de:80/api/status/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (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
    -- 2014-05-14 18:25:53,919 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-05-14 18:25:58,924 DEBUG - [api_client.py : __call__() : line 134] - http://automation.stream.youth-fm.de:80/api/version/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-14 18:25:59,054 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-14 18:25:41,124 INFO - [Thread-1] [watchersyncer.py : __init__()] : LINE 19 - Created timeout thread...
    -- 2014-05-14 18:25:41,124 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-14 18:25:41,138 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 48 - Initialized RabbitMQ consumer.
    -- 2014-05-14 18:25:41,139 DEBUG - [Thread-1] [api_client.py : __call__()] : LINE 134 - http://automation.stream.youth-fm.de:80/api/media-monitor-setup/format/json/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-14 18:25:41,219 INFO - [Thread-1] [syncdb.py : reload_directories()]: LINE 49 - HTTP Error 503: Service Unavailable
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    how about /var/log/airtime/zendphp.log?
    Cloud Radio -> http://airtime.pro
  • many messages like this:
    2014-05-14T18:25:33+02:00 INFO (6): [Preference.php : getValue() : line 183] - Could not connect to database: SQLSTATE[42P01]: Undefined table: 7 FEHLER:  Relation »cc_pref« existiert nicht
    LINE 1: SELECT COUNT(*) FROM cc_pref WHERE keystr = $1
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Is database installed successfully?

    sudo -u postgres psql airtime?

    Cloud Radio -> http://airtime.pro
  • yes

    hosting:~# sudo -u postgres psql airtime
    psql (8.4.20)
    Geben Sie »help« für Hilfe ein.

    airtime=#
  • But no relation exists :o
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Drop that db, then reinstall Airtime. Make sure /etc/airtime/*.* are correct or just backup them.
    Cloud Radio -> http://airtime.pro
  • The PHP-Extension pdo_pgsq wasnt loaded so airtime couldnt create any tables. I'm reinstalling. Hope it will work now.
  • airtime-check-system:
    AIRTIME_STATUS_URL             = http://automation.stream.youth-fm.de:80/api/sta
    tus/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (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
    -- 2014-05-14 23:32:47,866 INFO - [api_client.py : is_server_compatible() : line
     220] - Unable to get Airtime version number.
    --
    -- 2014-05-14 23:32:52,871 DEBUG - [api_client.py : __call__() : line 134] - htt
    p://automation.stream.youth-fm.de:80/api/version/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-14 23:32:52,987 INFO - [api_client.py : is_server_compatible() : line
     220] - Unable to get Airtime version number.
    --
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöf
    fnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-14 23:32:45,097 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 3
    1 - Error connecting to RabbitMQ Server. Trying again in few seconds
    -- 2014-05-14 23:32:50,102 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : L
    INE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-14 23:32:53,112 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : L
    INE 50 - Failed to initialize RabbitMQ consumer
    -- 2014-05-14 23:32:53,112 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] :
    LINE 51 - Socket closed
    -- 2014-05-14 23:32:53,113 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 3
    1 - Error connecting to RabbitMQ Server. Trying again in few seconds
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

    zendphp.log ist empty
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Looks like rabbitmq server is not connectable. What's the following cmd say:

    sudo rabbitmqctl list_users
    sudo rabbitmqctl list_vhosts
    Cloud Radio -> http://airtime.pro
  • hosting:~# rabbitmqctl list_users
    Listing users ...
    airtime
    guest
    ...done.

    hosting:~# rabbitmqctl list_vhosts
    Listing vhosts ...
    /
    /airtime
    ...done.
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Check your /etc/airtime/airtime.conf, looks like:

    [rabbitmq]
    host = 127.0.0.1
    port = 5672
    user = airtime
    password = OV95QZ7MXA80GVINA5Z5
    vhost = /airtime

    Show me your cfg. 

    I'm afraid you may need to reset airtime's password in rabbitmq

    sudo rabbitmqctl change_password {username} {newpassword}
    Cloud Radio -> http://airtime.pro
  • [rabbitmq]
    host = 127.0.0.1
    port = 5672
    user = airtime
    password = YFRUPGY9DVLH4JL4GN7F
    vhost = /airtime

    hosting:~# rabbitmqctl change_password airtime YFRUPGY9DVLH4JL4GN7F
    Changing password for user "airtime" ...
    ...done.


    hosting:~# sudo airtime-check-system
    AIRTIME_STATUS_URL             = http://automation.stream.youth-fm.de:80/api/status/format/json/api_key/%%api_key%%
    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 6.0.9 (squeeze) i686
    CPU                            = Intel(R) Pentium(R) 4 CPU 3.00GHz
    WEB_SERVER                     = Apache/2.2.16 (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
    -- 2014-05-15 17:18:02,436 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    -- 2014-05-15 17:18:07,441 DEBUG - [api_client.py : __call__() : line 134] - http://automation.stream.youth-fm.de:80/api/version/api_key/JEU5APQSDMTTB0VSP4XM
    -- 2014-05-15 17:18:07,468 INFO - [api_client.py : is_server_compatible() : line 220] - Unable to get Airtime version number.
    --
    --
    --
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    tail: "/var/log/airtime/pypo-liquidsoap/ls_script.log" kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    --
    --
    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
    -- 2014-05-15 17:18:01,947 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    -- 2014-05-15 17:18:04,960 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 50 - Failed to initialize RabbitMQ consumer
    -- 2014-05-15 17:18:04,961 ERROR - [Thread-1] [airtime.py : init_rabbit_mq()] :LINE 51 - Socket closed
    -- 2014-05-15 17:18:04,961 ERROR - [Thread-1] [airtime.py : __init__()] : LINE 31 - Error connecting to RabbitMQ Server. Trying again in few seconds
    -- 2014-05-15 17:18:09,967 INFO - [Thread-1] [airtime.py : init_rabbit_mq()] : LINE 36 - Initializing RabbitMQ message consumer...
    --
    --
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Restarted services?
    Cloud Radio -> http://airtime.pro
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    /var/log/apache2/error.log?
    /var/log/airtime/zendphp.log?
    Cloud Radio -> http://airtime.pro
  • both empty
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    sudo service apache2 reload, check if it's still empty
    Cloud Radio -> http://airtime.pro
  • [Thu May 15 17:44:04 2014] [error] an unknown filter was not added: DEFLATE
  • hosting:~# a2enmod deflate
    Enabling module deflate.
    Run '/etc/init.d/apache2 restart' to activate new configuration!
    hosting:~# service apache2 reload

    error.log:
    [Thu May 15 17:48:19 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
    Post edited by Christoph Lemke at 2014-05-15 11:49:55
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    ls -l /var/log/airtime/zendphp.log?
    Cloud Radio -> http://airtime.pro
  • -rwxrwxrwx 1 root root 0 15. Mai 16:04 /var/log/airtime/zendphp.log
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Looks like something's wrong related to php settings, but we need more details to debug, hmmmm
    Cloud Radio -> http://airtime.pro