0
Answered

PostgreSQL Plugin crashed

Waton Kelakon 6 years ago updated by Eugene Pankov (Project coordinator) 6 years ago 0

I'm trying to activate PostgreSQL plugin but it's not working.


Log:

2013-10-03 10:23:15,093 INFO     registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>

2013-10-03 10:23:15,145 INFO     core.run(): Ajenti 1.1.0 running on platform: debian

2013-10-03 10:23:15,195 WARNING  __init__.load():  *** [raid] skipping due to BinaryDependency (mdadm)

2013-10-03 10:23:15,266 WARNING  __init__.load():  *** [psql] Plugin crashed: crashed: name 'PSQLPlugin' is not defined

Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 291, in load

    info.init()

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/__init__.py", line 16, in init

    import main

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/main.py", line 8, in <module>

    class PSQLPlugin (DBPlugin):

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/main.py", line 17, in PSQLPlugin

    config_class = PSQLPlugin

NameError: name 'PSQLPlugin' is not defined

2013-10-03 10:23:15,275 WARNING  __init__.load():  *** [ctdb] skipping due to BinaryDependency (ctdb)

2013-10-03 10:23:15,283 WARNING  __init__.load():  *** [bind9] skipping due to BinaryDependency (named)

2013-10-03 10:23:15,312 WARNING  __init__.load():  *** [memcache] skipping due to BinaryDependency (memcached)

2013-10-03 10:23:15,314 WARNING  __init__.load():  *** [ltfs] Plugin error: format error

2013-10-03 10:23:15,319 WARNING  __init__.load():  *** [hddtemp] skipping due to BinaryDependency (hddtemp)

2013-10-03 10:23:15,332 WARNING  __init__.load():  *** [exports] skipping due to BinaryDependency (nfsstat)

2013-10-03 10:23:15,341 WARNING  __init__.load():  *** [samba] skipping due to BinaryDependency (smbd)

2013-10-03 10:23:15,349 WARNING  __init__.load():  *** [munin] skipping due to BinaryDependency (munin-cron)

2013-10-03 10:23:15,358 WARNING  __init__.load():  *** [nsd] skipping due to BinaryDependency (nsd)

2013-10-03 10:23:15,365 WARNING  __init__.load():  *** [squid] skipping due to BinaryDependency (squid3)

2013-10-03 10:23:15,372 WARNING  __init__.load():  *** [lm-sensors] skipping due to BinaryDependency (sensors)

2013-10-03 10:23:15,381 WARNING  __init__.load():  *** [dhcpd] skipping due to BinaryDependency (dhcpd)

2013-10-03 10:23:15,390 WARNING  __init__.load():  *** [openvpn] skipping due to BinaryDependency (openvpn)

2013-10-03 10:23:15,391 WARNING  __init__.load():  *** [elements] Plugin error: format error

2013-10-03 10:23:15,398 WARNING  __init__.load():  *** [netatalk] skipping due to BinaryDependency (afpd)

2013-10-03 10:23:15,414 WARNING  __init__.load():  *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)

2013-10-03 10:23:15,424 WARNING  __init__.load():  *** [supervisor] skipping due to BinaryDependency (supervisord)

2013-10-03 10:23:15,446 WARNING  __init__.load():  *** [smartctl] skipping due to BinaryDependency (smartctl)

2013-10-03 10:23:15,447 INFO     core.run(): Starting server on (u'127.0.0.1', 8090)

2013-10-03 10:23:15,728 INFO     connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org