The server is too slow
  • Hi

    After installing airtime the server is very slow, before there was just apache with one website, and now the website is very slow, 

    The server is running on debin 6 with i5 4 cores and 8gb ram

    Thanks
  • 13 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    something goes wrong
    what said yours logfiles ?
    airtime and apache ?
  • I see about 20 apaches processes
    cpu is about 95% usage
    I see nothing in apache error log file
    I have stopped airtime and the server is always too slow
  • If you use the "top" shell command you should be able which process is using up your CPU time.
    Airtime Pro Hosting: http://airtime.pro
  • here is the result of top

    top - 16:56:26 up 13:18,  1 user,  load average: 12.96, 12.09, 13.87
    Tasks: 118 total,  11 running, 107 sleeping,   0 stopped,   0 zombie
    Cpu(s): 93.2%us,  6.8%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   3145728k total,  1082956k used,  2062772k free,        0k buffers
    Swap:        0k total,        0k used,        0k free,   108328k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    12188 www-data  20   0  328m  45m  23m S    6  1.5   0:01.43 apache2
    12191 www-data  20   0  334m  51m  23m S    6  1.7   0:01.41 apache2
    12108 www-data  20   0  329m  46m  23m S    6  1.5   0:03.30 apache2
    12137 www-data  20   0  333m  52m  25m S    6  1.7   0:03.04 apache2
    12161 www-data  20   0  334m  51m  23m R    6  1.7   0:02.95 apache2
    12203 www-data  20   0  328m  44m  21m S    6  1.4   0:00.35 apache2
    12109 www-data  20   0  329m  46m  23m S    5  1.5   0:03.01 apache2
    12145 www-data  20   0  334m  51m  23m S    5  1.7   0:03.10 apache2
    12086 www-data  20   0  336m  53m  23m S    5  1.8   0:03.26 apache2
    12118 www-data  20   0  328m  45m  23m S    5  1.5   0:03.31 apache2
    12146 www-data  20   0  337m  57m  25m S    5  1.9   0:02.89 apache2
    12122 www-data  20   0  335m  52m  23m R    4  1.7   0:03.11 apache2
    12110 www-data  20   0  335m  51m  23m R    4  1.7   0:03.43 apache2
    12120 www-data  20   0  335m  51m  23m R    4  1.7   0:03.23 apache2
    12134 www-data  20   0  333m  50m  23m R    4  1.6   0:02.94 apache2
    12139 www-data  20   0  334m  54m  25m R    4  1.8   0:02.90 apache2
    12106 www-data  20   0  336m  54m  23m R    4  1.8   0:03.40 apache2
    12115 www-data  20   0  328m  45m  23m S    3  1.5   0:03.00 apache2
    12190 www-data  20   0  332m  49m  23m R    3  1.6   0:01.67 apache2
    12183 www-data  20   0  334m  51m  23m R    3  1.7   0:02.67 apache2
    12105 www-data  20   0  340m  60m  25m S    2  2.0   0:03.25 apache2
    12136 www-data  20   0  334m  51m  23m S    2  1.7   0:03.15 apache2
    12197 www-data  20   0  329m  46m  23m S    2  1.5   0:00.72 apache2
     3179 mysql     20   0  340m  88m 7624 S    1  2.9  11:41.89 mysqld
    27730 pypo       5 -15 32644 8504 2980 S    0  0.3   0:05.35 python
        1 root      20   0  8360  184   56 S    0  0.0   0:00.27 init
        2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd/326
        3 root      20   0     0    0    0 S    0  0.0   0:00.00 khelper/326
      534 root      20   0 63364 1132  388 S    0  0.0   0:00.34 nmbd
      550 root      20   0 93336 1064   92 S    0  0.0   0:00.00 smbd
      556 root      20   0 93336 1012   52 S    0  0.0   0:00.00 smbd
      557 root      20   0  122m 1112  584 S    0  0.0   0:03.79 rsyslogd
      560 root      20   0 54568  500    0 S    0  0.0   0:00.00 saslauthd
      617 root      20   0 49180  768  216 S    0  0.0   0:00.00 sshd
      623 root      20   0 54568  500    0 S    0  0.0   0:00.00 saslauthd
      635 root      20   0 32028 1080  528 S    0  0.0   0:01.51 ntpd
      705 root      20   0 19340  208    4 S    0  0.0   0:00.00 xinetd

  • Not sure what is going on here, what about your other hosted webpage? I'm curious about how you are hosting that and Airtime together. What happens when you do "service apache2 restart"?

    Airtime Pro Hosting: http://airtime.pro
  • The other wepage is very slow now
    when i do service apache2 restart apache is restarting fine

    It seams like there are too many apache modules enabled at the same time
  • Too many apache processes you mean? I'm running Squeeze as well and have the same amount of Apache processes running, but they are all near 0% CPU usage so they don't show up in "top". Do you have many users or many browsers open using Airtime?

    You can check what is making requests to your server (and creating high CPU usage) by looking in:

    /var/log/apache2/access.log
    or
    /var/log/apache2/other_vhosts_access.log
    Airtime Pro Hosting: http://airtime.pro
  • Here is the acces log 

     tail -f /var/log/apache2/access.log
    127.0.0.1 - - [17/Aug/2012:18:39:45 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:45 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:45 +0200] "GET /api/version/api_key/C27BOBDDQUN03MGL1KFR HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:45 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:46 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:46 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:46 +0200] "GET /api/register-component/format/json/api_key/C27BOBDDQUN03MGL1KFR/component/media-monitor HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:46 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:47 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:47 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:47 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:48 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:49 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:49 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:49 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:49 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:49 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:50 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:50 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:50 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 301 590 "-" "Python-urllib/2.6"
    127.0.0.1 - - [17/Aug/2012:18:39:50 +0200] "GET /api/get-stream-setting/format/json/api_key/C27BOBDDQUN03MGL1KFR/ HTTP/1.1" 404 1226 "-" "Python-urllib/2.6"

    and 


    tail -f /var/log/apache2/other_vhosts_access.log
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:26 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:31 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 579 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:31 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:31 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:36 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 583 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:36 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:36 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:41 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:41 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 582 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:42 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:46 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 580 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:46 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:46 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:51 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 581 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:51 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:51 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:56 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:56 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:42:56 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 583 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:43:01 +0200] "GET /Preference/is-import-in-progress HTTP/1.1" 200 382 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:43:01 +0200] "GET /Schedule/get-current-playlist/format/json HTTP/1.1" 200 581 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"
    radio.acmslt.fr:80 89.226.4.18 - - [17/Aug/2012:18:43:01 +0200] "GET /showbuilder/check-builder-feed?format=json&start=1345221540&end=1345307940&timestamp=1345221566 HTTP/1.1" 200 400 "http://radio.acmslt.fr/Showbuilder" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1"


    No There are no user or browsers using airtime

    I mean that before there was only few processes
  • It appears that the python service Pypo is trying to contact your server over and over again is causing a high CPU load.

    Is Airtime installed as the document root of the Apache server?
    Airtime Pro Hosting: http://airtime.pro
  • Airtime is not in the /var/www folder

    I have purged airtime and then tried to reinstall it : 

    no error until

    Debian package of Airtime detected...

    * Making sure /etc/default/locale is set properly
    #LANG=en_US.UTF-8
     * None found.
    * Temporarily stopping any previous running services

    ******************************** Install Begin *********************************
    Ensuring python-virtualenv version > 1.4.8...Success!

    *** Creating Virtualenv for Airtime ***
    Already using interpreter /usr/bin/python
    New python executable in /usr/lib/airtime/airtime_virtualenv/bin/python
    Installing distribute.................................................................................................................................................................................done.

    *** Installing Python Libraries ***
    Unpacking /var/lib/airtime/tmp/python_apps/python-virtualenv/airtime_virtual_env.pybundle
    Downloading/unpacking pyinotify
      Running setup.py egg_info for package pyinotify
    Downloading/unpacking pytz
      Running setup.py egg_info for package pytz
        warning: no files found matching '*.pot' under directory 'pytz'
        warning: no previously-included files found matching 'test_zdump.py'
    Downloading/unpacking mutagen
      Running setup.py egg_info for package mutagen
    Downloading/unpacking anyjson
      Running setup.py egg_info for package anyjson
    Downloading/unpacking configobj
      Running setup.py egg_info for package configobj
    Downloading/unpacking amqplib
      Running setup.py egg_info for package amqplib
    Downloading/unpacking kombu
      Running setup.py egg_info for package kombu
    Downloading/unpacking poster
      Running setup.py egg_info for package poster
    Installing collected packages: amqplib, anyjson, configobj, kombu, mutagen, poster, pyinotify, pytz
      Running setup.py install for amqplib
      Running setup.py install for anyjson
      Running setup.py install for configobj
      Running setup.py install for kombu
      Running setup.py install for mutagen
        changing mode of build/scripts-2.6/mutagen-inspect from 644 to 755
        changing mode of build/scripts-2.6/mutagen-pony from 644 to 755
        changing mode of build/scripts-2.6/moggsplit from 644 to 755
        changing mode of build/scripts-2.6/mid3iconv from 644 to 755
        changing mode of build/scripts-2.6/mid3v2 from 644 to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mutagen-inspect to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mutagen-pony to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/moggsplit to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mid3iconv to 755
        changing mode of /usr/lib/airtime/airtime_virtualenv/bin/mid3v2 to 755
      Running setup.py install for poster
      Running setup.py install for pyinotify
      Running setup.py install for pytz
        warning: no files found matching '*.pot' under directory 'pytz'
        warning: no previously-included files found matching 'test_zdump.py'
    Successfully installed amqplib anyjson configobj kombu mutagen poster pyinotify pytz
    Cleaning up...

    *** Patching Python Libraries ***
     * Patching virtualenv libraries in /usr/lib/airtime/airtime_virtualenv/lib/python2.6

       ---Applying Patches for mutagen---
    patching file site-packages/mutagen/mp3.py
    Hunk #1 succeeded at 205 (offset -4 lines).
    patching file site-packages/mutagen/mp3.py
    Hunk #2 succeeded at 169 (offset -4 lines).
    * Checking for user pypo
     * Creating user pypo
    * Creating INI files
    * Initializing INI files
    * Airtime Version: 2.1.3
    * Storage directory setup
    * Directory /srv/airtime/stor created
    * Giving Apache permission to access /srv/airtime/stor
    * Directory /srv/airtime/stor/organize created
    * Giving Apache permission to access /srv/airtime/stor/organize
    * Checking database for correct encoding

    * Database Installation
     * Creating Airtime database user
      * Database user 'airtime' created.
     * Creating Airtime database
      * Database 'airtime' created.
     * Installing Postgres scripting language
     * Creating database tables
     * Setting Airtime version
     * Inserting stor directory location /srv/airtime/stor/ into music_dirs table
    * Creating /etc/airtime
    * Creating /etc/monit/conf.d/monit-airtime-generic.cfg
    * Creating /etc/cron.d/airtime-crons
    * Creating /usr/lib/airtime
    * Creating symbolic links in /usr/bin
    * Creating /var/log/airtime
    * Creating /usr/share/airtime
    * Creating /var/log/airtime
    * Creating /var/tmp/airtime
    * Waiting for media-monitor processes to start...
    Starting Airtime Media Monitor: Done.
    * Detecting OS: ...  Found Debian GNU/Linux 6.0.5 (squeeze) (squeeze) on amd64 architecture
    * Clearing previous pypo cache
    * Waiting for pypo processes to start...
    Stopping daemon monitor: monit.
    Starting daemon monitor: monit.

    *** 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.5 (squeeze) x86_64
    CPU                            = Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
    WEB_SERVER                     = Apache
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    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
    Setting up python-pip (0.7.2-1) ...
    configured to not write apport reports
                                          Processing triggers for python-support ...
    Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • In the end of that log, airtime-check-system runs and connects to "http://localhost:80" to get Airtime service status. Please verify that Airtime is code is responding to http://localhost requests.

    I think there might be a conflict with your other Apache vhost file.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    that's what I said before ;-)
    publish your vhosts here ;-)
  • Hi 

    Thanks for your help, it's fixed , i don't know how, i have just reinstalled airtime and postgresql and everything looks fine, i just can't rebroacast a stream, i don't know if i need icecast to be installed 

    Thanks again for you help