MySQL server start fails

Bug #1216829 reported by Tõnis B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ajenti
New
Undecided
Unassigned

Bug Description

Ajenti 1.0.2 bug report
--------------------
Detected platform: debian / debian / Linux 2.6.32-5-xen-amd64 x86_64

Architecture: x86_64 unknown

Python: 2.7.3
Installation: 13949284
Debug: False
Locale: ('en_US', 'UTF-8')
Loaded plugins:
main dashboard services webserver_common apache terminal packages hosts resources users db_common mysql ajenti_org taskmgr fm network fstab cron plugins logs scripts power resolv configurator codemirror lm-sensors sensors iptables notepad

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 102, in on_message
    self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 52, in dispatch_event
    self.root.dispatch_event(uid, event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 315, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 315, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 315, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 315, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 321, in dispatch_event
    getattr(self, k)(**(params or {}))
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/services/main.py", line 85, in on_start
    self.service.start()
AttributeError: 'NoneType' object has no attribute 'start'

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

Log content:
2013-08-26 11:54:42,353 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-08-26 11:54:42,382 INFO core.run(): Ajenti 1.0.2 running on platform: debian
2013-08-26 11:54:42,382 DEBUG __init__.load(): Loading plugin elements
2013-08-26 11:54:42,382 WARNING __init__.load(): *** [elements] Plugin error: format error
2013-08-26 11:54:42,382 DEBUG __init__.load(): Loading plugin supervisor
2013-08-26 11:54:42,383 DEBUG __init__.load_recursive(): Preloading plugin dependency: main
2013-08-26 11:54:42,383 DEBUG __init__.load(): Loading plugin main
2013-08-26 11:54:42,387 DEBUG __init__.load(): Loading plugin supervisor
2013-08-26 11:54:42,387 DEBUG __init__.load_recursive(): Preloading plugin dependency: services
2013-08-26 11:54:42,387 DEBUG __init__.load(): Loading plugin services
2013-08-26 11:54:42,388 DEBUG __init__.load_recursive(): Preloading plugin dependency: dashboard
2013-08-26 11:54:42,388 DEBUG __init__.load(): Loading plugin dashboard
2013-08-26 11:54:42,389 DEBUG __init__.load(): Loading plugin services
2013-08-26 11:54:42,396 DEBUG __init__.load(): Loading plugin supervisor
2013-08-26 11:54:42,404 WARNING __init__.load(): *** [supervisor] skipping due to BinaryDependency (supervisord)
2013-08-26 11:54:42,405 DEBUG __init__.load(): Loading plugin apache
2013-08-26 11:54:42,405 DEBUG __init__.load_recursive(): Preloading plugin dependency: webserver_common
2013-08-26 11:54:42,405 DEBUG __init__.load(): Loading plugin webserver_common
2013-08-26 11:54:42,406 DEBUG __init__.load(): Loading plugin apache
2013-08-26 11:54:42,414 DEBUG __init__.load(): Loading plugin memcache
2013-08-26 11:54:42,421 WARNING __init__.load(): *** [memcache] skipping due to BinaryDependency (memcached)
2013-08-26 11:54:42,421 DEBUG __init__.load(): Loading plugin packages
2013-08-26 11:54:42,422 DEBUG __init__.load_recursive(): Preloading plugin dependency: terminal
2013-08-26 11:54:42,422 DEBUG __init__.load(): Loading plugin terminal
2013-08-26 11:54:42,438 DEBUG __init__.load(): Loading plugin packages
2013-08-26 11:54:42,439 DEBUG __init__.load(): Loading plugin hosts
2013-08-26 11:54:42,440 DEBUG __init__.load(): Loading plugin resources
2013-08-26 11:54:42,441 DEBUG __init__.load(): Loading plugin users
2013-08-26 11:54:42,441 DEBUG __init__.load(): Loading plugin smartctl
2013-08-26 11:54:42,451 WARNING __init__.load(): *** [smartctl] skipping due to BinaryDependency (smartctl)
2013-08-26 11:54:42,451 DEBUG __init__.load(): Loading plugin mysql
2013-08-26 11:54:42,452 DEBUG __init__.load_recursive(): Preloading plugin dependency: db_common
2013-08-26 11:54:42,452 DEBUG __init__.load(): Loading plugin db_common
2013-08-26 11:54:42,453 DEBUG __init__.load(): Loading plugin mysql
2013-08-26 11:54:42,463 DEBUG __init__.load(): Loading plugin ajenti_org
2013-08-26 11:54:42,464 DEBUG __init__.load(): Loading plugin taskmgr
2013-08-26 11:54:42,483 DEBUG __init__.load(): Loading plugin fm
2013-08-26 11:54:42,484 DEBUG __init__.load(): Loading plugin nsd
2013-08-26 11:54:42,494 WARNING __init__.load(): *** [nsd] skipping due to BinaryDependency (nsd)
2013-08-26 11:54:42,494 DEBUG __init__.load(): Loading plugin samba
2013-08-26 11:54:42,503 WARNING __init__.load(): *** [samba] skipping due to BinaryDependency (smbd)
2013-08-26 11:54:42,504 DEBUG __init__.load(): Loading plugin network
2013-08-26 11:54:42,508 DEBUG __init__.load(): Loading plugin megaraid
2013-08-26 11:54:42,508 WARNING __init__.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
2013-08-26 11:54:42,508 DEBUG __init__.load(): Loading plugin fstab
2013-08-26 11:54:42,510 DEBUG __init__.load(): Loading plugin raid
2013-08-26 11:54:42,519 WARNING __init__.load(): *** [raid] skipping due to BinaryDependency (mdadm)
2013-08-26 11:54:42,520 DEBUG __init__.load(): Loading plugin exports
2013-08-26 11:54:42,529 WARNING __init__.load(): *** [exports] skipping due to BinaryDependency (nfsstat)
2013-08-26 11:54:42,529 DEBUG __init__.load(): Loading plugin cron
2013-08-26 11:54:42,539 DEBUG __init__.load(): Loading plugin plugins
2013-08-26 11:54:42,540 DEBUG __init__.load(): Loading plugin logs
2013-08-26 11:54:42,540 DEBUG __init__.load(): Loading plugin scripts
2013-08-26 11:54:42,541 DEBUG __init__.load(): Loading plugin munin
2013-08-26 11:54:42,550 WARNING __init__.load(): *** [munin] skipping due to BinaryDependency (munin-cron)
2013-08-26 11:54:42,550 DEBUG __init__.load(): Loading plugin psql
2013-08-26 11:54:42,559 WARNING __init__.load(): *** [psql] skipping due to BinaryDependency (psql)
2013-08-26 11:54:42,559 DEBUG __init__.load(): Loading plugin openvpn
2013-08-26 11:54:42,568 WARNING __init__.load(): *** [openvpn] skipping due to BinaryDependency (openvpn)
2013-08-26 11:54:42,568 DEBUG __init__.load(): Loading plugin power
2013-08-26 11:54:42,570 DEBUG __init__.load(): Loading plugin squid
2013-08-26 11:54:42,580 WARNING __init__.load(): *** [squid] skipping due to BinaryDependency (squid3)
2013-08-26 11:54:42,580 DEBUG __init__.load(): Loading plugin resolv
2013-08-26 11:54:42,581 DEBUG __init__.load(): Loading plugin configurator
2013-08-26 11:54:42,582 DEBUG __init__.load(): Loading plugin codemirror
2013-08-26 11:54:42,583 DEBUG __init__.load(): Loading plugin nginx
2013-08-26 11:54:42,594 WARNING __init__.load(): *** [nginx] skipping due to BinaryDependency (nginx)
2013-08-26 11:54:42,594 DEBUG __init__.load(): Loading plugin ctdb
2013-08-26 11:54:42,604 WARNING __init__.load(): *** [ctdb] skipping due to BinaryDependency (ctdb)
2013-08-26 11:54:42,604 DEBUG __init__.load(): Loading plugin hddtemp
2013-08-26 11:54:42,614 WARNING __init__.load(): *** [hddtemp] skipping due to BinaryDependency (hddtemp)
2013-08-26 11:54:42,614 DEBUG __init__.load(): Loading plugin netatalk
2013-08-26 11:54:42,624 WARNING __init__.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2013-08-26 11:54:42,624 DEBUG __init__.load(): Loading plugin lm-sensors
2013-08-26 11:54:42,635 DEBUG __init__.load(): Loading plugin dhcpd
2013-08-26 11:54:42,644 WARNING __init__.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd)
2013-08-26 11:54:42,645 DEBUG __init__.load(): Loading plugin sensors
2013-08-26 11:54:42,648 DEBUG __init__.load(): Loading plugin iptables
2013-08-26 11:54:42,649 DEBUG __init__.load(): Loading plugin notepad
2013-08-26 11:54:42,649 DEBUG __init__.load(): Loading plugin bind9
2013-08-26 11:54:42,660 WARNING __init__.load(): *** [bind9] skipping due to BinaryDependency (named)
2013-08-26 11:54:42,669 INFO core.start(): Starting SSL tunnel for port 46267
2013-08-26 11:54:43,197 INFO core.run(): SSL tunnel running fine
2013-08-26 11:54:43,198 INFO core.run(): Starting server on (u'127.0.0.1', 46267)
2013-08-26 11:54:43,270 DEBUG inflater.precache(): Precaching layout dashboard:dash
2013-08-26 11:54:43,272 DEBUG inflater.precache(): Precaching layout dashboard:welcome
2013-08-26 11:54:43,273 DEBUG inflater.precache(): Precaching layout services:widget
2013-08-26 11:54:43,276 DEBUG inflater.precache(): Precaching layout services:main
2013-08-26 11:54:43,278 DEBUG inflater.precache(): Precaching layout services:bar
2013-08-26 11:54:43,279 DEBUG inflater.precache(): Precaching layout webserver_common:main
2013-08-26 11:54:43,284 DEBUG inflater.precache(): Precaching layout terminal:main
2013-08-26 11:54:43,285 DEBUG inflater.precache(): Precaching layout terminal:config
2013-08-26 11:54:43,285 DEBUG inflater.precache(): Precaching layout packages:installer
2013-08-26 11:54:43,286 DEBUG inflater.precache(): Precaching layout packages:main
2013-08-26 11:54:43,291 DEBUG inflater.precache(): Precaching layout packages:row
2013-08-26 11:54:43,292 DEBUG inflater.precache(): Precaching layout packages:headers
2013-08-26 11:54:43,292 DEBUG inflater.precache(): Precaching layout hosts:main
2013-08-26 11:54:43,294 DEBUG inflater.precache(): Precaching layout users:main
2013-08-26 11:54:43,302 DEBUG inflater.precache(): Precaching layout users:user-list
2013-08-26 11:54:43,303 DEBUG inflater.precache(): Precaching layout db_common:main
2013-08-26 11:54:43,307 DEBUG inflater.precache(): Precaching layout mysql:config
2013-08-26 11:54:43,308 DEBUG inflater.precache(): Precaching layout ajenti_org:main
2013-08-26 11:54:43,309 DEBUG inflater.precache(): Precaching layout ajenti_org:config
2013-08-26 11:54:43,310 DEBUG inflater.precache(): Precaching layout taskmgr:main
2013-08-26 11:54:43,312 DEBUG inflater.precache(): Precaching layout fm:main
2013-08-26 11:54:43,319 DEBUG inflater.precache(): Precaching layout fm:config
2013-08-26 11:54:43,319 DEBUG inflater.precache(): Precaching layout network:bit-linux-ifupdown
2013-08-26 11:54:43,320 DEBUG inflater.precache(): Precaching layout network:widget
2013-08-26 11:54:43,321 DEBUG inflater.precache(): Precaching layout network:main
2013-08-26 11:54:43,325 DEBUG inflater.precache(): Precaching layout network:bit-linux-dhcp
2013-08-26 11:54:43,326 DEBUG inflater.precache(): Precaching layout network:bit-linux-basic
2013-08-26 11:54:43,326 DEBUG inflater.precache(): Precaching layout network:bit-linux-ipv4
2013-08-26 11:54:43,328 DEBUG inflater.precache(): Precaching layout fstab:widget
2013-08-26 11:54:43,328 DEBUG inflater.precache(): Precaching layout fstab:main
2013-08-26 11:54:43,332 DEBUG inflater.precache(): Precaching layout fstab:iio-widget
2013-08-26 11:54:43,333 DEBUG inflater.precache(): Precaching layout fstab:free-widget
2013-08-26 11:54:43,334 DEBUG inflater.precache(): Precaching layout cron:main
2013-08-26 11:54:43,340 DEBUG inflater.precache(): Precaching layout plugins:main
2013-08-26 11:54:43,360 DEBUG inflater.precache(): Precaching layout logs:main
2013-08-26 11:54:43,362 DEBUG inflater.precache(): Precaching layout scripts:widget
2013-08-26 11:54:43,364 DEBUG inflater.precache(): Precaching layout power:widget
2013-08-26 11:54:43,365 DEBUG inflater.precache(): Precaching layout resolv:main
2013-08-26 11:54:43,367 DEBUG inflater.precache(): Precaching layout configurator:main
2013-08-26 11:54:43,373 DEBUG inflater.precache(): Precaching layout lm-sensors:widget
2013-08-26 11:54:43,374 DEBUG inflater.precache(): Precaching layout sensors:cpu-widget
2013-08-26 11:54:43,375 DEBUG inflater.precache(): Precaching layout sensors:value-widget
2013-08-26 11:54:43,375 DEBUG inflater.precache(): Precaching layout sensors:progressbar-widget
2013-08-26 11:54:43,376 DEBUG inflater.precache(): Precaching layout sensors:cpu-line
2013-08-26 11:54:43,377 DEBUG inflater.precache(): Precaching layout iptables:option-port
2013-08-26 11:54:43,378 DEBUG inflater.precache(): Precaching layout iptables:main
2013-08-26 11:54:43,381 DEBUG inflater.precache(): Precaching layout iptables:option
2013-08-26 11:54:43,382 DEBUG inflater.precache(): Precaching layout iptables:option-reject-with
2013-08-26 11:54:43,383 DEBUG inflater.precache(): Precaching layout iptables:option-state
2013-08-26 11:54:43,384 DEBUG inflater.precache(): Precaching layout iptables:option-interface
2013-08-26 11:54:43,384 DEBUG inflater.precache(): Precaching layout iptables:option-address
2013-08-26 11:54:43,384 DEBUG inflater.precache(): Precaching layout iptables:option-custom
2013-08-26 11:54:43,385 DEBUG inflater.precache(): Precaching layout iptables:option-match
2013-08-26 11:54:43,386 DEBUG inflater.precache(): Precaching layout iptables:option-ports
2013-08-26 11:54:43,386 DEBUG inflater.precache(): Precaching layout iptables:option-protocol
2013-08-26 11:54:43,387 DEBUG inflater.precache(): Precaching layout notepad:main
2013-08-26 11:54:43,388 DEBUG inflater.precache(): Precaching layout notepad:listitem
2013-08-26 11:54:43,390 DEBUG feedback.send(): Feedback >> ping ({'id': 5105})
2013-08-26 11:54:44,296 DEBUG feedback.send(): Feedback << {"status": "ok"}

Revision history for this message
Eugene Pankov (john-pankov) wrote :

Please let me know the name of MySQL initscript (/etc/init.d/???) you have.

Revision history for this message
Tõnis B (bramanis) wrote : Re: [Bug 1216829] Re: MySQL server start fails

It seems the mysql-server wasnt installed although i installed it
through "Plugins".

Only these packages were installed:

root@ajenti:~# dpkg -l |grep mysql
iU libdbd-mysql-perl 4.021-1+b1 amd64 Perl5
database interface to the MySQL database
iU libmysqlclient18:amd64 5.5.31+dfsg-0+wheezy1 amd64 MySQL
database client library
iU mysql-client-5.5 5.5.31+dfsg-0+wheezy1 amd64 MySQL
database client binaries
ii mysql-common 5.5.31+dfsg-0+wheezy1 all MySQL database
common files, e.g. /etc/mysql/my.cnf
iU mysql-server-core-5.5 5.5.31+dfsg-0+wheezy1 amd64 MySQL
database server binaries

Also i was not able to install it through "Packages", when it prompts
for the MySQL root password, the input field does not "work".

On 28.08.2013 9:38, Eugeny Pankov wrote:
> Please let me know the name of MySQL initscript (/etc/init.d/???) you
> have.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.