Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajenty error in reading bind9 config #84

Closed
streamel opened this issue Jul 26, 2013 · 2 comments
Closed

Ajenty error in reading bind9 config #84

streamel opened this issue Jul 26, 2013 · 2 comments

Comments

@streamel
Copy link

Ajenti 0.99.26 bug report

Detected platform: debian / debian / Debian GNU/Linux 7.1 (wheezy)

Architecture: x86_64 unknown

Python: 2.7.3
Installation: 55537146
Debug: False
Loaded plugins:
main plugins dashboard memcache services fstab power hosts taskmgr ajenti_org supervisor webserver_common codemirror notepad smartctl iptables logs db_common fm samba test bind9 terminal scripts configurator resources network squid ctdb munin resolv exports users hddtemp cron lm-sensors packages sensors mysql nginx

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 101, in on_message
self.ui.dispatch_event(update['uid'], update['event'], update['params'])
File "/usr/lib/pymodules/python2.7/ajenti/ui/init.py", line 64, 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 311, in dispatch_event
self.event(event, params)
File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 330, in event
getattr(self, 'on_%s' % self_event)(*_(params or {}))
File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 269, in on_switch
child.broadcast('on_page_load')
File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 301, in broadcast
getattr(self, method)(_args, **kwargs)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/bind9/main.py", line 62, in on_page_load
self.refresh()
File "/usr/lib/pymodules/python2.7/ajenti/plugins/bind9/main.py", line 65, in refresh
self.config.load()
File "/usr/lib/pymodules/python2.7/reconfigure/configs/base.py", line 34, in load
self.nodetree = self.parser.parse(self.content)
File "/usr/lib/pymodules/python2.7/reconfigure/parsers/nginx.py", line 26, in parse
raise Exception('Invalid tokens: %s' % remainder)
Exception: Invalid tokens: ;

Log content:
2013-07-25 19:01:09,557 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-07-25 19:01:13,394 INFO core.run(): Ajenti 0.99.26 running on platform: debian
2013-07-25 19:01:14,560 DEBUG init.load(): Loading plugin main
2013-07-25 19:01:15,343 DEBUG init.load(): Loading plugin plugins
2013-07-25 19:01:15,384 DEBUG init.load(): Loading plugin memcache
2013-07-25 19:01:15,464 DEBUG init.load_recursive(): Preloading plugin dependency: dashboard
2013-07-25 19:01:15,464 DEBUG init.load(): Loading plugin dashboard
2013-07-25 19:01:15,798 DEBUG init.load(): Loading plugin memcache
2013-07-25 19:01:15,831 DEBUG init.load(): Loading plugin elements
2013-07-25 19:01:15,880 DEBUG init.load_recursive(): Preloading plugin dependency: services
2013-07-25 19:01:15,880 DEBUG init.load(): Loading plugin services
2013-07-25 19:01:16,309 DEBUG init.load(): Loading plugin elements
2013-07-25 19:01:16,366 WARNING init.load(): *** [elements] Plugin crashed: crashed: No module named slugify
2013-07-25 19:01:16,366 DEBUG init.load(): Loading plugin fstab
2013-07-25 19:01:16,906 DEBUG init.load(): Loading plugin power
2013-07-25 19:01:16,968 DEBUG init.load(): Loading plugin hosts
2013-07-25 19:01:17,048 DEBUG init.load(): Loading plugin taskmgr
2013-07-25 19:01:17,157 DEBUG init.load(): Loading plugin ajenti_org
2013-07-25 19:01:17,247 DEBUG init.load(): Loading plugin supervisor
2013-07-25 19:01:17,307 DEBUG init.load(): Loading plugin apache
2013-07-25 19:01:17,331 DEBUG init.load_recursive(): Preloading plugin dependency: webserver_common
2013-07-25 19:01:17,331 DEBUG init.load(): Loading plugin webserver_common
2013-07-25 19:01:17,373 DEBUG init.load(): Loading plugin apache
2013-07-25 19:01:17,380 WARNING init.load(): *** [apache] skipping due to BinaryDependency (apache2)
2013-07-25 19:01:17,381 DEBUG init.load(): Loading plugin notepad
2013-07-25 19:01:17,421 DEBUG init.load_recursive(): Preloading plugin dependency: codemirror
2013-07-25 19:01:17,421 DEBUG init.load(): Loading plugin codemirror
2013-07-25 19:01:17,591 DEBUG init.load(): Loading plugin notepad
2013-07-25 19:01:17,611 DEBUG init.load(): Loading plugin netatalk
2013-07-25 19:01:17,793 WARNING init.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2013-07-25 19:01:17,794 DEBUG init.load(): Loading plugin smartctl
2013-07-25 19:01:17,999 DEBUG init.load(): Loading plugin iptables
2013-07-25 19:01:18,533 DEBUG init.load(): Loading plugin logs
2013-07-25 19:01:18,717 DEBUG init.load(): Loading plugin db_common
2013-07-25 19:01:18,807 DEBUG init.load(): Loading plugin fm
2013-07-25 19:01:19,339 DEBUG init.load(): Loading plugin samba
2013-07-25 19:01:19,723 DEBUG init.load(): Loading plugin test
2013-07-25 19:01:19,974 DEBUG init.load(): Loading plugin bind9
2013-07-25 19:01:20,063 DEBUG init.load(): Loading plugin scripts
2013-07-25 19:01:20,168 DEBUG init.load_recursive(): Preloading plugin dependency: terminal
2013-07-25 19:01:20,168 DEBUG init.load(): Loading plugin terminal
2013-07-25 19:01:21,499 DEBUG init.load(): Loading plugin scripts
2013-07-25 19:01:21,535 DEBUG init.load(): Loading plugin configurator
2013-07-25 19:01:21,592 DEBUG init.load(): Loading plugin psql
2013-07-25 19:01:21,678 WARNING init.load(): *** [psql] skipping due to BinaryDependency (psql)
2013-07-25 19:01:21,679 DEBUG init.load(): Loading plugin resources
2013-07-25 19:01:21,724 DEBUG init.load(): Loading plugin network
2013-07-25 19:01:21,925 DEBUG init.load(): Loading plugin squid
2013-07-25 19:01:22,053 DEBUG init.load(): Loading plugin ctdb
2013-07-25 19:01:22,197 DEBUG init.load(): Loading plugin munin
2013-07-25 19:01:22,482 DEBUG init.load(): Loading plugin resolv
2013-07-25 19:01:22,714 DEBUG init.load(): Loading plugin exports
2013-07-25 19:01:22,783 DEBUG init.load(): Loading plugin users
2013-07-25 19:01:22,939 DEBUG init.load(): Loading plugin hddtemp
2013-07-25 19:01:23,042 DEBUG init.load(): Loading plugin raid
2013-07-25 19:01:23,120 WARNING init.load(): *** [raid] skipping due to BinaryDependency (mdadm)
2013-07-25 19:01:23,121 DEBUG init.load(): Loading plugin cron
2013-07-25 19:01:23,226 DEBUG init.load(): Loading plugin lm-sensors
2013-07-25 19:01:23,293 DEBUG init.load(): Loading plugin packages
2013-07-25 19:01:23,371 DEBUG init.load(): Loading plugin sensors
2013-07-25 19:01:23,464 DEBUG init.load(): Loading plugin mysql
2013-07-25 19:01:23,545 DEBUG init.load(): Loading plugin nginx
2013-07-25 19:01:23,589 DEBUG init.load(): Loading plugin dhcpd
2013-07-25 19:01:23,725 WARNING init.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd)
2013-07-25 19:01:23,981 INFO core.start(): Starting SSL tunnel for port 45848
2013-07-25 19:01:24,881 INFO core.run(): SSL tunnel running fine
2013-07-25 19:01:24,882 INFO core.run(): Starting server on (u'127.0.0.1', 45848)
2013-07-25 19:01:24,885 DEBUG feedback.send(): Feedback >> ping ({'id': 2090})
2013-07-25 19:01:25,214 DEBUG feedback.send(): Feedback << {"status": "ok"}

When i try edit bind9

@Eugeny
Copy link
Member

Eugeny commented Jul 26, 2013

Please compress and attach your /etc/bind. Many thanks!

@streamel
Copy link
Author

I found the problem on their own. Excess ";" in /etc/bind/named.conf
But the bug is a bug :)

26.07.2013 16:10, Eugene Pankov пишет:

Please compress and attach your /etc/bind. Many thanks!


Reply to this email directly or view it on GitHub
https://github.com/Eugeny/ajenti/issues/84#issuecomment-21616719.

Усов Роман /дизайнер//, фотограф/
Tel: +7 (965) 384-7323 | streamel@gmail.com | www.streamel.ru

Facebook http://www.facebook.com/streamel Twitter
http://www.twitter.com/streamel Flickr
http://www.flickr.com/photos/streamel Picasa
http://picasaweb.google.com/streamel
Contact me: Google Talk streamel Skype streamel ICQ 479574642

@Eugeny Eugeny closed this as completed Jul 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants