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

ubuntu 12.04 network #87

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

ubuntu 12.04 network #87

streamel opened this issue Jul 27, 2013 · 2 comments
Assignees

Comments

@streamel
Copy link

Ajenti 0.99.28 bug report

Detected platform: debian / ubuntu / Ubuntu 12.04.2 LTS

Architecture: x86_64 x86_64

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

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/network/main.py", line 43, in on_page_load
self.refresh()
File "/usr/lib/pymodules/python2.7/ajenti/plugins/network/main.py", line 52, in refresh
self.binder.reset().autodiscover().populate()
File "/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 459, in populate
binding.populate()
File "/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 326, in populate
self.ui.post_item_bind(self.object, self.collection, value, template)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/network/main.py", line 23, in post_interface_bind
i.add_bits(self.ui)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/network/api.py", line 66, in add_bits
b = cls.new(ui)
File "/usr/lib/pymodules/python2.7/ajenti/api/init.py", line 88, in new
return context.instantiate(cls, *args, *kwargs)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/init.py", line 176, in instantiate
init(instance)
File "/usr/lib/pymodules/python2.7/ajenti/plugins/network/ncs_linux_basic.py", line 13, in init
self.append(self.ui.inflate('network:bit-linux-basic'))
File "/usr/lib/pymodules/python2.7/ajenti/ui/init.py", line 40, in inflate
return self.inflater.inflate(layout)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 34, in inflate
self.cache[layout] = self.inflate_rec(xml)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 71, in inflate_rec
children = list(self.inflate_rec(child) for child in node)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 71, in
children = list(self.inflate_rec(child) for child in node)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 71, in inflate_rec
children = list(self.inflate_rec(child) for child in node)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 71, in
children = list(self.inflate_rec(child) for child in node)
File "/usr/lib/pymodules/python2.7/ajenti/ui/inflater.py", line 62, in inflate_rec
value = eval(value)
File "", line 1
[
('Loopback'), _('Static'), _('Manual'), «DHCP», «BootP», «WVDial», «Zeroconf»]
^
SyntaxError: invalid syntax

Log content:
2013-07-27 18:39:46,086 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-07-27 18:39:46,168 INFO core.run(): Ajenti 0.99.28 running on platform: debian
2013-07-27 18:39:46,168 DEBUG init.load(): Loading plugin fm
2013-07-27 18:39:46,169 DEBUG init.load_recursive(): Preloading plugin dependency: main
2013-07-27 18:39:46,169 DEBUG init.load(): Loading plugin main
2013-07-27 18:39:46,232 DEBUG init.load(): Loading plugin fm
2013-07-27 18:39:46,235 DEBUG init.load(): Loading plugin cron
2013-07-27 18:39:46,253 DEBUG init.load(): Loading plugin ctdb
2013-07-27 18:39:46,254 DEBUG init.load_recursive(): Preloading plugin dependency: services
2013-07-27 18:39:46,254 DEBUG init.load(): Loading plugin services
2013-07-27 18:39:46,255 DEBUG init.load_recursive(): Preloading plugin dependency: dashboard
2013-07-27 18:39:46,255 DEBUG init.load(): Loading plugin dashboard
2013-07-27 18:39:46,258 DEBUG init.load(): Loading plugin services
2013-07-27 18:39:46,377 DEBUG init.load(): Loading plugin ctdb
2013-07-27 18:39:46,385 WARNING init.load(): *** [ctdb] skipping due to BinaryDependency (ctdb)
2013-07-27 18:39:46,386 DEBUG init.load(): Loading plugin logs
2013-07-27 18:39:46,388 DEBUG init.load(): Loading plugin psql
2013-07-27 18:39:46,389 DEBUG init.load_recursive(): Preloading plugin dependency: db_common
2013-07-27 18:39:46,389 DEBUG init.load(): Loading plugin db_common
2013-07-27 18:39:46,391 DEBUG init.load(): Loading plugin psql
2013-07-27 18:39:46,413 DEBUG init.load(): Loading plugin raid
2013-07-27 18:39:46,422 WARNING init.load(): *** [raid] skipping due to BinaryDependency (mdadm)
2013-07-27 18:39:46,422 DEBUG init.load(): Loading plugin ajenti_org
2013-07-27 18:39:46,425 DEBUG init.load(): Loading plugin elements
2013-07-27 18:39:46,425 WARNING init.load(): *** [elements] Plugin error: format error
2013-07-27 18:39:46,426 DEBUG init.load(): Loading plugin bind9
2013-07-27 18:39:46,435 DEBUG init.load(): Loading plugin dhcpd
2013-07-27 18:39:46,444 DEBUG init.load(): Loading plugin fstab
2013-07-27 18:39:46,485 DEBUG init.load(): Loading plugin hosts
2013-07-27 18:39:46,486 DEBUG init.load(): Loading plugin nginx
2013-07-27 18:39:46,486 DEBUG init.load_recursive(): Preloading plugin dependency: webserver_common
2013-07-27 18:39:46,486 DEBUG init.load(): Loading plugin webserver_common
2013-07-27 18:39:46,487 DEBUG init.load(): Loading plugin nginx
2013-07-27 18:39:46,494 DEBUG init.load(): Loading plugin munin
2013-07-27 18:39:46,502 WARNING init.load(): *** [munin] skipping due to BinaryDependency (munin-cron)
2013-07-27 18:39:46,503 DEBUG init.load(): Loading plugin mysql
2013-07-27 18:39:46,517 DEBUG init.load(): Loading plugin power
2013-07-27 18:39:46,520 DEBUG init.load(): Loading plugin samba
2013-07-27 18:39:46,530 DEBUG init.load(): Loading plugin squid
2013-07-27 18:39:46,539 WARNING init.load(): *** [squid] skipping due to BinaryDependency (squid3)
2013-07-27 18:39:46,540 DEBUG init.load(): Loading plugin users
2013-07-27 18:39:46,543 DEBUG init.load(): Loading plugin packages
2013-07-27 18:39:46,543 DEBUG init.load_recursive(): Preloading plugin dependency: terminal
2013-07-27 18:39:46,544 DEBUG init.load(): Loading plugin terminal
2013-07-27 18:39:46,749 DEBUG init.load(): Loading plugin packages
2013-07-27 18:39:46,751 DEBUG init.load(): Loading plugin lm-sensors
2013-07-27 18:39:46,768 DEBUG init.load(): Loading plugin scripts
2013-07-27 18:39:46,770 DEBUG init.load(): Loading plugin sensors
2013-07-27 18:39:46,774 DEBUG init.load(): Loading plugin supervisor
2013-07-27 18:39:46,784 WARNING init.load(): *** [supervisor] skipping due to BinaryDependency (supervisord)
2013-07-27 18:39:46,785 DEBUG init.load(): Loading plugin iptables
2013-07-27 18:39:46,789 DEBUG init.load(): Loading plugin configurator
2013-07-27 18:39:46,792 DEBUG init.load(): Loading plugin taskmgr
2013-07-27 18:39:46,793 DEBUG init.load(): Loading plugin codemirror
2013-07-27 18:39:46,794 DEBUG init.load(): Loading plugin apache
2013-07-27 18:39:46,805 DEBUG init.load(): Loading plugin exports
2013-07-27 18:39:46,816 DEBUG init.load(): Loading plugin network
2013-07-27 18:39:46,823 DEBUG init.load(): Loading plugin hddtemp
2013-07-27 18:39:46,834 DEBUG init.load(): Loading plugin resolv
2013-07-27 18:39:46,843 DEBUG init.load(): Loading plugin notepad
2013-07-27 18:39:46,845 DEBUG init.load(): Loading plugin netatalk
2013-07-27 18:39:46,855 WARNING init.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2013-07-27 18:39:46,855 DEBUG init.load(): Loading plugin smartctl
2013-07-27 18:39:46,867 DEBUG init.load(): Loading plugin resources
2013-07-27 18:39:46,871 DEBUG init.load(): Loading plugin megaraid
2013-07-27 18:39:46,871 WARNING init.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
2013-07-27 18:39:46,872 DEBUG init.load(): Loading plugin plugins
2013-07-27 18:39:46,873 DEBUG init.load(): Loading plugin memcache
2013-07-27 18:39:46,884 DEBUG init.load(): Loading plugin dns
2013-07-27 18:39:46,907 WARNING init.load(): *** [dns] Plugin error: format error
2013-07-27 18:39:46,907 DEBUG init.load(): Loading plugin bacula_common
2013-07-27 18:39:46,909 WARNING init.load(): *** [bacula_common] Plugin error: format error
2013-07-27 18:39:46,909 DEBUG init.load(): Loading plugin shell
2013-07-27 18:39:46,911 WARNING init.load(): *** [shell] Plugin error: format error
2013-07-27 18:39:46,911 DEBUG init.load(): Loading plugin dnsmasq
2013-07-27 18:39:46,912 WARNING init.load(): *** [dnsmasq] Plugin error: format error
2013-07-27 18:39:46,913 DEBUG init.load(): Loading plugin filesystems
2013-07-27 18:39:46,914 WARNING init.load(): *** [filesystems] Plugin error: format error
2013-07-27 18:39:46,914 DEBUG init.load(): Loading plugin squid_sarg
2013-07-27 18:39:46,916 WARNING init.load(): *** [squid_sarg] Plugin error: format error
2013-07-27 18:39:46,917 DEBUG init.load(): Loading plugin sysload
2013-07-27 18:39:46,926 WARNING init.load(): *** [sysload] Plugin error: format error
2013-07-27 18:39:46,926 DEBUG init.load(): Loading plugin hddstat
2013-07-27 18:39:46,942 WARNING init.load(): *** [hddstat] Plugin error: format error
2013-07-27 18:39:46,943 DEBUG init.load(): Loading plugin pkgman
2013-07-27 18:39:46,945 WARNING init.load(): *** [pkgman] Plugin error: format error
2013-07-27 18:39:46,945 DEBUG init.load(): Loading plugin openvpn
2013-07-27 18:39:46,946 WARNING init.load(): *** [openvpn] Plugin error: format error
2013-07-27 18:39:46,946 DEBUG init.load(): Loading plugin bacula_dir
2013-07-27 18:39:46,947 WARNING init.load(): *** [bacula_dir] Plugin error: format error
2013-07-27 18:39:46,948 DEBUG init.load(): Loading plugin daemons
2013-07-27 18:39:46,949 WARNING init.load(): *** [daemons] Plugin error: format error
2013-07-27 18:39:47,005 INFO core.start(): Starting SSL tunnel for port 35012
2013-07-27 18:39:47,743 INFO core.run(): SSL tunnel running fine
2013-07-27 18:39:47,744 INFO core.run(): Starting server on (u'127.0.0.1', 35012)
2013-07-27 18:39:47,746 DEBUG feedback.worker(): Registering installation
2013-07-27 18:39:47,747 DEBUG feedback.send(): Feedback >> register ({'version': '0.99.28', 'os': 'debian'})
2013-07-27 18:40:03,074 DEBUG feedback.send(): Feedback << {"status": "ok", "id": 2196}
2013-07-27 18:40:03,076 DEBUG feedback.send(): Feedback >> ping ({'id': 2196})
2013-07-27 18:40:18,417 DEBUG feedback.send(): Feedback << {"status": "ok"}

        network conf:

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto eth0
iface eth0 inet static
address 192.168.0.36
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1 8.8.8.8 4.4.4.4

auto eth1
iface eth1 inet dhcp

iface wlan1 inet dhcp

wpa-driver wext

wpa-ssid "*******"

wpa-ap-scan 1

wpa-proto RSN

wpa-pairwise CCMP

wpa-group CCMP

wpa-key-mgmt WPA-PSK

psk="***"

wpa-psk **************************

auto wlan1

@ghost ghost assigned Eugeny Jul 28, 2013
@Eugeny
Copy link
Member

Eugeny commented Jul 28, 2013

Fixed. Quick update: http://repo.ajenti.org/ajenti-streamel.deb

@Eugeny Eugeny closed this as completed Jul 28, 2013
Eugeny added a commit that referenced this issue Jul 28, 2013
@streamel
Copy link
Author

Fixed. Thanks

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