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

pure-ftpd passive mode fail

Ivan Nikolaev 9 years ago updated by Lino De Aguiar May 8 years ago 5
Hi.
I was setting pure-ftpd to work in passive mode, but its impossible to do, since something is changing pure-ftpd.conf to its original state.

I have described issue here
http://support.ajenti.org/topic/572031-ftp-server-errors-out/

In two words,
/etc/pure-ftpd/pure-ftpd.conf is being changed to its original state, and it must contain
PassivePortRange 30000 35000 lines to make passive mode work correctly.
Since i'm changing it mannually, it works, but after some time file is being replaced by some process, and passive mode stops working.

What can be done to fix it permanently?

edit:/ testing chattr +i /etc/pure-ftpd/pure-ftpd.conf
not sure it will help


Have figured out what chenges this file.

When i'm editing a website in ajenti panel and press Apply Changes, it changes that file.
But since i have locked it from changes, i'm recieving an error.

[Errno 13] Permission denied: '/etc/pure-ftpd/pure-ftpd.conf' Traceback (most recent call last):   File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 158, in handle_message     self.ui.dispatch_event(update['uid'], update['event'], update['params'])   File "/usr/lib/python2.6/site-packages/ajenti/ui/__init__.py", line 72, in dispatch_event     self.root.dispatch_event(uid, event, params)   File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 382, in dispatch_event     if child.dispatch_event(uid, event, params):   File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 382, in dispatch_event     if child.dispatch_event(uid, event, params):   File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 388, in dispatch_event     getattr(self, k)(**(params or {}))   File "/var/lib/ajenti/plugins/vh/main.py", line 257, in save     self.manager.update_configuration()   File "/var/lib/ajenti/plugins/vh/api.py", line 300, in update_configuration     self.__runall([(c.create_configuration, [self.config]) for c in self.components])   File "/var/lib/ajenti/plugins/vh/api.py", line 296, in __runall     raise g.exception IOError: [Errno 13] Permission denied: '/etc/pure-ftpd/pure-ftpd.conf'

My solution was editing:

/var/lib/ajenti/plugins/vh-pureftpd/
pureftpd.py
pureftpd.pyc

I've added PassivePortRange 30000 35000 to config section, restarted ajenti, and now it works by default.

0
Fixed

Service Widgets doesn't reflect state of the server.

Pablo Albornoz 12 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 0
Service Widgets shows only "Stopped" state, altough pressing "Start" starts the service, it doesn't refresh the state in the widget, hitting refresh doesn't help.

Running 0.6.1 on Arch Linux.
0
Answered

Can you use Apache with Ajenti-V?

Crazy Raisin 9 years ago updated by Freelax 9 years ago 3
I have Ajenti-V installed and Apache was installed prior along with MariaDB. I setup a website and uploaded one index.html file and yet while the domain resolves to my server all i see is the apache test page. What am I doing wrong?
Answer
Ajenti V only supports NGINX.
0
Under review

how to setup puma in a new rails website?

Daniel Tsionit 10 years ago updated by okay PADAK 9 years ago 14
0
Answered

how to give user access to web site created as root

Arthur Wiebe 10 years ago updated by Lino De Aguiar May 8 years ago 2
A web site was setup as the root user but now we'd like another user to be able to manage it. Is there a way to assign that web site to that user? Even if I have to run a command or edit a config file?

Thanks.
Answer
Currently this is only possible through editing /etc/ajenti/vh.json (websites -> ... -> user) and restarting Ajenti
0
Answered

apache virtualhost on another port

Duma 10 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 1
I have an apache virtual host running internally on port 8080 and I want to forward requests from port 80 to port 8080. I am failing to do this. What steps should I follow on the ajenti v frontend to get this to work
Answer
Use Reverse proxy content type and http://localhost:8080 as its URL.
0
Under review

Custom SSL problems

Gabriel Baker 10 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 11
Trying to use a real ssl certificate with ajenti, I have the private key, site certificate, intermidiate and root certificates which I use fine on apache, but when trying to combine into a single pem for ajenti to use the website is always unavailable with this error appearing in the logs

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 94, in __init__
self.do_handshake()
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 305, in do_handshake
return self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:510: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
<Greenlet at 0x7f816fe35eb0: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x7f816f7fca50 fileno=8 address=0.0.0.0:8000>>(<socket at 0x7f816f674210 fileno=12 sock=178.62.19, ('82.7.176.154', 55731))> failed with SSLError

0
Completed

Terminal is too small

Sergey Kostyuk 10 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 2
Terminal is too small by vertical for normal use. Ajenti, default installation. Is any way to grow it from my side? If no, please, grow it.

Browser: Firefox 28.0

Оригинальная мысль: Терминал слишком маленький для нормального использования. Ajenti сразу после установки, никаких дополнительных настроек, кроме кастомного порта. Могу я как-то увеличить его размер самостоятельно, со своей стороны? Если нет, пожалуйста, увеличьте.
Image 31
Answer
Починено
0

Package (System->Packages) displaying doesn't work on Debian 7.8

Kurt Fitzner 9 years ago updated by Lexy 9 years ago 1
The package manager doesn't seem to work on Debian 7.8. I have a fresh OS install and Ajenti's package screen (System->Packages) has no entries. Is there something I need to do to get this to work correctly?
0

Ajenti V has stopped serving sites and i cannot explain why

JL Griffin 9 years ago updated 9 years ago 2
I have no idea what happened, Nginx error logs show no problems, no errors, nothing. no configuration red flags when i start the Nginx process. but every site on the server refuses to load. I get either "No Data Received" or "Server took too long to respond" depending on what web browser i use.

No updates have been applied recently that would have caused this (to my knowledge) and a server reboot doest fix this issue at all. Please advise where i can look or what might be the issue!

thank you!