+1
Fixed

Apache plugin on CentOS6.4

InteractMarketing 7 років тому оновлено Eugene Pankov (Project coordinator) 7 років тому 1
I'm trying to install Apache plugin but Ajenti crashes with following errors:

Ajenti 0.99.15 bug report
--------------------

Detected platform: centos / centos / "CentOS release 6.4 (Final)"

Python: 2.6.6
Installation: 74153198
Debug: False
Loaded plugins:
main cron dashboard terminal scripts services webserver_common sensors power iptables configurator logs smartctl codemirror notepad users packages plugins hosts db_common mysql network raid resources ajenti_org exports taskmgr fstab resolv fm psql

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 98, in on_message
  self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/python2.6/site-packages/ajenti/ui/__init__.py", line 64, in dispatch_event
  self.root.dispatch_event(uid, event, params)
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 312, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 318, in dispatch_event
  getattr(self, k)(**(params or {}))
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/packages/installer.py", line 39, in on_install
  self.context.launch('install-package', package=self.pkg)
AttributeError: 'NoneType' object has no attribute 'launch'


Log:
2013-07-05 13:29:22,829 INFO  registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-07-05 13:29:22,934 INFO  core.run(): Ajenti 0.99.15 running on platform: centos
2013-07-05 13:29:22,937 DEBUG  __init__.load(): Loading plugin cron
2013-07-05 13:29:22,937 DEBUG  __init__.load():  == Cron
2013-07-05 13:29:22,937 DEBUG  __init__.load_recursive(): Preloading plugin dependency: main
2013-07-05 13:29:22,937 DEBUG  __init__.load(): Loading plugin main
2013-07-05 13:29:22,938 DEBUG  __init__.load():  == Core
2013-07-05 13:29:22,958 DEBUG  __init__.load(): Loading plugin cron
2013-07-05 13:29:22,959 DEBUG  __init__.load():  == Cron
2013-07-05 13:29:22,964 DEBUG  __init__.load(): Loading plugin scripts
2013-07-05 13:29:22,964 DEBUG  __init__.load():  == Scripts
2013-07-05 13:29:22,965 DEBUG  __init__.load_recursive(): Preloading plugin dependency: dashboard
2013-07-05 13:29:22,965 DEBUG  __init__.load(): Loading plugin dashboard
2013-07-05 13:29:22,965 DEBUG  __init__.load():  == Dashboard
2013-07-05 13:29:22,966 DEBUG  __init__.load(): Loading plugin scripts
2013-07-05 13:29:22,967 DEBUG  __init__.load():  == Scripts
2013-07-05 13:29:22,967 DEBUG  __init__.load_recursive(): Preloading plugin dependency: terminal
2013-07-05 13:29:22,967 DEBUG  __init__.load(): Loading plugin terminal
2013-07-05 13:29:22,967 DEBUG  __init__.load():  == Terminal
2013-07-05 13:29:22,984 DEBUG  __init__.load(): Loading plugin scripts
2013-07-05 13:29:22,984 DEBUG  __init__.load():  == Scripts
2013-07-05 13:29:22,985 DEBUG  __init__.load(): Loading plugin webserver_common
2013-07-05 13:29:22,985 DEBUG  __init__.load():  == Webserver Commons
2013-07-05 13:29:22,985 DEBUG  __init__.load_recursive(): Preloading plugin dependency: services
2013-07-05 13:29:22,985 DEBUG  __init__.load(): Loading plugin services
2013-07-05 13:29:22,986 DEBUG  __init__.load():  == Services
2013-07-05 13:29:22,996 DEBUG  __init__.load(): Loading plugin webserver_common
2013-07-05 13:29:22,996 DEBUG  __init__.load():  == Webserver Commons
2013-07-05 13:29:22,997 DEBUG  __init__.load(): Loading plugin sensors
2013-07-05 13:29:22,997 DEBUG  __init__.load():  == Sensors
2013-07-05 13:29:23,025 DEBUG  __init__.load(): Loading plugin recovery
2013-07-05 13:29:23,025 WARNING  __init__.load():  *** [recovery] Plugin crashed: crashed: No module named recovery
2013-07-05 13:29:23,026 DEBUG  __init__.load(): Loading plugin power
2013-07-05 13:29:23,026 DEBUG  __init__.load():  == Power
2013-07-05 13:29:23,027 DEBUG  __init__.load(): Loading plugin squid
2013-07-05 13:29:23,027 DEBUG  __init__.load():  == Squid
2013-07-05 13:29:23,032 WARNING  __init__.load():  *** [squid] Plugin failed to load: BinaryDependency (squid3)
2013-07-05 13:29:23,032 DEBUG  __init__.load(): Loading plugin health
2013-07-05 13:29:23,033 WARNING  __init__.load():  *** [health] Plugin crashed: crashed: No module named health
2013-07-05 13:29:23,033 DEBUG  __init__.load(): Loading plugin iptables
2013-07-05 13:29:23,033 DEBUG  __init__.load():  == Firewall
2013-07-05 13:29:23,035 DEBUG  __init__.load(): Loading plugin configurator
2013-07-05 13:29:23,035 DEBUG  __init__.load():  == Ajenti Configurator
2013-07-05 13:29:23,036 DEBUG  __init__.load(): Loading plugin logs
2013-07-05 13:29:23,036 DEBUG  __init__.load():  == Logs
2013-07-05 13:29:23,038 DEBUG  __init__.load(): Loading plugin config
2013-07-05 13:29:23,038 WARNING  __init__.load():  *** [config] Plugin crashed: crashed: No module named config
2013-07-05 13:29:23,038 DEBUG  __init__.load(): Loading plugin smartctl
2013-07-05 13:29:23,039 DEBUG  __init__.load():  == S.M.A.R.T.
2013-07-05 13:29:23,044 DEBUG  __init__.load(): Loading plugin notepad
2013-07-05 13:29:23,045 DEBUG  __init__.load():  == Notepad
2013-07-05 13:29:23,045 DEBUG  __init__.load_recursive(): Preloading plugin dependency: codemirror
2013-07-05 13:29:23,045 DEBUG  __init__.load(): Loading plugin codemirror
2013-07-05 13:29:23,046 DEBUG  __init__.load():  == CodeMirror code editor
2013-07-05 13:29:23,046 DEBUG  __init__.load(): Loading plugin notepad
2013-07-05 13:29:23,046 DEBUG  __init__.load():  == Notepad
2013-07-05 13:29:23,047 DEBUG  __init__.load(): Loading plugin users
2013-07-05 13:29:23,047 DEBUG  __init__.load():  == Users
2013-07-05 13:29:23,048 DEBUG  __init__.load(): Loading plugin core
2013-07-05 13:29:23,048 WARNING  __init__.load():  *** [core] Plugin crashed: crashed: No module named core
2013-07-05 13:29:23,049 DEBUG  __init__.load(): Loading plugin packages
2013-07-05 13:29:23,049 DEBUG  __init__.load():  == Package manager
2013-07-05 13:29:23,051 DEBUG  __init__.load(): Loading plugin lm-sensors
2013-07-05 13:29:23,052 DEBUG  __init__.load():  == LM-Sensors
2013-07-05 13:29:23,056 WARNING  __init__.load():  *** [lm-sensors] Plugin failed to load: BinaryDependency (sensors)
2013-07-05 13:29:23,057 DEBUG  __init__.load(): Loading plugin plugins
2013-07-05 13:29:23,057 DEBUG  __init__.load():  == Plugins
2013-07-05 13:29:23,058 DEBUG  __init__.load(): Loading plugin hosts
2013-07-05 13:29:23,058 DEBUG  __init__.load():  == Hosts
2013-07-05 13:29:23,059 DEBUG  __init__.load(): Loading plugin mysql
2013-07-05 13:29:23,059 DEBUG  __init__.load():  == MySQL
2013-07-05 13:29:23,059 DEBUG  __init__.load_recursive(): Preloading plugin dependency: db_common
2013-07-05 13:29:23,059 DEBUG  __init__.load(): Loading plugin db_common
2013-07-05 13:29:23,060 DEBUG  __init__.load():  == Database Commons
2013-07-05 13:29:23,060 DEBUG  __init__.load(): Loading plugin mysql
2013-07-05 13:29:23,061 DEBUG  __init__.load():  == MySQL
2013-07-05 13:29:23,067 DEBUG  __init__.load(): Loading plugin network
2013-07-05 13:29:23,067 DEBUG  __init__.load():  == Network
2013-07-05 13:29:23,068 DEBUG  __init__.load(): Loading plugin raid
2013-07-05 13:29:23,069 DEBUG  __init__.load():  == RAID
2013-07-05 13:29:23,077 DEBUG  __init__.load(): Loading plugin resources
2013-07-05 13:29:23,078 DEBUG  __init__.load():  == Resource Manager
2013-07-05 13:29:23,080 DEBUG  __init__.load(): Loading plugin ajenti_org
2013-07-05 13:29:23,081 DEBUG  __init__.load():  == ajenti.org integration
2013-07-05 13:29:23,083 DEBUG  __init__.load(): Loading plugin exports
2013-07-05 13:29:23,083 DEBUG  __init__.load():  == NFS Exports
2013-07-05 13:29:23,091 DEBUG  __init__.load(): Loading plugin hddtemp
2013-07-05 13:29:23,092 DEBUG  __init__.load():  == HDD temperature
2013-07-05 13:29:23,098 WARNING  __init__.load():  *** [hddtemp] Plugin failed to load: BinaryDependency (hddtemp)
2013-07-05 13:29:23,099 DEBUG  __init__.load(): Loading plugin taskmgr
2013-07-05 13:29:23,100 DEBUG  __init__.load():  == Processes
2013-07-05 13:29:23,101 DEBUG  __init__.load(): Loading plugin fstab
2013-07-05 13:29:23,101 DEBUG  __init__.load():  == Filesystems
2013-07-05 13:29:23,103 DEBUG  __init__.load(): Loading plugin netatalk
2013-07-05 13:29:23,104 DEBUG  __init__.load():  == Netatalk
2013-07-05 13:29:23,111 WARNING  __init__.load():  *** [netatalk] Plugin failed to load: BinaryDependency (afpd)
2013-07-05 13:29:23,111 DEBUG  __init__.load(): Loading plugin ctdb
2013-07-05 13:29:23,112 DEBUG  __init__.load():  == CTDB
2013-07-05 13:29:23,119 WARNING  __init__.load():  *** [ctdb] Plugin failed to load: BinaryDependency (ctdb)
2013-07-05 13:29:23,119 DEBUG  __init__.load(): Loading plugin nginx
2013-07-05 13:29:23,120 DEBUG  __init__.load():  == NGINX
2013-07-05 13:29:23,127 WARNING  __init__.load():  *** [nginx] Plugin failed to load: BinaryDependency (nginx)
2013-07-05 13:29:23,128 DEBUG  __init__.load(): Loading plugin resolv
2013-07-05 13:29:23,128 DEBUG  __init__.load():  == Nameservers
2013-07-05 13:29:23,129 DEBUG  __init__.load(): Loading plugin fm
2013-07-05 13:29:23,130 DEBUG  __init__.load():  == File Manager
2013-07-05 13:29:23,134 DEBUG  __init__.load(): Loading plugin munin
2013-07-05 13:29:23,135 DEBUG  __init__.load():  == Munin
2013-07-05 13:29:23,141 WARNING  __init__.load():  *** [munin] Plugin failed to load: BinaryDependency (munin-cron)
2013-07-05 13:29:23,142 DEBUG  __init__.load(): Loading plugin advancedcontrols
2013-07-05 13:29:23,143 WARNING  __init__.load():  *** [advancedcontrols] Plugin crashed: crashed: No module named advancedcontrols
2013-07-05 13:29:23,143 DEBUG  __init__.load(): Loading plugin firstrun
2013-07-05 13:29:23,144 WARNING  __init__.load():  *** [firstrun] Plugin crashed: crashed: No module named firstrun
2013-07-05 13:29:23,144 DEBUG  __init__.load(): Loading plugin psql
2013-07-05 13:29:23,145 DEBUG  __init__.load():  == PostgreSQL
2013-07-05 13:29:23,152 DEBUG  __init__.load(): Loading plugin samba
2013-07-05 13:29:23,153 DEBUG  __init__.load():  == Samba
2013-07-05 13:29:23,160 WARNING  __init__.load():  *** [samba] Plugin failed to load: BinaryDependency (smbd)
2013-07-05 13:29:23,161 DEBUG  __init__.load(): Loading plugin supervisor
2013-07-05 13:29:23,161 DEBUG  __init__.load():  == Supervisor
2013-07-05 13:29:23,168 WARNING  __init__.load():  *** [supervisor] Plugin failed to load: BinaryDependency (supervisord)
2013-07-05 13:29:23,169 DEBUG  __init__.load(): Loading plugin apache
2013-07-05 13:29:23,169 DEBUG  __init__.load():  == Apache
2013-07-05 13:29:23,176 WARNING  __init__.load():  *** [apache] Plugin failed to load: BinaryDependency (apache2)
2013-07-05 13:29:23,177 DEBUG  __init__.load(): Loading plugin sysload
2013-07-05 13:29:23,178 WARNING  __init__.load():  *** [sysload] Plugin error: format error
2013-07-05 13:29:23,178 DEBUG  __init__.load(): Loading plugin cpu
2013-07-05 13:29:23,179 WARNING  __init__.load():  *** [cpu] Plugin error: format error
2013-07-05 13:29:23,179 DEBUG  __init__.load(): Loading plugin lib_rcconf
2013-07-05 13:29:23,180 WARNING  __init__.load():  *** [lib_rcconf] Plugin error: format error
2013-07-05 13:29:23,180 DEBUG  __init__.load(): Loading plugin loadcores
2013-07-05 13:29:23,181 WARNING  __init__.load():  *** [loadcores] Plugin error: format error
2013-07-05 13:29:23,181 DEBUG  __init__.load(): Loading plugin shell
2013-07-05 13:29:23,182 WARNING  __init__.load():  *** [shell] Plugin error: format error
2013-07-05 13:29:23,182 DEBUG  __init__.load(): Loading plugin filesystems
2013-07-05 13:29:23,183 WARNING  __init__.load():  *** [filesystems] Plugin error: format error
2013-07-05 13:29:23,183 DEBUG  __init__.load(): Loading plugin hddstat
2013-07-05 13:29:23,184 WARNING  __init__.load():  *** [hddstat] Plugin error: format error
2013-07-05 13:29:23,184 DEBUG  __init__.load(): Loading plugin dns
2013-07-05 13:29:23,185 WARNING  __init__.load():  *** [dns] Plugin error: format error
2013-07-05 13:29:23,185 DEBUG  __init__.load(): Loading plugin daemons
2013-07-05 13:29:23,186 WARNING  __init__.load():  *** [daemons] Plugin error: format error
2013-07-05 13:29:23,186 DEBUG  __init__.load(): Loading plugin pkgman
2013-07-05 13:29:23,187 WARNING  __init__.load():  *** [pkgman] Plugin error: format error
2013-07-05 13:29:23,196 INFO  core.start(): Starting SSL tunnel for port 36914
2013-07-05 13:29:23,907 INFO  core.run(): SSL tunnel running fine
2013-07-05 13:29:23,907 INFO  core.run(): Starting server on (u'127.0.0.1', 36914)
2013-07-05 13:29:23,919 DEBUG  feedback.send(): Feedback >> ping ({'id': 216})
2013-07-05 13:29:23,922 INFO  connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org
2013-07-05 13:29:25,244 DEBUG  connectionpool._make_request(): "POST /api/v2/ping HTTP/1.1" 200 None
2013-07-05 13:29:25,245 DEBUG  feedback.send(): Feedback << {"status": "ok"}