Problems installing Airtime
  • Greetings, im issues that I'm not able to solve. Followed some preperation guides, failed the install, tried to reinstall but still no success.

    Install gives me bunch of errors, still somehow web client shows up, but things ain't working.

    I attached few files, a picture about web client and installation log as .txt file.
  • 12 Comments sorted by
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    how did you install airtime ?
    have you verified your hosts configuration ?
    you must validate your airtime-vhost into apache too :D
    Post edited by Albert FR at 2013-01-30 11:46:58
  • Well first I tried some easy-setup, which didn't work, then did some preperations added some sources and did "apt-get install airtime".

    I think I've got rid of vhost error, just want it to run on subdomain example (radio.mydomain.com) and not remove default apache virtualhost.

    I can see the web client well, can log in etc, but the its not functional.

    EDIT: Well one thing I've noticed is that some URL's are wrong, its  trying to access my default web server, not the subdomain, example ( http://localhost:80/api/status/format/json/api_key/%%api_key%% ).
    But I want it to be on subdomain, does this have any effect it not working ? 

    Also I have htaccess password protection currently on my default /var/www directory.

    System Check:


    *** Verifying your system environment, running 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 6.0.6 (squeeze) x86_64
    CPU                            = Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
    WEB_SERVER                     = A
    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-01-30 19:20:44,871 DEBUG - [api_client.py : get_response_from_server() : line 92] - http://localhost:80/api/version/api_key/I7L7AW7GFR1ZWMKHWNQF
    -- 2013-01-30 19:20:44,871 ERROR - [api_client.py : get_response_from_server() : line 110] - Error connecting to server, waiting 5 seconds and trying again.
    -- 2013-01-30 19:20:49,878 ERROR - [api_client.py : get_response_from_server() : line 88] - Error Authenticating with remote server: HTTP Error 401: Authorization Required
    -- 2013-01-30 19:20:49,879 DEBUG - [api_client.py : get_response_from_server() : line 92] - http://localhost:80/api/version/api_key/I7L7AW7GFR1ZWMKHWNQF
    -- 2013-01-30 19:20:49,879 ERROR - [api_client.py : get_response_from_server() : line 110] - Error connecting to server, waiting 5 seconds and trying again.
    --
    --
    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
    --
    --
    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-01-30 19:20:49,628 DEBUG - [Thread-2] [api_client.py : get_response_from_server()] : LINE 92 - http://localhost:80/api/list-all-watched-dirs/format/json/api_key/I7L7AW7GFR1ZWMKHWNQF
    -- 2013-01-30 19:20:49,628 ERROR - [Thread-2] [api_client.py : get_response_from_server()] : LINE 110 - Error connecting to server, waiting 5 seconds and trying again.
    -- 2013-01-30 19:20:49,631 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 88 - Error Authenticating with remote server: HTTP Error 401: Authorization Required
    -- 2013-01-30 19:20:49,632 DEBUG - [MainThread] [api_client.py : get_response_from_server()] : LINE 92 - http://localhost:80/api/media-monitor-setup/format/json/api_key/I7L7AW7GFR1ZWMKHWNQF
    -- 2013-01-30 19:20:49,632 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 110 - Error connecting to server, waiting 5 seconds and trying again.
    --
    --
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%
    -- There appears to be a problem with your Airtime installation.
    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    configured to not write apport reports
                                          Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Post edited by J.Kane at 2013-01-30 13:20:41
  • I think I have fixed the issue, no idea what I had going in my mind, frustration I think but fix was simple. Had to modify config files change 'localhost' -> 'radio.mydomain.com'. 

    Thank you for pointing me in right direction.

    Cheers :)
  • Still have one question on mind.

    Is airtime meant for streaming for 24/7 ? I mean if have to create show all the time its not probably going to work isn't it ?

    I have Icacast server set up with fallback mount, so I could connect with Edcast ( winamp plugin ) to my server and stream for there if needed ( mostly for microphone usage ).

    I had problems with previous source clients ( When song is switching, stream stops for a sec ) so I  thought I would give Airtime a shot.
  • Okay I got continuous stream somewhat workin and I'm having new problem, I can't say that audio is choppy but can hear some "static" noises in background. 

    CPU: Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
    Liquidstream uses less that 10% of cpu.

    What may cause this ?
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    nope
    how many ram have you ?
  • Albert FR said:

    nope

    Albert FR said:

    how many ram have you ?



    Nope what ? ( The fact that it isn't meant for 24/7 stream, if thats the case what would you suggest as an
     alternative ? )

    Only 1 gig atm, its running on VPS, but theres about 300mb free still, also noticed that static noise appears only on particular songs, not on all of them.
    Post edited by J.Kane at 2013-01-31 11:33:20
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    in this case two reasons :

    bad file encoding (frequency encoded >44100)
    bad web transfert (try ftp)
  • Well im going to try and resolve this issue, still thank you for your help. 
  • Okay I got continuous stream somewhat workin and I'm having new problem, I can't say that audio is choppy but can hear some "static" noises in background. 

    CPU: Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
    Liquidstream uses less that 10% of cpu.

    What may cause this ?


    If you preview the track via the browser, do you hear the same static?
    Airtime Pro Hosting: http://airtime.pro
  • Okay I got continuous stream somewhat workin and I'm having new problem, I can't say that audio is choppy but can hear some "static" noises in background. 

    CPU: Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
    Liquidstream uses less that 10% of cpu.

    What may cause this ?


    If you preview the track via the browser, do you hear the same static?


    Yes, not all songs are like that, but sometimes it still might get choppy, currently available ( http://imperial-ls.eu:8000/radiohttp://imperial-ls.eu:8000/radio.m3u



  • Post edited by Michi Eyre at 2013-02-02 13:32:56