Installation Error with Debian+Plesk11
  • Hello Guys!

    I really need help ...  I've been trying for 2 days to install airtime
    but I get one error after another ...
    • locales error (encoding utf-8 postreq) - fixed
    • monit error becauses plesk watchdog - fixed
    • and finally the 500 Internal Server Error

    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN

    -- Displaying log file /var/log/airtime/pypo/pypo.log
    --     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    -- HTTPError: HTTP Error 500: Internal Server Error
    --
    -- 2013-05-11 16:22:47,833 INFO - [api_client.py : is_server_compatible() : line 162] - Unable to get Airtime version number.

    during installation ... I configured the plesk vhost.conf to a subdomain like http://airtime.xxxxx.yy
    but i only get a blank screen if i try to call the URL. Sorry not a complete empty screen ... it shows the favicon ...


    This is my VPS Setup:

    Intel(R) Xeon(R) CPU E5645  @ 2.40GHz
    Plesk 11 with Debian 6.0.7 (squeeze) i686
    apache 2.2.16 with php5.3.3

    and this is the vhost.conf located under /var/www/sub.domain.yy/conf/

    ServerName airtime.xxxx.yyy
       ServerAdmin root@localhost
       DocumentRoot /usr/share/airtime/public
       php_admin_value upload_tmp_dir /tmp

      <Directory /usr/share/airtime/public>
          DirectoryIndex index.php
          AllowOverride all
          Order allow,deny
          Allow from all
      </Directory>

    i checked the api_client.cfg and the i think airtime.conf ... everything seems to be ok ..
    please help me to get airtime running. Maybe someone have experience with plesk and
    airtime installation and got the same errors ...

    Greetings
    Malus
  • 13 Comments sorted by
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Any error in apache error log?
    Cloud Radio -> http://airtime.pro
  • argh i forgot to look in ...

    PHP Fatal error:  main(): Failed opening required 'Zend/Application.php' (include_path='/usr/share/airtime/application/controllers/plugins:/usr/share/airtime/application/models:/usr/share/airtime/application/common:.::/usr/share/airtime/library') in /usr/share/airtime/public/index.php on line 48

    zend framework error?
    zendframework 1.10.6-1squeeze2


    Post edited by steven starker at 2013-05-12 06:25:43
  • and it fails and fails and fails ...

    damn ... day #4 airtime installation with plesk server impossible (for me ...)

    please can anybody help me?
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    It sounds like it (Airtime) don't have access to Zend/Application.php or it doesn't exist.
    Cloud Radio -> http://airtime.pro
  • i saw it ... but zend is installed ...

    zendframework 1.10.6-1squeeze2

    i think that plesk is the problem .. i tried also to include it manual in the vhost.conf of the subdomain

    php_admin_value include_path ".:/var/www/ZendFramework-2.0.0/library:/usr/share/airtime/library"
    php_admin_value open_basedir "/var/www/ZendFramework-2.0.0/library:/usr/share/airtime/:/usr/share/airtime/application/models:/usr/share/airtime/application"

    but nothing happend ...
  • @Steve

    PHP Fatal error: main(): Failed opening required 'Zend/Application.php'
    > (include_path='/usr/share/airtime/application/controllers/plugins:/usr/share/airtime/application/models:/usr/share/airtime/application/common:.::/usr/share/airtime/library')
    > in /usr/share/airtime/public/index.php on line 48
    >

    This Plesk is very strange - it doesn't set the correct include paths.

    Please open your php.ini file and uncomment (remove preceding semicolon)
    from the "include_path" link

    ;include_path = ".:/usr/share/php"



    --
    Open source radio in the cloud. Get yours now! -
    Airtime Pro Hosting: http://airtime.pro
  • done ... but same problem .. it shows only blank page and the favicon

    *** 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.7 (squeeze) i686
    CPU                            = Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz
    WEB_SERVER                     = Apache
    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
    --     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    -- HTTPError: HTTP Error 500: Internal Server Error
    --
    -- 2013-05-13 18:30:16,639 INFO - [api_client.py : is_server_compatible() : line 162] - Unable to get Airtime version number.
    --
    --
    --
    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
    --   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
    --
    -- 2013-05-13 18:30:12,892 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.

    Post edited by steven starker at 2013-05-13 12:37:15
  • First make sure you edited the correct php.ini file. Most systems have two.
    Second, post the error logs again.


    On Mon, May 13, 2013 at 12:33 PM, steven starker <<br />airtime-support@lists.sourcefabric.org> wrote:

    > done ... but same problem .. it shows only blank page and the favicon
    >
    >
    Airtime Pro Hosting: http://airtime.pro
  • @martin, thanks for help ...


    i think its the correct php.ini
    /etc/php5/apache2
    the other one is only for the plesk enviroment i think

    which error log do you need?

    <apache error.log>
    [Mon May 13 18:48:50 2013] [notice] caught SIGTERM, shutting down
    [Mon May 13 18:48:52 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Mon May 13 18:48:52 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Mon May 13 18:48:52 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Mon May 13 18:48:52 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Mon May 13 18:48:52 2013] [notice] Digest: generating secret for digest authentication ...
    [Mon May 13 18:48:52 2013] [notice] Digest: done
    [Mon May 13 18:48:52 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 36 bytes)
    [Mon May 13 18:48:52 2013] [notice] mod_bw : Version 0.91 - Initialized [0 Confs]
    [Mon May 13 18:48:52 2013] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
    [Mon May 13 18:48:52 2013] [error] python_init: Python executable found '/usr/bin/python'.
    [Mon May 13 18:48:52 2013] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
    [Mon May 13 18:48:52 2013] [notice] mod_python: Creating 8 session mutexes based on 100 max processes and 0 max threads.
    [Mon May 13 18:48:52 2013] [notice] mod_python: using mutex_directory /tmp 
    [Mon May 13 18:48:52 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Mon May 13 18:48:52 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Mon May 13 18:48:52 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Mon May 13 18:48:52 2013] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_wsgi/3.3 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations





  • i still need help ... can anybody explain me the reason for the bad installation?
  • Please provide the log from Apache error log.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    plesk use an chrooted system
    installing airtime on it is nor really a good thing to do....

  • Vote Up0Vote Down SvenSven
    Posts: 5Member
    Hi. Is there actually a fix to install airtime on the same machine as plesk webhosting?
    I already have 2 IPs. 1 for plesk and mybe airtime and one for icecast.

    I dont see a solution for airtime and plesk. I dont want to change to something else than plesk.

    thx