0
Terminé

apache plugin crash in centos 6 x64

Nagarajan Gopalakrishnan il y a 7 ans mis à jour par Eugene Pankov (Project coordinator) il y a 7 ans 0

Log also said, could not find /etc/apache/sites-enabled


Ajenti 1.0.3 bug report

--------------------

Detected platform: centos / centos / Linux 2.6.32-042stab079.5 x86_64

Architecture: x86_64 x86_64

Python: 2.6.6

Installation: 71306174

Debug: False

Locale: (None, None)

Loaded plugins:

main dashboard services samba terminal resolv webserver_common resources bind9 codemirror db_common apache hosts scripts logs packages ajenti_org taskmgr iptables notepad fstab users fm cron network power sensors plugins configurator

Traceback (most recent call last):

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 102, 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 52, in dispatch_event

    self.root.dispatch_event(uid, event, params)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 315, in dispatch_event

    if child.dispatch_event(uid, event, params):

  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 315, in dispatch_event

    if child.dispatch_event(uid, event, params):

  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 321, in dispatch_event

    getattr(self, k)(**(params or {}))

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/webserver_common/api.py", line 127, in save

    self.binder.update()

  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 475, in update

    binding.update()

  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 365, in update

    self.ui.post_item_update(self.object, self.collection, value, self.binders[value].ui)

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/webserver_common/api.py", line 106, in on_host_update

    self.hosts_dir.rename(host.__old_name, host.name)

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/webserver_common/api.py", line 49, in rename

    on = self.is_enabled(old)

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/webserver_common/api.py", line 26, in is_enabled

    return self.find_link(entry) is not None

  File "/usr/lib/python2.6/site-packages/ajenti/plugins/webserver_common/api.py", line 34, in find_link

    for e in os.listdir(self.dir_e):

OSError: [Errno 2] No such file or directory: '/etc/apache2/sites-enabled'

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

Log content:

2013-08-31 00:10:27,250 INFO     registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>

2013-08-31 00:10:27,575 INFO     core.run(): Ajenti 1.0.3 running on platform: centos

2013-08-31 00:10:27,635 DEBUG    __init__.load(): Loading plugin samba

2013-08-31 00:10:27,661 DEBUG    __init__.load_recursive(): Preloading plugin dependency: main

2013-08-31 00:10:27,661 DEBUG    __init__.load(): Loading plugin main

2013-08-31 00:10:27,705 DEBUG    __init__.load(): Loading plugin samba

2013-08-31 00:10:27,706 DEBUG    __init__.load_recursive(): Preloading plugin dependency: services

2013-08-31 00:10:27,706 DEBUG    __init__.load(): Loading plugin services

2013-08-31 00:10:27,714 DEBUG    __init__.load_recursive(): Preloading plugin dependency: dashboard

2013-08-31 00:10:27,714 DEBUG    __init__.load(): Loading plugin dashboard

2013-08-31 00:10:27,721 DEBUG    __init__.load(): Loading plugin services

2013-08-31 00:10:27,738 DEBUG    __init__.load(): Loading plugin samba

2013-08-31 00:10:27,769 DEBUG    __init__.load(): Loading plugin lm-sensors

2013-08-31 00:10:27,788 WARNING  __init__.load():  *** [lm-sensors] skipping due to BinaryDependency (sensors)

2013-08-31 00:10:27,789 DEBUG    __init__.load(): Loading plugin terminal

2013-08-31 00:10:28,026 DEBUG    __init__.load(): Loading plugin resolv

2013-08-31 00:10:28,029 DEBUG    __init__.load(): Loading plugin nginx

2013-08-31 00:10:28,031 DEBUG    __init__.load_recursive(): Preloading plugin dependency: webserver_common

2013-08-31 00:10:28,031 DEBUG    __init__.load(): Loading plugin webserver_common

2013-08-31 00:10:28,033 DEBUG    __init__.load(): Loading plugin nginx

2013-08-31 00:10:28,047 WARNING  __init__.load():  *** [nginx] skipping due to BinaryDependency (nginx)

2013-08-31 00:10:28,048 DEBUG    __init__.load(): Loading plugin resources

2013-08-31 00:10:28,052 DEBUG    __init__.load(): Loading plugin bind9

2013-08-31 00:10:28,069 DEBUG    __init__.load(): Loading plugin codemirror

2013-08-31 00:10:28,070 DEBUG    __init__.load(): Loading plugin mysql

2013-08-31 00:10:28,071 DEBUG    __init__.load_recursive(): Preloading plugin dependency: db_common

2013-08-31 00:10:28,072 DEBUG    __init__.load(): Loading plugin db_common

2013-08-31 00:10:28,073 DEBUG    __init__.load(): Loading plugin mysql

2013-08-31 00:10:28,091 WARNING  __init__.load():  *** [mysql] skipping due to BinaryDependency (mysql)

2013-08-31 00:10:28,091 DEBUG    __init__.load(): Loading plugin apache

2013-08-31 00:10:28,110 DEBUG    __init__.load(): Loading plugin supervisor

2013-08-31 00:10:28,137 WARNING  __init__.load():  *** [supervisor] skipping due to BinaryDependency (supervisord)

2013-08-31 00:10:28,138 DEBUG    __init__.load(): Loading plugin psql

2013-08-31 00:10:28,155 WARNING  __init__.load():  *** [psql] skipping due to BinaryDependency (psql)

2013-08-31 00:10:28,156 DEBUG    __init__.load(): Loading plugin nsd

2013-08-31 00:10:28,218 WARNING  __init__.load():  *** [nsd] skipping due to BinaryDependency (nsd)

2013-08-31 00:10:28,218 DEBUG    __init__.load(): Loading plugin hddtemp

2013-08-31 00:10:28,230 WARNING  __init__.load():  *** [hddtemp] skipping due to BinaryDependency (hddtemp)

2013-08-31 00:10:28,231 DEBUG    __init__.load(): Loading plugin squid

2013-08-31 00:10:28,247 WARNING  __init__.load():  *** [squid] skipping due to BinaryDependency (squid3)

2013-08-31 00:10:28,249 DEBUG    __init__.load(): Loading plugin hosts

2013-08-31 00:10:28,272 DEBUG    __init__.load(): Loading plugin scripts

2013-08-31 00:10:28,274 DEBUG    __init__.load(): Loading plugin dhcpd

2013-08-31 00:10:28,297 WARNING  __init__.load():  *** [dhcpd] skipping due to BinaryDependency (dhcpd)

2013-08-31 00:10:28,298 DEBUG    __init__.load(): Loading plugin logs

2013-08-31 00:10:28,300 DEBUG    __init__.load(): Loading plugin packages

2013-08-31 00:10:28,320 DEBUG    __init__.load(): Loading plugin ajenti_org

2013-08-31 00:10:28,325 DEBUG    __init__.load(): Loading plugin smartctl

2013-08-31 00:10:28,342 WARNING  __init__.load():  *** [smartctl] skipping due to BinaryDependency (smartctl)

2013-08-31 00:10:28,343 DEBUG    __init__.load(): Loading plugin taskmgr

2013-08-31 00:10:28,390 DEBUG    __init__.load(): Loading plugin openvpn

2013-08-31 00:10:28,404 WARNING  __init__.load():  *** [openvpn] skipping due to BinaryDependency (openvpn)

2013-08-31 00:10:28,405 DEBUG    __init__.load(): Loading plugin munin

2013-08-31 00:10:28,422 WARNING  __init__.load():  *** [munin] skipping due to BinaryDependency (munin-cron)

2013-08-31 00:10:28,423 DEBUG    __init__.load(): Loading plugin raid

2013-08-31 00:10:28,445 WARNING  __init__.load():  *** [raid] skipping due to BinaryDependency (mdadm)

2013-08-31 00:10:28,446 DEBUG    __init__.load(): Loading plugin iptables

2013-08-31 00:10:28,453 DEBUG    __init__.load(): Loading plugin notepad

2013-08-31 00:10:28,455 DEBUG    __init__.load(): Loading plugin megaraid

2013-08-31 00:10:28,456 WARNING  __init__.load():  *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)

2013-08-31 00:10:28,457 DEBUG    __init__.load(): Loading plugin ctdb

2013-08-31 00:10:28,472 WARNING  __init__.load():  *** [ctdb] skipping due to BinaryDependency (ctdb)

2013-08-31 00:10:28,473 DEBUG    __init__.load(): Loading plugin fstab

2013-08-31 00:10:28,479 DEBUG    __init__.load(): Loading plugin memcache

2013-08-31 00:10:28,494 WARNING  __init__.load():  *** [memcache] skipping due to BinaryDependency (memcached)

2013-08-31 00:10:28,495 DEBUG    __init__.load(): Loading plugin users

2013-08-31 00:10:28,508 DEBUG    __init__.load(): Loading plugin exports

2013-08-31 00:10:28,527 WARNING  __init__.load():  *** [exports] skipping due to BinaryDependency (nfsstat)

2013-08-31 00:10:28,528 DEBUG    __init__.load(): Loading plugin fm

2013-08-31 00:10:28,536 DEBUG    __init__.load(): Loading plugin cron

2013-08-31 00:10:28,554 DEBUG    __init__.load(): Loading plugin network

2013-08-31 00:10:28,563 DEBUG    __init__.load(): Loading plugin power

2013-08-31 00:10:28,565 DEBUG    __init__.load(): Loading plugin netatalk

2013-08-31 00:10:28,579 WARNING  __init__.load():  *** [netatalk] skipping due to BinaryDependency (afpd)

2013-08-31 00:10:28,580 DEBUG    __init__.load(): Loading plugin sensors

2013-08-31 00:10:28,587 DEBUG    __init__.load(): Loading plugin plugins

2013-08-31 00:10:28,589 DEBUG    __init__.load(): Loading plugin configurator

2013-08-31 00:10:28,669 INFO     core.start(): Starting SSL tunnel for port 45784

2013-08-31 00:10:29,200 INFO     core.run(): SSL tunnel running fine

2013-08-31 00:10:29,201 INFO     core.run(): Starting server on (u'127.0.0.1', 45784)

2013-08-31 00:10:29,541 DEBUG    inflater.precache(): Precaching layout dashboard:dash

2013-08-31 00:10:29,566 DEBUG    inflater.precache(): Precaching layout dashboard:welcome

2013-08-31 00:10:29,574 DEBUG    inflater.precache(): Precaching layout services:main

2013-08-31 00:10:29,590 DEBUG    inflater.precache(): Precaching layout services:bar

2013-08-31 00:10:29,626 DEBUG    inflater.precache(): Precaching layout services:widget

2013-08-31 00:10:29,662 DEBUG    inflater.precache(): Precaching layout samba:main

2013-08-31 00:10:31,192 DEBUG    inflater.precache(): Precaching layout terminal:main

2013-08-31 00:10:31,199 DEBUG    inflater.precache(): Precaching layout terminal:config

2013-08-31 00:10:31,202 DEBUG    inflater.precache(): Precaching layout resolv:main

2013-08-31 00:10:31,206 DEBUG    inflater.precache(): Precaching layout webserver_common:main

2013-08-31 00:10:31,229 DEBUG    inflater.precache(): Precaching layout bind9:main

2013-08-31 00:10:31,259 DEBUG    inflater.precache(): Precaching layout db_common:main

2013-08-31 00:10:31,271 DEBUG    inflater.precache(): Precaching layout hosts:main

2013-08-31 00:10:31,278 DEBUG    inflater.precache(): Precaching layout scripts:widget

2013-08-31 00:10:31,282 DEBUG    inflater.precache(): Precaching layout logs:main

2013-08-31 00:10:31,309 DEBUG    inflater.precache(): Precaching layout packages:main

2013-08-31 00:10:31,325 DEBUG    inflater.precache(): Precaching layout packages:headers

2013-08-31 00:10:31,325 DEBUG    inflater.precache(): Precaching layout packages:row

2013-08-31 00:10:31,326 DEBUG    inflater.precache(): Precaching layout packages:installer

2013-08-31 00:10:31,328 DEBUG    inflater.precache(): Precaching layout ajenti_org:main

2013-08-31 00:10:31,331 DEBUG    inflater.precache(): Precaching layout ajenti_org:config

2013-08-31 00:10:31,338 DEBUG    inflater.precache(): Precaching layout taskmgr:main

2013-08-31 00:10:31,355 DEBUG    inflater.precache(): Precaching layout iptables:option

2013-08-31 00:10:31,368 DEBUG    inflater.precache(): Precaching layout iptables:option-port

2013-08-31 00:10:31,370 DEBUG    inflater.precache(): Precaching layout iptables:main

2013-08-31 00:10:31,377 DEBUG    inflater.precache(): Precaching layout iptables:option-match

2013-08-31 00:10:31,378 DEBUG    inflater.precache(): Precaching layout iptables:option-reject-with

2013-08-31 00:10:31,379 DEBUG    inflater.precache(): Precaching layout iptables:option-interface

2013-08-31 00:10:31,380 DEBUG    inflater.precache(): Precaching layout iptables:option-custom

2013-08-31 00:10:31,382 DEBUG    inflater.precache(): Precaching layout iptables:option-state

2013-08-31 00:10:31,383 DEBUG    inflater.precache(): Precaching layout iptables:option-protocol

2013-08-31 00:10:31,385 DEBUG    inflater.precache(): Precaching layout iptables:option-ports

2013-08-31 00:10:31,386 DEBUG    inflater.precache(): Precaching layout iptables:option-address

2013-08-31 00:10:31,388 DEBUG    inflater.precache(): Precaching layout notepad:main

2013-08-31 00:10:31,391 DEBUG    inflater.precache(): Precaching layout notepad:listitem

2013-08-31 00:10:31,393 DEBUG    inflater.precache(): Precaching layout fstab:main

2013-08-31 00:10:31,402 DEBUG    inflater.precache(): Precaching layout fstab:iio-widget

2013-08-31 00:10:31,405 DEBUG    inflater.precache(): Precaching layout fstab:free-widget

2013-08-31 00:10:31,408 DEBUG    inflater.precache(): Precaching layout fstab:widget

2013-08-31 00:10:31,413 DEBUG    inflater.precache(): Precaching layout users:main

2013-08-31 00:10:31,470 DEBUG    inflater.precache(): Precaching layout users:user-list

2013-08-31 00:10:31,472 DEBUG    inflater.precache(): Precaching layout fm:main

2013-08-31 00:10:31,486 DEBUG    inflater.precache(): Precaching layout fm:config

2013-08-31 00:10:31,489 DEBUG    inflater.precache(): Precaching layout cron:main

2013-08-31 00:10:31,511 DEBUG    inflater.precache(): Precaching layout network:bit-linux-basic

2013-08-31 00:10:31,512 DEBUG    inflater.precache(): Precaching layout network:main

2013-08-31 00:10:31,517 DEBUG    inflater.precache(): Precaching layout network:widget

2013-08-31 00:10:31,519 DEBUG    inflater.precache(): Precaching layout network:bit-linux-dhcp

2013-08-31 00:10:31,522 DEBUG    inflater.precache(): Precaching layout network:bit-linux-ifupdown

2013-08-31 00:10:31,524 DEBUG    inflater.precache(): Precaching layout network:bit-linux-ipv4

2013-08-31 00:10:31,529 DEBUG    inflater.precache(): Precaching layout power:widget

2013-08-31 00:10:31,534 DEBUG    inflater.precache(): Precaching layout sensors:cpu-widget

2013-08-31 00:10:31,537 DEBUG    inflater.precache(): Precaching layout sensors:cpu-line

2013-08-31 00:10:31,539 DEBUG    inflater.precache(): Precaching layout sensors:progressbar-widget

2013-08-31 00:10:31,542 DEBUG    inflater.precache(): Precaching layout sensors:value-widget

2013-08-31 00:10:31,545 DEBUG    inflater.precache(): Precaching layout plugins:main

2013-08-31 00:10:31,590 DEBUG    inflater.precache(): Precaching layout configurator:main

2013-08-31 00:10:31,613 DEBUG    feedback.send(): Feedback >> ping ({'id': 5781})

2013-08-31 00:10:31,620 INFO     connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org

2013-08-31 00:10:32,131 DEBUG    connectionpool._make_request(): "POST /api/v2/ping HTTP/1.1" 200 36

2013-08-31 00:10:32,132 DEBUG    feedback.send(): Feedback << {"status": "ok"}

           


Solution

Solution
Terminé

Fix will be released in 1.0.4