ajenti / ajenti

Ajenti Core and stock plugins
http://ajenti.org/core/
MIT License
7.57k stars 845 forks source link

Crash while adding new website #295

Closed Swahjak closed 10 years ago

Swahjak commented 10 years ago

Ajenti 1.2.17.2 bug report

Detected platform: debian / ubuntu / Linaro 13.09

Architecture: armv7l armv7l

Python: 2.7.4 Installation: 35452672 Debug: False Locale: (None, None) Loaded plugins: main dashboard services power terminal scripts webserver_common glslideshow_flags packages resources plugins hosts nginx cron tasks fm codemirror notepad db_common mysql fstab configurator iptables sensors logs ajenti_org network taskmgr users resolv vh vh-nginx vh-mysql vh-vsftpd vh-php-fpm

Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 107, in handle_message self.ui.dispatch_event(update['uid'], update['event'], update['params']) File "/usr/lib/pymodules/python2.7/ajenti/ui/init.py", line 73, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 369, in dispatch_event getattr(self, k)(**(params or {})) File "/var/lib/ajenti/plugins/vh/main.py", line 86, in save self.manager.update_configuration() File "/var/lib/ajenti/plugins/vh/api.py", line 210, in update_configuration c.apply_configuration() File "/var/lib/ajenti/plugins/vh-php-fpm/phpfpm.py", line 89, in apply_configuration if not s.running: AttributeError: 'NoneType' object has no attribute 'running'

http://ajenti.org/catcher/view/4010

Log content: 2014-03-04 21:44:04,646 INFO ajenti-panel.(): Using config file /etc/ajenti/config.json 2014-03-04 21:44:04,802 DEBUG compat.Popen(): Popen: git describe --tags 2> /dev/null 2014-03-04 21:44:04,837 DEBUG compat.Popen(): Popen: ['lsb_release', '-sd'] 2014-03-04 21:44:05,659 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'> 2014-03-04 21:44:05,993 WARNING core.run(): Couldn't set default locale 2014-03-04 21:44:05,995 INFO core.run(): Ajenti 1.2.17.2 running on platform: debian 2014-03-04 21:44:05,998 DEBUG init.load(): Loading plugin elements 2014-03-04 21:44:05,999 WARNING init.load(): * [elements] Plugin error: format error 2014-03-04 21:44:06,000 DEBUG init.load(): Loading plugin megaraid 2014-03-04 21:44:06,002 DEBUG init.load_recursive(): Preloading plugin dependency: main 2014-03-04 21:44:06,002 DEBUG init.load(): Loading plugin main 2014-03-04 21:44:06,044 DEBUG init.load(): Loading plugin megaraid 2014-03-04 21:44:06,046 WARNING init.load(): * [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli) 2014-03-04 21:44:06,047 DEBUG init.load(): Loading plugin nsd 2014-03-04 21:44:06,049 DEBUG init.load_recursive(): Preloading plugin dependency: services 2014-03-04 21:44:06,050 DEBUG init.load(): Loading plugin services 2014-03-04 21:44:06,051 DEBUG init.load_recursive(): Preloading plugin dependency: dashboard 2014-03-04 21:44:06,052 DEBUG init.load(): Loading plugin dashboard 2014-03-04 21:44:06,060 DEBUG init.load(): Loading plugin services 2014-03-04 21:44:06,110 DEBUG init.load(): Loading plugin nsd 2014-03-04 21:44:06,111 DEBUG compat.Popen(): Popen: ['which', 'nsd'] 2014-03-04 21:44:06,131 WARNING init.load(): * [nsd] skipping due to BinaryDependency (nsd) 2014-03-04 21:44:06,136 DEBUG init.load(): Loading plugin power 2014-03-04 21:44:06,142 DEBUG init.load(): Loading plugin scripts 2014-03-04 21:44:06,144 DEBUG init.load_recursive(): Preloading plugin dependency: terminal 2014-03-04 21:44:06,145 DEBUG init.load(): Loading plugin terminal 2014-03-04 21:44:06,208 DEBUG init.load(): Loading plugin scripts 2014-03-04 21:44:06,212 DEBUG init.load(): Loading plugin apache 2014-03-04 21:44:06,214 DEBUG init.load_recursive(): Preloading plugin dependency: webserver_common 2014-03-04 21:44:06,215 DEBUG init.load(): Loading plugin webserver_common 2014-03-04 21:44:06,218 DEBUG init.load(): Loading plugin apache 2014-03-04 21:44:06,220 DEBUG compat.Popen(): Popen: ['which', 'apache2'] 2014-03-04 21:44:06,240 WARNING init.load(): * [apache] skipping due to BinaryDependency (apache2) 2014-03-04 21:44:06,243 DEBUG init.load(): Loading plugin exports 2014-03-04 21:44:06,245 DEBUG compat.Popen(): Popen: ['which', 'nfsstat'] 2014-03-04 21:44:06,268 WARNING init.load(): * [exports] skipping due to BinaryDependency (nfsstat) 2014-03-04 21:44:06,270 DEBUG init.load(): Loading plugin glslideshow_flags 2014-03-04 21:44:06,274 DEBUG init.load(): Loading plugin packages 2014-03-04 21:44:06,288 DEBUG init.load(): Loading plugin resources 2014-03-04 21:44:06,296 DEBUG init.load(): Loading plugin plugins 2014-03-04 21:44:06,299 DEBUG init.load(): Loading plugin hosts 2014-03-04 21:44:06,302 DEBUG init.load(): Loading plugin dhcpd 2014-03-04 21:44:06,304 DEBUG compat.Popen(): Popen: ['which', 'dhcpd'] 2014-03-04 21:44:06,325 WARNING init.load(): * [dhcpd] skipping due to BinaryDependency (dhcpd) 2014-03-04 21:44:06,327 DEBUG init.load(): Loading plugin nginx 2014-03-04 21:44:06,329 DEBUG compat.Popen(): Popen: ['which', 'nginx'] 2014-03-04 21:44:06,351 DEBUG init.load(): Loading plugin apcups 2014-03-04 21:44:06,353 DEBUG compat.Popen(): Popen: ['which', 'apcaccess'] 2014-03-04 21:44:06,379 WARNING init.load(): * [apcups] skipping due to BinaryDependency (apcaccess) 2014-03-04 21:44:06,383 DEBUG init.load(): Loading plugin fm 2014-03-04 21:44:06,385 DEBUG init.load_recursive(): Preloading plugin dependency: tasks 2014-03-04 21:44:06,386 DEBUG init.load(): Loading plugin tasks 2014-03-04 21:44:06,388 DEBUG init.load_recursive(): Preloading plugin dependency: cron 2014-03-04 21:44:06,388 DEBUG init.load(): Loading plugin cron 2014-03-04 21:44:06,390 DEBUG compat.Popen(): Popen: ['which', 'crontab'] 2014-03-04 21:44:06,415 DEBUG init.load(): Loading plugin tasks 2014-03-04 21:44:06,426 DEBUG init.load(): Loading plugin fm 2014-03-04 21:44:06,437 DEBUG init.load(): Loading plugin notepad 2014-03-04 21:44:06,439 DEBUG init.load_recursive(): Preloading plugin dependency: codemirror 2014-03-04 21:44:06,439 DEBUG init.load(): Loading plugin codemirror 2014-03-04 21:44:06,443 DEBUG init.load(): Loading plugin notepad 2014-03-04 21:44:06,448 DEBUG init.load(): Loading plugin mysql 2014-03-04 21:44:06,450 DEBUG init.load_recursive(): Preloading plugin dependency: db_common 2014-03-04 21:44:06,450 DEBUG init.load(): Loading plugin db_common 2014-03-04 21:44:06,454 DEBUG init.load(): Loading plugin mysql 2014-03-04 21:44:06,456 DEBUG compat.Popen(): Popen: ['which', 'mysql'] 2014-03-04 21:44:06,476 DEBUG compat.Popen(): Popen: ['which', 'mysqld_safe'] 2014-03-04 21:44:06,501 DEBUG init.load(): Loading plugin ipmi 2014-03-04 21:44:06,503 DEBUG compat.Popen(): Popen: ['which', 'ipmitool'] 2014-03-04 21:44:06,524 WARNING init.load(): * [ipmi] skipping due to BinaryDependency (ipmitool) 2014-03-04 21:44:06,526 DEBUG init.load(): Loading plugin openvpn 2014-03-04 21:44:06,528 DEBUG compat.Popen(): Popen: ['which', 'openvpn'] 2014-03-04 21:44:06,549 WARNING init.load(): * [openvpn] skipping due to BinaryDependency (openvpn) 2014-03-04 21:44:06,551 DEBUG init.load(): Loading plugin hddtemp 2014-03-04 21:44:06,554 DEBUG compat.Popen(): Popen: ['which', 'hddtemp'] 2014-03-04 21:44:06,574 WARNING init.load(): * [hddtemp] skipping due to BinaryDependency (hddtemp) 2014-03-04 21:44:06,576 DEBUG init.load(): Loading plugin fstab 2014-03-04 21:44:06,711 DEBUG init.load(): Loading plugin configurator 2014-03-04 21:44:06,718 DEBUG init.load(): Loading plugin smartctl 2014-03-04 21:44:06,719 DEBUG compat.Popen(): Popen: ['which', 'smartctl'] 2014-03-04 21:44:06,740 WARNING init.load(): * [smartctl] skipping due to BinaryDependency (smartctl) 2014-03-04 21:44:06,743 DEBUG init.load(): Loading plugin iptables 2014-03-04 21:44:06,754 DEBUG init.load(): Loading plugin sensors 2014-03-04 21:44:06,766 DEBUG init.load(): Loading plugin bind9 2014-03-04 21:44:06,768 DEBUG compat.Popen(): Popen: ['which', 'named'] 2014-03-04 21:44:06,789 WARNING init.load(): * [bind9] skipping due to BinaryDependency (named) 2014-03-04 21:44:06,791 DEBUG init.load(): Loading plugin raid 2014-03-04 21:44:06,793 DEBUG compat.Popen(): Popen: ['which', 'mdadm'] 2014-03-04 21:44:06,814 WARNING init.load(): * [raid] skipping due to BinaryDependency (mdadm) 2014-03-04 21:44:06,816 DEBUG init.load(): Loading plugin logs 2014-03-04 21:44:06,823 DEBUG init.load(): Loading plugin ajenti_org 2014-03-04 21:44:06,828 DEBUG init.load(): Loading plugin samba 2014-03-04 21:44:06,829 DEBUG compat.Popen(): Popen: ['which', 'smbd'] 2014-03-04 21:44:06,850 WARNING init.load(): * [samba] skipping due to BinaryDependency (smbd) 2014-03-04 21:44:06,852 DEBUG init.load(): Loading plugin munin 2014-03-04 21:44:06,855 DEBUG compat.Popen(): Popen: ['which', 'munin-cron'] 2014-03-04 21:44:06,875 WARNING init.load(): * [munin] skipping due to BinaryDependency (munin-cron) 2014-03-04 21:44:06,877 DEBUG init.load(): Loading plugin memcache 2014-03-04 21:44:06,879 DEBUG compat.Popen(): Popen: ['which', 'memcached'] 2014-03-04 21:44:06,900 WARNING init.load(): * [memcache] skipping due to BinaryDependency (memcached) 2014-03-04 21:44:06,902 DEBUG init.load(): Loading plugin supervisor 2014-03-04 21:44:06,904 DEBUG compat.Popen(): Popen: ['which', 'supervisord'] 2014-03-04 21:44:06,926 WARNING init.load(): * [supervisor] skipping due to BinaryDependency (supervisord) 2014-03-04 21:44:06,928 DEBUG init.load(): Loading plugin lm_sensors 2014-03-04 21:44:06,930 DEBUG compat.Popen(): Popen: ['which', 'sensors'] 2014-03-04 21:44:06,951 WARNING init.load(): * [lm_sensors] skipping due to BinaryDependency (sensors) 2014-03-04 21:44:06,953 DEBUG init.load(): Loading plugin ctdb 2014-03-04 21:44:06,955 DEBUG compat.Popen(): Popen: ['which', 'ctdb'] 2014-03-04 21:44:06,981 WARNING init.load(): * [ctdb] skipping due to BinaryDependency (ctdb) 2014-03-04 21:44:06,983 DEBUG init.load(): Loading plugin network 2014-03-04 21:44:06,999 DEBUG init.load(): Loading plugin taskmgr 2014-03-04 21:44:07,004 DEBUG init.load(): Loading plugin netatalk 2014-03-04 21:44:07,006 DEBUG compat.Popen(): Popen: ['which', 'afpd'] 2014-03-04 21:44:07,027 WARNING init.load(): * [netatalk] skipping due to BinaryDependency (afpd) 2014-03-04 21:44:07,029 DEBUG init.load(): Loading plugin users 2014-03-04 21:44:07,035 DEBUG init.load(): Loading plugin resolv 2014-03-04 21:44:07,038 DEBUG init.load(): Loading plugin psql 2014-03-04 21:44:07,040 DEBUG compat.Popen(): Popen: ['which', 'psql'] 2014-03-04 21:44:07,061 WARNING init.load(): * [psql] skipping due to BinaryDependency (psql) 2014-03-04 21:44:07,064 DEBUG init.load(): Loading plugin squid 2014-03-04 21:44:07,066 DEBUG compat.Popen(): Popen: ['which', 'squid3'] 2014-03-04 21:44:07,086 WARNING init.load(): * [squid] skipping due to BinaryDependency (squid3) 2014-03-04 21:44:07,089 DEBUG init.load(): Loading plugin vh-nginx 2014-03-04 21:44:07,093 DEBUG init.load_recursive(): Preloading plugin dependency: vh 2014-03-04 21:44:07,094 DEBUG init.load(): Loading plugin vh 2014-03-04 21:44:07,144 DEBUG init.load(): Loading plugin vh-nginx 2014-03-04 21:44:07,157 DEBUG init.load(): Loading plugin vh-mysql 2014-03-04 21:44:07,161 DEBUG compat.Popen(): Popen: ['which', 'mysql'] 2014-03-04 21:44:07,182 DEBUG compat.Popen(): Popen: ['which', 'mysqld'] 2014-03-04 21:44:07,217 DEBUG init.load(): Loading plugin vh-vsftpd 2014-03-04 21:44:07,221 DEBUG compat.Popen(): Popen: ['which', 'vsftpd'] 2014-03-04 21:44:07,251 DEBUG init.load(): Loading plugin vh-php-fpm 2014-03-04 21:44:07,256 DEBUG compat.Popen(): Popen: ['which', 'php5-fpm'] 2014-03-04 21:44:07,289 INFO core.run(): Starting server on (u'0.0.0.0', 8000) 2014-03-04 21:44:07,557 DEBUG inflater.precache(): Precaching layout main:file-dialog 2014-03-04 21:44:07,563 DEBUG inflater.precache(): Precaching layout main:file-dialog-save 2014-03-04 21:44:07,570 DEBUG inflater.precache(): Precaching layout main:input-dialog 2014-03-04 21:44:07,579 DEBUG inflater.precache(): Precaching layout dashboard:text 2014-03-04 21:44:07,584 DEBUG inflater.precache(): Precaching layout dashboard:dash 2014-03-04 21:44:07,599 DEBUG inflater.precache(): Precaching layout dashboard:welcome 2014-03-04 21:44:07,602 DEBUG inflater.precache(): Precaching layout services:widget 2014-03-04 21:44:07,611 DEBUG inflater.precache(): Precaching layout services:bar 2014-03-04 21:44:07,615 DEBUG inflater.precache(): Precaching layout services:main 2014-03-04 21:44:07,630 DEBUG inflater.precache(): Precaching layout power:widget 2014-03-04 21:44:07,641 DEBUG inflater.precache(): Precaching layout terminal:config 2014-03-04 21:44:07,645 DEBUG inflater.precache(): Precaching layout terminal:main 2014-03-04 21:44:07,654 DEBUG inflater.precache(): Precaching layout scripts:widget 2014-03-04 21:44:07,692 DEBUG inflater.precache(): Precaching layout webserver_common:main 2014-03-04 21:44:07,710 DEBUG inflater.precache(): Precaching layout glslideshow_flags:main 2014-03-04 21:44:07,718 DEBUG inflater.precache(): Precaching layout packages:headers 2014-03-04 21:44:07,722 DEBUG inflater.precache(): Precaching layout packages:installer 2014-03-04 21:44:07,726 DEBUG inflater.precache(): Precaching layout packages:row 2014-03-04 21:44:07,734 DEBUG inflater.precache(): Precaching layout packages:main 2014-03-04 21:44:07,777 DEBUG inflater.precache(): Precaching layout plugins:main 2014-03-04 21:44:07,825 DEBUG inflater.precache(): Precaching layout hosts:main 2014-03-04 21:44:07,844 DEBUG inflater.precache(): Precaching layout cron:main 2014-03-04 21:44:07,897 DEBUG inflater.precache(): Precaching layout tasks:params-execute 2014-03-04 21:44:07,901 DEBUG inflater.precache(): Precaching layout tasks:params-rsync 2014-03-04 21:44:07,968 DEBUG inflater.precache(): Precaching layout tasks:params-copydir 2014-03-04 21:44:08,044 DEBUG inflater.precache(): Precaching layout tasks:main 2014-03-04 21:44:08,109 DEBUG inflater.precache(): Precaching layout fm:config 2014-03-04 21:44:08,115 DEBUG inflater.precache(): Precaching layout fm:main 2014-03-04 21:44:08,179 DEBUG inflater.precache(): Precaching layout notepad:config 2014-03-04 21:44:08,183 DEBUG inflater.precache(): Precaching layout notepad:listitem 2014-03-04 21:44:08,188 DEBUG inflater.precache(): Precaching layout notepad:main 2014-03-04 21:44:08,255 DEBUG inflater.precache(): Precaching layout db_common:main 2014-03-04 21:44:08,285 DEBUG inflater.precache(): Precaching layout mysql:config 2014-03-04 21:44:08,292 DEBUG inflater.precache(): Precaching layout fstab:free-widget 2014-03-04 21:44:08,299 DEBUG inflater.precache(): Precaching layout fstab:widget 2014-03-04 21:44:08,306 DEBUG inflater.precache(): Precaching layout fstab:iio-widget 2014-03-04 21:44:08,314 DEBUG inflater.precache(): Precaching layout fstab:main 2014-03-04 21:44:08,388 DEBUG inflater.precache(): Precaching layout configurator:ldap-sync-config 2014-03-04 21:44:08,394 DEBUG inflater.precache(): Precaching layout configurator:ad-sync-config 2014-03-04 21:44:08,401 DEBUG inflater.precache(): Precaching layout configurator:main 2014-03-04 21:44:08,479 DEBUG inflater.precache(): Precaching layout iptables:option-interface 2014-03-04 21:44:08,485 DEBUG inflater.precache(): Precaching layout iptables:option-match 2014-03-04 21:44:08,489 DEBUG inflater.precache(): Precaching layout iptables:option-ports 2014-03-04 21:44:08,493 DEBUG inflater.precache(): Precaching layout iptables:option-port 2014-03-04 21:44:08,497 DEBUG inflater.precache(): Precaching layout iptables:option-state 2014-03-04 21:44:08,502 DEBUG inflater.precache(): Precaching layout iptables:option-custom 2014-03-04 21:44:08,510 DEBUG inflater.precache(): Precaching layout iptables:option 2014-03-04 21:44:08,516 DEBUG inflater.precache(): Precaching layout iptables:option-reject-with 2014-03-04 21:44:08,521 DEBUG inflater.precache(): Precaching layout iptables:option-address 2014-03-04 21:44:08,525 DEBUG inflater.precache(): Precaching layout iptables:option-protocol 2014-03-04 21:44:08,530 DEBUG inflater.precache(): Precaching layout iptables:main 2014-03-04 21:44:08,559 DEBUG inflater.precache(): Precaching layout sensors:cpu-line 2014-03-04 21:44:08,563 DEBUG inflater.precache(): Precaching layout sensors:value-widget 2014-03-04 21:44:08,570 DEBUG inflater.precache(): Precaching layout sensors:cpu-widget 2014-03-04 21:44:08,575 DEBUG inflater.precache(): Precaching layout sensors:progressbar-widget 2014-03-04 21:44:08,582 DEBUG inflater.precache(): Precaching layout logs:main 2014-03-04 21:44:08,639 DEBUG inflater.precache(): Precaching layout ajenti_org:config 2014-03-04 21:44:08,660 DEBUG inflater.precache(): Precaching layout ajenti_org:main 2014-03-04 21:44:08,668 DEBUG inflater.precache(): Precaching layout network:bit-linux-dhcp 2014-03-04 21:44:08,677 DEBUG inflater.precache(): Precaching layout network:bit-linux-ifupdown 2014-03-04 21:44:08,683 DEBUG inflater.precache(): Precaching layout network:bit-linux-ipv4 2014-03-04 21:44:08,693 DEBUG inflater.precache(): Precaching layout network:bit-linux-basic 2014-03-04 21:44:08,698 DEBUG inflater.precache(): Precaching layout network:widget 2014-03-04 21:44:08,706 DEBUG inflater.precache(): Precaching layout network:main 2014-03-04 21:44:08,725 DEBUG inflater.precache(): Precaching layout taskmgr:main 2014-03-04 21:44:08,747 DEBUG inflater.precache(): Precaching layout users:user-list 2014-03-04 21:44:08,795 DEBUG inflater.precache(): Precaching layout users:main 2014-03-04 21:44:08,867 DEBUG inflater.precache(): Precaching layout resolv:main 2014-03-04 21:44:08,880 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-ruby-nodejs 2014-03-04 21:44:08,885 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-ruby-puma 2014-03-04 21:44:08,892 DEBUG inflater.precache(): Precaching layout vh:main-website 2014-03-04 21:44:09,206 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-static 2014-03-04 21:44:09,211 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-proxy 2014-03-04 21:44:09,216 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-python-wsgi 2014-03-04 21:44:09,251 DEBUG inflater.precache(): Precaching layout vh:main-website-location 2014-03-04 21:44:09,261 DEBUG inflater.precache(): Precaching layout vh:not-configured 2014-03-04 21:44:09,268 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-php-fcgi 2014-03-04 21:44:09,274 DEBUG inflater.precache(): Precaching layout vh:main-backend-params-ruby-unicorn 2014-03-04 21:44:09,278 DEBUG inflater.precache(): Precaching layout vh:main 2014-03-04 21:44:09,309 DEBUG inflater.precache(): Precaching layout vh-mysql:ext 2014-03-04 21:44:09,320 DEBUG inflater.precache(): Precaching layout vh-vsftpd:ext 2014-03-04 21:44:09,328 DEBUG feedback.send(): Feedback >> ping ({'edition': 'vanilla+vh', 'version': '1.2.17.2', 'os': 'debian', 'id': 30703}) 2014-03-04 21:44:09,337 INFO connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org 2014-03-04 21:44:09,485 DEBUG connectionpool._make_request(): "POST /api/v2/ping HTTP/1.1" 200 36 2014-03-04 21:44:09,489 DEBUG feedback.send(): Feedback << {"status": "ok"} 2014-03-04 21:44:23,040 INFO users.check_password(): user root logged in through AjentiSyncProvider 2014-03-04 21:44:26,571 DEBUG compat.Popen(): Popen: ['df', '-P'] 2014-03-04 21:44:26,815 DEBUG compat.Popen(): Popen: ['ifconfig', 'lo'] 2014-03-04 21:44:26,847 DEBUG compat.Popen(): Popen: ['ifconfig', 'eth0'] 2014-03-04 21:44:27,442 DEBUG compat.Popen(): Popen: ['which', 'pm-suspend'] 2014-03-04 21:44:27,471 DEBUG compat.Popen(): Popen: ['which', 'pm-hibernate'] 2014-03-04 21:45:00,189 DEBUG compat.Popen(): Popen: ['chgrp', 'ftp', '/srv/new-website'] 2014-03-04 21:45:00,220 DEBUG compat.Popen(): Popen: ['chmod', 'g+w', '/srv/new-website'] 2014-03-04 21:45:00,249 DEBUG compat.Popen(): Popen: ['db_load', '-T', '-t', 'hash', '-f', '/tmp/tmpvO4hx9', '/etc/vsftpd/users.db']

Swahjak commented 10 years ago

To add to that, while installing (used aptitude) I got the following output:

aptitude install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm ajenti-v-ftp-vsftpd The following NEW packages will be installed: ajenti-v ajenti-v-ftp-vsftpd ajenti-v-mysql ajenti-v-nginx ajenti-v-php-fpm db-util{a} db5.1-util{a} libaio1{a} libdbd-mysql-perl{a} libdbi-perl{a} libgd2-noxpm{a} libmysqlclient18{a} libnet-daemon-perl{a} libplrpc-perl{a} libterm-readkey-perl{a} mysql-client-5.5{a} mysql-client-core-5.5{a} mysql-common{a} mysql-server{a} mysql-server-5.5{a} mysql-server-core-5.5{a} nginx{a} nginx-common{a} nginx-full{a} php5-common{a} php5-fpm{a} vsftpd{a} 0 packages upgraded, 27 newly installed, 0 to remove and 0 not upgraded. Need to get 30.1 MB of archives. After unpacking 95.5 MB will be used. Do you want to continue? [Y/n/?] y Get: 1 http://ports.ubuntu.com/ubuntu-ports/ raring/main libaio1 armhf 0.3.109-3 [6036 B] Get: 2 http://repo.ajenti.org/ng/debian/ main/main ajenti-v-nginx all 0.1.10 [4258 B] Get: 3 http://repo.ajenti.org/ng/debian/ main/main ajenti-v all 0.2.3 [10.1 kB] Get: 4 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-common all 5.5.29-0ubuntu1 [13.4 kB] Get: 5 http://ports.ubuntu.com/ubuntu-ports/ raring/main libmysqlclient18 armhf 5.5.29-0ubuntu1 [861 kB] Get: 6 http://repo.ajenti.org/ng/debian/ main/main vsftpd armhf 3.0.2-3 [134 kB] Get: 7 http://repo.ajenti.org/ng/debian/ main/main ajenti-v-ftp-vsftpd all 0.2.0 [2376 B] Get: 8 http://repo.ajenti.org/ng/debian/ main/main ajenti-v-mysql all 0.2.1 [2310 B] Get: 9 http://repo.ajenti.org/ng/debian/ main/main ajenti-v-php-fpm all 0.1.2 [1966 B] Get: 10 http://ports.ubuntu.com/ubuntu-ports/ raring/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get: 11 http://ports.ubuntu.com/ubuntu-ports/ raring/main libplrpc-perl all 0.2020-2 [36.0 kB] Get: 12 http://ports.ubuntu.com/ubuntu-ports/ raring/main libdbi-perl armhf 1.622-1 [846 kB] Get: 13 http://ports.ubuntu.com/ubuntu-ports/ raring/main libdbd-mysql-perl armhf 4.021-1 [91.4 kB] Get: 14 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-client-core-5.5 armhf 5.5.29-0ubuntu1 [1743 kB] Get: 15 http://ports.ubuntu.com/ubuntu-ports/ raring/main libterm-readkey-perl armhf 2.30-4build4 [26.3 kB] Get: 16 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-client-5.5 armhf 5.5.29-0ubuntu1 [7684 kB] Get: 17 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-server-core-5.5 armhf 5.5.29-0ubuntu1 [5358 kB] Get: 18 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-server-5.5 armhf 5.5.29-0ubuntu1 [8320 kB] Get: 19 http://ports.ubuntu.com/ubuntu-ports/ raring/main php5-common armhf 5.4.9-4ubuntu2 [1917 kB] Get: 20 http://ports.ubuntu.com/ubuntu-ports/ raring/universe php5-fpm armhf 5.4.9-4ubuntu2 [2378 kB] Get: 21 http://ports.ubuntu.com/ubuntu-ports/ raring/main libgd2-noxpm armhf 2.0.36~rc1~dfsg-6.1ubuntu1 [187 kB] Get: 22 http://ports.ubuntu.com/ubuntu-ports/ raring/universe nginx-common all 1.2.6-1ubuntu3 [18.7 kB] Get: 23 http://ports.ubuntu.com/ubuntu-ports/ raring/universe nginx-full armhf 1.2.6-1ubuntu3 [323 kB] Get: 24 http://ports.ubuntu.com/ubuntu-ports/ raring/universe nginx all 1.2.6-1ubuntu3 [7038 B] Get: 25 http://ports.ubuntu.com/ubuntu-ports/ raring/main db5.1-util armhf 5.1.29-5ubuntu8 [78.3 kB] Get: 26 http://ports.ubuntu.com/ubuntu-ports/ raring/main db-util all 5.1.6 [2914 B] Get: 27 http://ports.ubuntu.com/ubuntu-ports/ raring/main mysql-server all 5.5.29-0ubuntu1 [11.6 kB] Fetched 30.1 MB in 23s (1277 kB/s) Preconfiguring packages ... Selecting previously unselected package libaio1:armhf. (Reading database ... 22448 files and directories currently installed.) Unpacking libaio1:armhf (from .../libaio1_0.3.109-3_armhf.deb) ... Selecting previously unselected package mysql-common. Unpacking mysql-common (from .../mysql-common_5.5.29-0ubuntu1_all.deb) ... Selecting previously unselected package libmysqlclient18:armhf. Unpacking libmysqlclient18:armhf (from .../libmysqlclient18_5.5.29-0ubuntu1_armhf.deb) ... Selecting previously unselected package libnet-daemon-perl. Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ... Selecting previously unselected package libplrpc-perl. Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ... Selecting previously unselected package libdbi-perl. Unpacking libdbi-perl (from .../libdbi-perl_1.622-1_armhf.deb) ... Selecting previously unselected package libdbd-mysql-perl. Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1_armhf.deb) ... Selecting previously unselected package mysql-client-core-5.5. Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.29-0ubuntu1_armhf.deb) ... Selecting previously unselected package libterm-readkey-perl. Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build4_armhf.deb) ... Selecting previously unselected package mysql-client-5.5. Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.29-0ubuntu1_armhf.deb) ... Selecting previously unselected package mysql-server-core-5.5. Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.29-0ubuntu1_armhf.deb) ... Processing triggers for man-db ... Setting up mysql-common (5.5.29-0ubuntu1) ... Selecting previously unselected package mysql-server-5.5. (Reading database ... 22830 files and directories currently installed.) Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.29-0ubuntu1_armhf.deb) ... Selecting previously unselected package php5-common. Unpacking php5-common (from .../php5-common_5.4.9-4ubuntu2_armhf.deb) ... Selecting previously unselected package php5-fpm. Unpacking php5-fpm (from .../php5-fpm_5.4.9-4ubuntu2_armhf.deb) ... Selecting previously unselected package libgd2-noxpm:armhf. Unpacking libgd2-noxpm:armhf (from .../libgd2-noxpm_2.0.36~rc1~dfsg-6.1ubuntu1_armhf.deb) ... Selecting previously unselected package nginx-common. Unpacking nginx-common (from .../nginx-common_1.2.6-1ubuntu3_all.deb) ... Selecting previously unselected package nginx-full. Unpacking nginx-full (from .../nginx-full_1.2.6-1ubuntu3_armhf.deb) ... Selecting previously unselected package nginx. Unpacking nginx (from .../nginx_1.2.6-1ubuntu3_all.deb) ... Selecting previously unselected package ajenti-v-nginx. Unpacking ajenti-v-nginx (from .../ajenti-v-nginx_0.1.10_all.deb) ... Selecting previously unselected package ajenti-v. Unpacking ajenti-v (from .../ajenti-v_0.2.3_all.deb) ... Selecting previously unselected package vsftpd. Unpacking vsftpd (from .../vsftpd_3.0.2-3_armhf.deb) ... Selecting previously unselected package db5.1-util. Unpacking db5.1-util (from .../db5.1-util_5.1.29-5ubuntu8_armhf.deb) ... Selecting previously unselected package db-util. Unpacking db-util (from .../archives/db-util_5.1.6_all.deb) ... Selecting previously unselected package ajenti-v-ftp-vsftpd. Unpacking ajenti-v-ftp-vsftpd (from .../ajenti-v-ftp-vsftpd_0.2.0_all.deb) ... Selecting previously unselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.5.29-0ubuntu1_all.deb) ... Selecting previously unselected package ajenti-v-mysql. Unpacking ajenti-v-mysql (from .../ajenti-v-mysql_0.2.1_all.deb) ... Selecting previously unselected package ajenti-v-php-fpm. Unpacking ajenti-v-php-fpm (from .../ajenti-v-php-fpm_0.1.2_all.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Processing triggers for ufw ... WARN: /lib is group writable! WARN: uid is 0 but '/' is owned by 1003 WARN: /etc is group writable! WARN: /etc/default is group writable! Setting up libaio1:armhf (0.3.109-3) ... Setting up libmysqlclient18:armhf (5.5.29-0ubuntu1) ... Setting up libnet-daemon-perl (0.48-1) ... Setting up libplrpc-perl (0.2020-2) ... Setting up libdbi-perl (1.622-1) ... Setting up libdbd-mysql-perl (4.021-1) ... Setting up mysql-client-core-5.5 (5.5.29-0ubuntu1) ... Setting up libterm-readkey-perl (2.30-4build4) ... Setting up mysql-client-5.5 (5.5.29-0ubuntu1) ... Setting up mysql-server-core-5.5 (5.5.29-0ubuntu1) ... Setting up mysql-server-5.5 (5.5.29-0ubuntu1) ... start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 Setting up php5-common (5.4.9-4ubuntu2) ... Not replacing deleted config file /etc/php5/mods-available/pdo.ini ERROR: /etc/php5/mods-available/pdo.ini does not exist dpkg: error processing php5-common (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of php5-fpm: php5-fpm depends on php5-common (= 5.4.9-4ubuntu2); however: Package php5-common is not configured yet.

dpkg: error processing php5-fpm (--configure): dependency problems - leaving unconfigured Setting up libgd2-noxpm:armhf (2.0.36~rc1~dfsg-6.1ubuntu1) ... Setting up nginx-common (1.2.6-1ubuntu3) ... Setting up vsftpd (3.0.2-3) ... Starting FTP server: vsftpd. Setting up db5.1-util (5.1.29-5ubuntu8) ... Setting up db-util (5.1.6) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ajenti-v-mysql: ajenti-v-mysql depends on mysql-server; however: Package mysql-server is not configured yet.

dpkg: error processing ajenti-v-mysql (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ajenti-v-php-fpm: ajenti-v-php-fpm depends on php5-fpm; however: Package php5-fpm is not configured yet.

dpkg: error processing ajenti-v-php-fpm (--configure): dependency problems - leaving unconfigured Processing triggers for ureadahead ... Processing triggers for ufw ... WARN: /etc is group writable! WARN: uid is 0 but '/' is owned by 1003 WARN: /etc/default is group writable! WARN: /lib is group writable! Setting up nginx-full (1.2.6-1ubuntu3) ... Setting up nginx (1.2.6-1ubuntu3) ... Setting up ajenti-v (0.2.3) ... Setting up ajenti-v-ftp-vsftpd (0.2.0) ... Setting up ajenti-v-nginx (0.1.10) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: mysql-server-5.5 php5-common php5-fpm mysql-server ajenti-v-mysql ajenti-v-php-fpm E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up php5-common (5.4.9-4ubuntu2) ... Not replacing deleted config file /etc/php5/mods-available/pdo.ini ERROR: /etc/php5/mods-available/pdo.ini does not exist dpkg: error processing php5-common (--configure): subprocess installed post-installation script returned error exit status 2 Setting up mysql-server-5.5 (5.5.29-0ubuntu1) ... start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php5-fpm: php5-fpm depends on php5-common (= 5.4.9-4ubuntu2); however: Package php5-common is not configured yet.

dpkg: error processing php5-fpm (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ajenti-v-php-fpm: ajenti-v-php-fpm depends on php5-fpm; however: Package php5-fpm is not configured yet.

dpkg: error processing ajenti-v-php-fpm (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ajenti-v-mysql: ajenti-v-mysql depends on mysql-server; however: Package mysql-server is not configured yet.

dpkg: error processing ajenti-v-mysql (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: php5-common mysql-server-5.5 mysql-server php5-fpm ajenti-v-php-fpm ajenti-v-mysql

Swahjak commented 10 years ago

Ok, so after hours of fiddling around I managed to fix the issue and can confirm it was not Ajenti related. It was related to mysql and or php having some problems after they were uninstalled and installed again.