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
Answered

How to change language ajenti?

Laszlo Espadas 11 year бұрын updated by Eugene Pankov (Project coordinator) 11 year бұрын 0

How to change language ajenti? Ubuntu locale: hu_HU.UTF-8

Answer

Replied @ Github

0
Answered

How to use CodeMirror

Schlingue 10 year бұрын жаңартылды 10 year бұрын 5
Hello :)
I must be totally dumb but I can't find how to use CodeMirror to modify files.

TIA :)
Cheers
Answer
Hi, the notepad plugin runs on Codemirror
0
Answered

Ajenti troubleshooting

Kos mOS 10 year бұрын updated by Eugene Pankov (Project coordinator) 10 year бұрын 1
After installing it both with nginx and apache nothing works and error is same:

21.09.2014 00:13 core.py:99 INFO Starting server on (u'0.0.0.0', 8000)
21.09.2014 00:13 core.py:121 ERROR Could not bind to (u'0.0.0.0', 8000)
root@burnbabylon:/etc/nginx# sudo netstat -tlnp | grep 8000
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 8950/python

while process is killed I get this:

21.09.2014 00:19 core.py:99 INFO Starting server on (u'0.0.0.0', 8000)
21.09.2014 00:19 __init__.py:207 DEBUG Root context instantiated [SessionMiddleware] <ajenti.middleware.SessionMiddleware object at 0xb5193a0c>
21.09.2014 00:19 __init__.py:207 DEBUG Root context instantiated [AuthenticationMiddleware] <ajenti.middleware.AuthenticationMiddleware object at 0xb51aee6c>
21.09.2014 00:19 __init__.py:207 DEBUG Root context instantiated [CentralDispatcher] <ajenti.routing.CentralDispatcher object at 0xb51c640c>
21.09.2014 00:19 core.py:134 INFO SSL enabled: /etc/ajenti/ajenti.pem
21.09.2014 00:19 __init__.py:207 DEBUG Root context instantiated [IPCServer] <ajenti.ipc.IPCServer object at 0xb51c668c>
21.09.2014 00:19 __init__.py:207 DEBUG Root context instantiated [Licensing] <ajenti.licensing.Licensing object at 0xb51c6d0c>
21.09.2014 00:19 feedback.py:30 DEBUG Feedback >> ping ({'edition': 'vanilla', 'version': '1.2.22.10', 'os': 'debian', 'id': 73860})
21.09.2014 00:19 retry.py:155 DEBUG Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
21.09.2014 00:19 connectionpool.py:188 INFO Starting new HTTP connection (1): meta.ajenti.org
21.09.2014 00:19 connectionpool.py:362 DEBUG "POST /api/v2/ping HTTP/1.1" 200 36
21.09.2014 00:19 feedback.py:35 DEBUG Feedback << {"status": "ok"}

Now if I open the servers page, I will get this:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 383, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 85, in __init__
self._sslobj = _ssl.sslwrap(self._sock, server_side,
AttributeError: 'module' object has no attribute 'sslwrap'
<Greenlet at 0xb50df43cL: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0xb51c67ccL fileno=6 address=0.0.0.0:8000>>(<socket at 0xb485018cL fileno=11 sock=127.0.0.1:80, ('127.0.0.1', 45896))> failed with AttributeError

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 383, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 85, in __init__
self._sslobj = _ssl.sslwrap(self._sock, server_side,
AttributeError: 'module' object has no attribute 'sslwrap'
<Greenlet at 0xb50df43cL: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0xb51c67ccL fileno=6 address=0.0.0.0:8000>>(<socket at 0xb48501ccL fileno=11 sock=127.0.0.1:80, ('127.0.0.1', 45897))> failed with AttributeError

Any help with this issue is appreciated, I am trying to setup a test environment to move into production a webhosting server with Ajenti services. But if this does not work I will stick to Plesk.
Answer
This is a Gevent bug which prevents SSL working under Python 2.7.9 (in-dev).
I've committed a patch that will fix this problem, and preparing a pull request for gevent devs. In the meanwhile, you can disable SSL, downgrade Python to 2.7.8 or run Ajenti from git source.
0
Not a bug

nginx not starting

Robin Timman 10 year бұрын updated by igor 4 year бұрын 8
Hi,
I've rebooted my server from the dashboard, but when its restarted it won't start nginx.
What can i do to make it work?
0
Not a bug

Install ajenti v mail CentOS 6.5

Harris Marfel 10 year бұрын жаңартылды 10 year бұрын 2
I got error problem bellow when installing ajenti v mail on centos 6.5
Already clean all but still got this problem.

[root@IDRBILNXLT01 ~]# yum install ajenti-v-mail -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* c6-media:
* remi: fr2.rpmfind.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ajenti-v-mail.noarch 0:0.1.23-1 will be installed
--> Processing Dependency: courier-authlib-userdb >= 0.64.0 for package: ajenti-v-mail-0.1.23-1.noarch
--> Processing Dependency: courier-imap >= 4.9.3 for package: ajenti-v-mail-0.1.23-1.noarch
--> Processing Dependency: exim for package: ajenti-v-mail-0.1.23-1.noarch
--> Running transaction check
---> Package courier-authlib-userdb.x86_64 0:0.64.0-1.el6 will be installed
--> Processing Dependency: courier-authlib = 0.64.0-1.el6 for package: courier-authlib-userdb-0.64.0-1.el6.x86_64
--> Processing Dependency: libcourierauth.so()(64bit) for package: courier-authlib-userdb-0.64.0-1.el6.x86_64
--> Processing Dependency: libcourierauthcommon.so()(64bit) for package: courier-authlib-userdb-0.64.0-1.el6.x86_64
---> Package courier-imap.x86_64 0:4.9.3-1 will be installed
--> Processing Dependency: courier-authlib-devel >= 0.60.6.20080629 for package: courier-imap-4.9.3-1.x86_64
---> Package exim.x86_64 0:4.72-6.el6 will be installed
--> Running transaction check
---> Package courier-authlib.x86_64 0:0.64.0-1.el6 will be installed
---> Package courier-authlib-devel.x86_64 0:0.64.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================
Installing:
ajenti-v-mail noarch 0.1.23-1 ajenti 13 k
Installing for dependencies:
courier-authlib x86_64 0.64.0-1.el6 ajenti 123 k
courier-authlib-devel x86_64 0.64.0-1.el6 ajenti 38 k
courier-authlib-userdb x86_64 0.64.0-1.el6 ajenti 34 k
courier-imap x86_64 4.9.3-1 ajenti 325 k
exim x86_64 4.72-6.el6 epel 1.2 M

Transaction Summary
=============================================================================================================================================================================================================
Install 6 Package(s)

Total size: 1.8 M
Total download size: 532 k
Installed size: 5.2 M
Downloading Packages:
(1/5): ajenti-v-mail-0.1.23-1.noarch.rpm | 13 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/ajenti-v-mail-0.1.23-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ajenti clean metadata
Trying other mirror.
(2/5): courier-authlib-0.64.0-1.el6.x86_64.rpm | 123 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/courier-authlib-0.64.0-1.el6.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ajenti clean metadata
Trying other mirror.
(3/5): courier-authlib-devel-0.64.0-1.el6.x86_64.rpm | 38 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/courier-... [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ajenti clean metadata
Trying other mirror.
(4/5): courier-authlib-userdb-0.64.0-1.el6.x86_64.rpm | 34 kB 00:00
http://repo.ajenti.org/ng/centos/6/x86_64/courier-... [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ajenti clean metadata
Trying other mirror.
(5/5): courier-imap-4.9.3-1.x86_64.rpm | 325 kB 00:01
http://repo.ajenti.org/ng/centos/6/x86_64/courier-... [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ajenti clean metadata
Trying other mirror.


Error Downloading Packages:
courier-imap-4.9.3-1.x86_64: failure: courier-imap-4.9.3-1.x86_64.rpm from ajenti: [Errno 256] No more mirrors to try.
courier-authlib-userdb-0.64.0-1.el6.x86_64: failure: courier-authlib-userdb-0.64.0-1.el6.x86_64.rpm from ajenti: [Errno 256] No more mirrors to try.
courier-authlib-0.64.0-1.el6.x86_64: failure: courier-authlib-0.64.0-1.el6.x86_64.rpm from ajenti: [Errno 256] No more mirrors to try.
ajenti-v-mail-0.1.23-1.noarch: failure: ajenti-v-mail-0.1.23-1.noarch.rpm from ajenti: [Errno 256] No more mirrors to try.
courier-authlib-devel-0.64.0-1.el6.x86_64: failure: courier-authlib-devel-0.64.0-1.el6.x86_64.rpm from ajenti: [Errno 256] No more mirrors to try.
Answer
0
Answered

Default Path to Website?

miniNodes com 11 year бұрын updated by Murray BCP 10 year бұрын 5

Am I correct in assuming that the default path for nginx on Ajenti-V is "/usr/share/nginx/www"?  

In that folder I see Ajenti created these two files:

/usr/share/nginx/www/50x.html

/usr/share/nginx/www/index.html


When adding a website in Ajenti-V, I define the domain name, port, and then go to select the path to the site...but...the dialog box that opens starts at the root of the filesystem.  Perhaps it could just default to the path to nginx home (and allow the user to navigate the filesystem from there if they need to)?


That's just a thought, and, thanks for the AWESOME work you are doing!


-David

http://www.mininodes.com

Answer

Complete! Bonus: automatic downloader/unpacker for e.g. Wordpress

0
Аяқталған

uninstall

Osama BinLaden 11 year бұрын updated by elizajhon 7 year бұрын 12

How do I uninstall Ajenti? Thank you. 

Answer

Debian: apt-get remove ajenti

CentOS/RHEL: yum remove ajenti

FreeBSD: pip uninstall ajenti

0

Не могу установить Ajenti V

Алишер Коржунбаев 9 year бұрын жаңартылды 9 year бұрын 2
Ввожу apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpmservice ajenti restart
Ввожу Y и терминал пишет abor и ничего не устанавливается

0

Mail users can´t login

Roman Mueller 9 year бұрын updated by Mario 9 year бұрын 7
Hello

i installed Ajenti on a fresh new Debian Wheezy installation and it works fine so far but however the mail accounts added under Ajenti are not working.

I get a "wrong password" message back when trying to auth with no matter what mail client.

Passwords are 100% correct:

mail.log just giving me

Jul 13 23:10:34 Debian-78-wheezy-64-minimal imapd: Connection, ip=[::ffff:5.147.25.62]Jul 13 23:10:34 Debian-78-wheezy-64-minimal imapd: Disconnected, ip=[::ffff:5.147.25.62], time=0
what to do here?
0
Answered

PostgreSQL Plugin crashed

Waton Kelakon 11 year бұрын updated by Eugene Pankov (Project coordinator) 11 year бұрын 0

I'm trying to activate PostgreSQL plugin but it's not working.


Log:

2013-10-03 10:23:15,093 INFO     registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>

2013-10-03 10:23:15,145 INFO     core.run(): Ajenti 1.1.0 running on platform: debian

2013-10-03 10:23:15,195 WARNING  __init__.load():  *** [raid] skipping due to BinaryDependency (mdadm)

2013-10-03 10:23:15,266 WARNING  __init__.load():  *** [psql] Plugin crashed: crashed: name 'PSQLPlugin' is not defined

Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 291, in load

    info.init()

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/__init__.py", line 16, in init

    import main

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/main.py", line 8, in <module>

    class PSQLPlugin (DBPlugin):

  File "/usr/lib/pymodules/python2.7/ajenti/plugins/psql/main.py", line 17, in PSQLPlugin

    config_class = PSQLPlugin

NameError: name 'PSQLPlugin' is not defined

2013-10-03 10:23:15,275 WARNING  __init__.load():  *** [ctdb] skipping due to BinaryDependency (ctdb)

2013-10-03 10:23:15,283 WARNING  __init__.load():  *** [bind9] skipping due to BinaryDependency (named)

2013-10-03 10:23:15,312 WARNING  __init__.load():  *** [memcache] skipping due to BinaryDependency (memcached)

2013-10-03 10:23:15,314 WARNING  __init__.load():  *** [ltfs] Plugin error: format error

2013-10-03 10:23:15,319 WARNING  __init__.load():  *** [hddtemp] skipping due to BinaryDependency (hddtemp)

2013-10-03 10:23:15,332 WARNING  __init__.load():  *** [exports] skipping due to BinaryDependency (nfsstat)

2013-10-03 10:23:15,341 WARNING  __init__.load():  *** [samba] skipping due to BinaryDependency (smbd)

2013-10-03 10:23:15,349 WARNING  __init__.load():  *** [munin] skipping due to BinaryDependency (munin-cron)

2013-10-03 10:23:15,358 WARNING  __init__.load():  *** [nsd] skipping due to BinaryDependency (nsd)

2013-10-03 10:23:15,365 WARNING  __init__.load():  *** [squid] skipping due to BinaryDependency (squid3)

2013-10-03 10:23:15,372 WARNING  __init__.load():  *** [lm-sensors] skipping due to BinaryDependency (sensors)

2013-10-03 10:23:15,381 WARNING  __init__.load():  *** [dhcpd] skipping due to BinaryDependency (dhcpd)

2013-10-03 10:23:15,390 WARNING  __init__.load():  *** [openvpn] skipping due to BinaryDependency (openvpn)

2013-10-03 10:23:15,391 WARNING  __init__.load():  *** [elements] Plugin error: format error

2013-10-03 10:23:15,398 WARNING  __init__.load():  *** [netatalk] skipping due to BinaryDependency (afpd)

2013-10-03 10:23:15,414 WARNING  __init__.load():  *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)

2013-10-03 10:23:15,424 WARNING  __init__.load():  *** [supervisor] skipping due to BinaryDependency (supervisord)

2013-10-03 10:23:15,446 WARNING  __init__.load():  *** [smartctl] skipping due to BinaryDependency (smartctl)

2013-10-03 10:23:15,447 INFO     core.run(): Starting server on (u'127.0.0.1', 8090)

2013-10-03 10:23:15,728 INFO     connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org


Answer

Fixed