Welcome to the Ajenti Idea Exchange. It's your chance to collaborate with our team and other users to influence the future of Ajenti! Ideas appreciated.

0

Ajenti Installation on RHEL6.0 32 Bit

Manoj Kalwar 9 years ago 0
Hi Team,

I am trying to install Ajenti on RHEL 6.0 32 Bit OS.

I have follow the documenation , but getting error.

"yum install ajenti-v
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
http://repo.ajenti.org/ng/centos/6Workstation/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ajenti. Please verify its path and try agai"

Please help me :)

Regards,
Manoj Kalwar
0
Under review

Apache 2.4.x revese proxy error 500 and 502

Xarkam 10 years ago updated 10 years ago 12
Hello, I configured a wirtual host for ajenti with proxypass reverse.
But I have one error 500 and 502 error's.

This is my apache configuration

<VirtualHost *:443>
        ServerName ajenti.XXXXX.org

        SSLEngine on
        SSLProxyEngine On
        SSLCertificateFile    /etc/ssl/XXXXX_webserver_ssl.crt
        SSLCertificateKeyFile /etc/ssl/XXXXX_webserver_ssl.key
        #SSLVerifyClient none

        <IfModule mod_disk_cache.c>
                 # "/s" is where Confluence serves "static" stuff. Instruct Apache to cache it:
                 CacheEnable disk /s
                 CacheIgnoreHeaders Set-Cookie
                 CacheRoot "/var/cache/mod_proxy"
        </IfModule>

        # Ajenti Proxy Configuration:
        <Proxy *>
                Order deny,allow
                Allow from all
        </Proxy>

        RequestHeader set Origin https://192.168.0.200:8010

        ProxyRequests           Off
        ProxyPreserveHost       On
        ProxyPass               /       https://192.168.0.200:8010/
        ProxyPassReverse        /       https://192.168.0.200:8010/
        ProxyPass /ajenti:socket/1/websocket/ ws://192.168.0.200:8010/ajenti:socket/1/websocket/

        ErrorLog "/var/log/apache2/ajenti.log"
        CustomLog "/var/log/apache2/ajenti-access.log" common

</VirtualHost>
Firefox Networking:
Image 75Image 76

what is misconfigured?



0

Problem with php-modules gd / MySQL PDO extension

Ralf Frischknecht 9 years ago updated 9 years ago 2
I tried to install Piwik and Concrete5 but I had twice the same problem: I cannot load those two extentions. I have activated the PHP Fast CGI with the following settings under PHP ini values:
open_basedir = none;
extension=gd.so
extension=mysql.so
extension=mysqli.so
extension=pdo_mysql.so

Is this the wrong way or do I have to setup more that the extensions getting loaded?

0
Fixed

vsftpd - not running?

Arthur Wiebe 10 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 3
New installation as of today. I setup a site and installed the vsftpd package.

If I try to do /etc/init.d/vsftpd start it doesn't start but there are no errors. And /var/log/vsftpd.log has nothing, syslog doesn't show up with anything and neither does /var/log/messages. I'm just not sure why it doesn't run.
0
Answered

После установки панель не запускается в браузере

Тарас Гаврилюк 10 years ago updated by Павел Андрусов 9 years ago 16
Установил панель с помощью автоматической установки. Написало, что все хорошо. Но когда открываю http://ip:8000, пишет "Веб страница недоступна". Пробовал отключать ssl - не помогло. Помогите пожалуйста
0
Fixed

Ajenti fails to start (but with [ OK ] ), logs: "ImportError: No module named socketio.handler"

Jakub Darmach 10 years ago updated by Thibaut 10 years ago 30
Fresh install of Ajenti on CentOS 6.5
Fails to start, logs:
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 124, in <module>
from ajenti import core
File "/usr/lib/python2.6/site-packages/ajenti/core.py", line 20, in <module>
from ajenti.http import HttpRoot, RootHttpHandler
File "/usr/lib/python2.6/site-packages/ajenti/http.py", line 9, in <module>
from socketio.handler import SocketIOHandler
ImportError: No module named socketio.handler

0
Not a bug

Error Ajenti

Guillaume Reynaud 10 years ago updated by anason printwork 7 years ago 9
Hello,
excuse me for my bad english.

I often error Could not bind to (U'0 .0.0.0 '), 8000) usually follows an update of Ajenti.
The service may not start properly. The only way I've found to regain access to the web is to restart the server interface.
Is there a less drastic solution.
Thank you. guillaume.

Answer
Hi,

Where do you see this error? In the logs, or in the console?
0
Fixed

Ajenti 0.99-6 on CentOS 6.4

InteractMarketing 11 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 2

Firewall tab crashes. Error log:


Ajenti 0.99.6 bug report
--------------------

Detected platform: centos / centos / "CentOS release 6.4 (Final)"

Python: 2.6.6
Installation: 74153198
Debug: False
Loaded plugins:
main cron dashboard terminal scripts services webserver_common sensors power iptables configurator logs smartctl codemirror notepad users packages plugins hosts db_common mysql network raid resources ajenti_org exports taskmgr fstab resolv fm psql

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 98, 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 64, in dispatch_event
  self.root.dispatch_event(uid, event, params)
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 306, in dispatch_event
  if child.dispatch_event(uid, event, params):
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 302, in dispatch_event
  self.event(event, params)
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 320, in event
  getattr(self, 'on_%s' % event)(**(params or {}))
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 266, in on_switch
  child.broadcast('on_page_load')
  File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 292, in broadcast
  getattr(self, method)(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/iptables/main.py", line 109, in on_page_load
  self.refresh()
  File "/usr/lib/python2.6/site-packages/ajenti/plugins/iptables/main.py", line 121, in refresh
  self.binder.autodiscover().populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 410, in populate
  binding.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 293, in populate
  binder.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 410, in populate
  binding.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 293, in populate
  binder.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 410, in populate
  binding.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 293, in populate
  binder.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 410, in populate
  binding.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 293, in populate
  binder.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 410, in populate
  binding.populate()
  File "/usr/lib/python2.6/site-packages/ajenti/ui/binder.py", line 130, in populate
  template = self.ui.children[index]
IndexError: list index out of range


Log:
2013-06-25 15:30:08,545 INFO  registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-06-25 15:30:08,674 INFO  core.run(): Ajenti 0.99.6 running on platform: centos
2013-06-25 15:30:08,677 DEBUG  __init__.load(): Loading plugin cron
2013-06-25 15:30:08,677 DEBUG  __init__.load():  == Cron
2013-06-25 15:30:08,677 DEBUG  __init__.load_recursive(): Preloading plugin dependency: main
2013-06-25 15:30:08,677 DEBUG  __init__.load(): Loading plugin main
2013-06-25 15:30:08,678 DEBUG  __init__.load():  == Core
2013-06-25 15:30:08,698 DEBUG  __init__.load(): Loading plugin cron
2013-06-25 15:30:08,699 DEBUG  __init__.load():  == Cron
2013-06-25 15:30:08,704 DEBUG  __init__.load(): Loading plugin scripts
2013-06-25 15:30:08,704 DEBUG  __init__.load():  == Scripts
2013-06-25 15:30:08,704 DEBUG  __init__.load_recursive(): Preloading plugin dependency: dashboard
2013-06-25 15:30:08,704 DEBUG  __init__.load(): Loading plugin dashboard
2013-06-25 15:30:08,705 DEBUG  __init__.load():  == Dashboard
2013-06-25 15:30:08,706 DEBUG  __init__.load(): Loading plugin scripts
2013-06-25 15:30:08,706 DEBUG  __init__.load():  == Scripts
2013-06-25 15:30:08,707 DEBUG  __init__.load_recursive(): Preloading plugin dependency: terminal
2013-06-25 15:30:08,707 DEBUG  __init__.load(): Loading plugin terminal
2013-06-25 15:30:08,707 DEBUG  __init__.load():  == Terminal
2013-06-25 15:30:08,724 DEBUG  __init__.load(): Loading plugin scripts
2013-06-25 15:30:08,724 DEBUG  __init__.load():  == Scripts
2013-06-25 15:30:08,725 DEBUG  __init__.load(): Loading plugin webserver_common
2013-06-25 15:30:08,725 DEBUG  __init__.load():  == Webserver Commons
2013-06-25 15:30:08,725 DEBUG  __init__.load_recursive(): Preloading plugin dependency: services
2013-06-25 15:30:08,725 DEBUG  __init__.load(): Loading plugin services
2013-06-25 15:30:08,725 DEBUG  __init__.load():  == Services
2013-06-25 15:30:08,743 DEBUG  __init__.load(): Loading plugin webserver_common
2013-06-25 15:30:08,743 DEBUG  __init__.load():  == Webserver Commons
2013-06-25 15:30:08,744 DEBUG  __init__.load(): Loading plugin sensors
2013-06-25 15:30:08,745 DEBUG  __init__.load():  == Sensors
2013-06-25 15:30:08,774 DEBUG  __init__.load(): Loading plugin recovery
2013-06-25 15:30:08,775 WARNING  __init__.load():  *** [recovery] Plugin crashed: crashed: No module named recovery
2013-06-25 15:30:08,775 DEBUG  __init__.load(): Loading plugin power
2013-06-25 15:30:08,775 DEBUG  __init__.load():  == Power
2013-06-25 15:30:08,776 DEBUG  __init__.load(): Loading plugin squid
2013-06-25 15:30:08,776 DEBUG  __init__.load():  == Squid
2013-06-25 15:30:08,781 WARNING  __init__.load():  *** [squid] Plugin failed to load: BinaryDependency (squid3)
2013-06-25 15:30:08,781 DEBUG  __init__.load(): Loading plugin health
2013-06-25 15:30:08,782 WARNING  __init__.load():  *** [health] Plugin crashed: crashed: No module named health
2013-06-25 15:30:08,782 DEBUG  __init__.load(): Loading plugin iptables
2013-06-25 15:30:08,783 DEBUG  __init__.load():  == Firewall
2013-06-25 15:30:08,784 DEBUG  __init__.load(): Loading plugin configurator
2013-06-25 15:30:08,785 DEBUG  __init__.load():  == Ajenti Configurator
2013-06-25 15:30:08,786 DEBUG  __init__.load(): Loading plugin logs
2013-06-25 15:30:08,786 DEBUG  __init__.load():  == Logs
2013-06-25 15:30:08,787 DEBUG  __init__.load(): Loading plugin config
2013-06-25 15:30:08,787 WARNING  __init__.load():  *** [config] Plugin crashed: crashed: No module named config
2013-06-25 15:30:08,787 DEBUG  __init__.load(): Loading plugin smartctl
2013-06-25 15:30:08,788 DEBUG  __init__.load():  == S.M.A.R.T.
2013-06-25 15:30:08,793 DEBUG  __init__.load(): Loading plugin notepad
2013-06-25 15:30:08,794 DEBUG  __init__.load():  == Notepad
2013-06-25 15:30:08,794 DEBUG  __init__.load_recursive(): Preloading plugin dependency: codemirror
2013-06-25 15:30:08,794 DEBUG  __init__.load(): Loading plugin codemirror
2013-06-25 15:30:08,795 DEBUG  __init__.load():  == CodeMirror code editor
2013-06-25 15:30:08,795 DEBUG  __init__.load(): Loading plugin notepad
2013-06-25 15:30:08,795 DEBUG  __init__.load():  == Notepad
2013-06-25 15:30:08,796 DEBUG  __init__.load(): Loading plugin users
2013-06-25 15:30:08,796 DEBUG  __init__.load():  == Users
2013-06-25 15:30:08,797 DEBUG  __init__.load(): Loading plugin core
2013-06-25 15:30:08,797 WARNING  __init__.load():  *** [core] Plugin crashed: crashed: No module named core
2013-06-25 15:30:08,798 DEBUG  __init__.load(): Loading plugin packages
2013-06-25 15:30:08,798 DEBUG  __init__.load():  == Package manager
2013-06-25 15:30:08,800 DEBUG  __init__.load(): Loading plugin lm-sensors
2013-06-25 15:30:08,801 DEBUG  __init__.load():  == LM-Sensors
2013-06-25 15:30:08,805 WARNING  __init__.load():  *** [lm-sensors] Plugin failed to load: BinaryDependency (sensors)
2013-06-25 15:30:08,806 DEBUG  __init__.load(): Loading plugin plugins
2013-06-25 15:30:08,806 DEBUG  __init__.load():  == Plugins
2013-06-25 15:30:08,807 DEBUG  __init__.load(): Loading plugin hosts
2013-06-25 15:30:08,807 DEBUG  __init__.load():  == Hosts
2013-06-25 15:30:08,808 DEBUG  __init__.load(): Loading plugin mysql
2013-06-25 15:30:08,808 DEBUG  __init__.load():  == MySQL
2013-06-25 15:30:08,808 DEBUG  __init__.load_recursive(): Preloading plugin dependency: db_common
2013-06-25 15:30:08,808 DEBUG  __init__.load(): Loading plugin db_common
2013-06-25 15:30:08,809 DEBUG  __init__.load():  == Database Commons
2013-06-25 15:30:08,809 DEBUG  __init__.load(): Loading plugin mysql
2013-06-25 15:30:08,810 DEBUG  __init__.load():  == MySQL
2013-06-25 15:30:08,816 DEBUG  __init__.load(): Loading plugin network
2013-06-25 15:30:08,816 DEBUG  __init__.load():  == Network
2013-06-25 15:30:08,817 DEBUG  __init__.load(): Loading plugin raid
2013-06-25 15:30:08,818 DEBUG  __init__.load():  == RAID
2013-06-25 15:30:08,824 DEBUG  __init__.load(): Loading plugin resources
2013-06-25 15:30:08,824 DEBUG  __init__.load():  == Resource Manager
2013-06-25 15:30:08,826 DEBUG  __init__.load(): Loading plugin ajenti_org
2013-06-25 15:30:08,826 DEBUG  __init__.load():  == ajenti.org integration
2013-06-25 15:30:08,827 DEBUG  __init__.load(): Loading plugin exports
2013-06-25 15:30:08,827 DEBUG  __init__.load():  == NFS Exports
2013-06-25 15:30:08,834 DEBUG  __init__.load(): Loading plugin hddtemp
2013-06-25 15:30:08,834 DEBUG  __init__.load():  == HDD temperature
2013-06-25 15:30:08,840 WARNING  __init__.load():  *** [hddtemp] Plugin failed to load: BinaryDependency (hddtemp)
2013-06-25 15:30:08,841 DEBUG  __init__.load(): Loading plugin taskmgr
2013-06-25 15:30:08,842 DEBUG  __init__.load():  == Processes
2013-06-25 15:30:08,843 DEBUG  __init__.load(): Loading plugin fstab
2013-06-25 15:30:08,843 DEBUG  __init__.load():  == Filesystems
2013-06-25 15:30:08,846 DEBUG  __init__.load(): Loading plugin netatalk
2013-06-25 15:30:08,846 DEBUG  __init__.load():  == Netatalk
2013-06-25 15:30:08,853 WARNING  __init__.load():  *** [netatalk] Plugin failed to load: BinaryDependency (afpd)
2013-06-25 15:30:08,853 DEBUG  __init__.load(): Loading plugin ctdb
2013-06-25 15:30:08,854 DEBUG  __init__.load():  == CTDB
2013-06-25 15:30:08,861 WARNING  __init__.load():  *** [ctdb] Plugin failed to load: BinaryDependency (ctdb)
2013-06-25 15:30:08,861 DEBUG  __init__.load(): Loading plugin nginx
2013-06-25 15:30:08,862 DEBUG  __init__.load():  == NGINX
2013-06-25 15:30:08,869 WARNING  __init__.load():  *** [nginx] Plugin failed to load: BinaryDependency (nginx)
2013-06-25 15:30:08,869 DEBUG  __init__.load(): Loading plugin resolv
2013-06-25 15:30:08,870 DEBUG  __init__.load():  == Nameservers
2013-06-25 15:30:08,871 DEBUG  __init__.load(): Loading plugin fm
2013-06-25 15:30:08,872 DEBUG  __init__.load():  == File Manager
2013-06-25 15:30:08,876 DEBUG  __init__.load(): Loading plugin munin
2013-06-25 15:30:08,877 DEBUG  __init__.load():  == Munin
2013-06-25 15:30:08,884 WARNING  __init__.load():  *** [munin] Plugin failed to load: BinaryDependency (munin-cron)
2013-06-25 15:30:08,884 DEBUG  __init__.load(): Loading plugin advancedcontrols
2013-06-25 15:30:08,885 WARNING  __init__.load():  *** [advancedcontrols] Plugin crashed: crashed: No module named advancedcontrols
2013-06-25 15:30:08,885 DEBUG  __init__.load(): Loading plugin firstrun
2013-06-25 15:30:08,886 WARNING  __init__.load():  *** [firstrun] Plugin crashed: crashed: No module named firstrun
2013-06-25 15:30:08,886 DEBUG  __init__.load(): Loading plugin psql
2013-06-25 15:30:08,887 DEBUG  __init__.load():  == PostgreSQL
2013-06-25 15:30:08,894 DEBUG  __init__.load(): Loading plugin samba
2013-06-25 15:30:08,895 DEBUG  __init__.load():  == Samba
2013-06-25 15:30:08,902 WARNING  __init__.load():  *** [samba] Plugin failed to load: BinaryDependency (smbd)
2013-06-25 15:30:08,903 DEBUG  __init__.load(): Loading plugin supervisor
2013-06-25 15:30:08,903 DEBUG  __init__.load():  == Supervisor
2013-06-25 15:30:08,910 WARNING  __init__.load():  *** [supervisor] Plugin failed to load: BinaryDependency (supervisord)
2013-06-25 15:30:08,911 DEBUG  __init__.load(): Loading plugin apache
2013-06-25 15:30:08,911 DEBUG  __init__.load():  == Apache
2013-06-25 15:30:08,918 WARNING  __init__.load():  *** [apache] Plugin failed to load: BinaryDependency (apache2)
2013-06-25 15:30:08,919 DEBUG  __init__.load(): Loading plugin sysload
2013-06-25 15:30:08,919 WARNING  __init__.load():  *** [sysload] Plugin error: format error
2013-06-25 15:30:08,920 DEBUG  __init__.load(): Loading plugin cpu
2013-06-25 15:30:08,921 WARNING  __init__.load():  *** [cpu] Plugin error: format error
2013-06-25 15:30:08,921 DEBUG  __init__.load(): Loading plugin lib_rcconf
2013-06-25 15:30:08,922 WARNING  __init__.load():  *** [lib_rcconf] Plugin error: format error
2013-06-25 15:30:08,922 DEBUG  __init__.load(): Loading plugin loadcores
2013-06-25 15:30:08,923 WARNING  __init__.load():  *** [loadcores] Plugin error: format error
2013-06-25 15:30:08,923 DEBUG  __init__.load(): Loading plugin shell
2013-06-25 15:30:08,924 WARNING  __init__.load():  *** [shell] Plugin error: format error
2013-06-25 15:30:08,924 DEBUG  __init__.load(): Loading plugin filesystems
2013-06-25 15:30:08,925 WARNING  __init__.load():  *** [filesystems] Plugin error: format error
2013-06-25 15:30:08,925 DEBUG  __init__.load(): Loading plugin hddstat
2013-06-25 15:30:08,926 WARNING  __init__.load():  *** [hddstat] Plugin error: format error
2013-06-25 15:30:08,926 DEBUG  __init__.load(): Loading plugin dns
2013-06-25 15:30:08,927 WARNING  __init__.load():  *** [dns] Plugin error: format error
2013-06-25 15:30:08,927 DEBUG  __init__.load(): Loading plugin daemons
2013-06-25 15:30:08,928 WARNING  __init__.load():  *** [daemons] Plugin error: format error
2013-06-25 15:30:08,928 DEBUG  __init__.load(): Loading plugin pkgman
2013-06-25 15:30:08,929 WARNING  __init__.load():  *** [pkgman] Plugin error: format error
2013-06-25 15:30:08,940 INFO  core.start(): Starting SSL tunnel for port 50464
2013-06-25 15:30:09,655 INFO  core.run(): SSL tunnel running fine
2013-06-25 15:30:09,656 INFO  core.run(): Starting server on (u'127.0.0.1', 50464)
2013-06-25 15:30:09,661 DEBUG  feedback.send(): Feedback >> ping ({'id': 216})
2013-06-25 15:30:09,666 INFO  connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org
2013-06-25 15:30:09,813 DEBUG  connectionpool._make_request(): "POST /api/v2/ping HTTP/1.1" 200 None
2013-06-25 15:30:09,814 DEBUG  feedback.send(): Feedback << {"status": "ok"}


Apache Plugin:

It says dependency unsatisfied. On Application binary - httpd says "This package can be installed automatically". Clicked on Install and it went to the black screen.Application binary - httpd not installed.

0
Thanks

Ajenti on cubieboard2

miniNodes com 11 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 0

Just wanted to let everyone know that Ajenti runs great on my Cubieboard2 I am testing for http://www.mininodes.com 


I placed a quick walkthrough here (though installation is VERY easy):

http://www.mininodes.com/how-to-install-ajenti-on-the-cubieboard2-linaro-13-04-arm-dedicated-server/

Answer

Thanks for the feedback!

0
Answered

Question: Django User Group not changed from root to 'username'

Denis Denisov 10 years ago updated 10 years ago 3
Hi :)
After setting up everything under Debian 7, with help of the documentation was able to start up Django test server. Everything was setup using root account from the beginning.

When I got used to working with Ajenti panel, created a custom user 'test' for solo purpose - managing test site. While playing around found out that files uploaded via ftp were with www-data group (www-data/test: -rw-r--r-- 1 www-data test 166520 Jul 6 20:22 img_26278.jpg) and files uploaded via application (in django application upload media files) were added with root group (-rw-r--r-- 1 root test 166520 Jul 6 19:35 img_2dfs278jpg).

Probably my bad :) Any hints where to look or what could be the problem? Thank!)
Answer
Update released, the setting is under Content > ... > Python > User (it will be www-data by default now).
Don't forget to update all Ajenti V packages!