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

cannot create weak reference to 'gevent._queue.Queue' object help?

SkyCityCZ 6 year бұрын 0

26.05.2018 12:22  [master 10319]       plugins.py:358   DEBUG  Initializing plugin "plugins"
26.05.2018 12:22  [master 10319]       plugins.py:345   INFO   Loaded 12 plugins
26.05.2018 12:22  [master 10319]          core.py:121   INFO   Binding to [0.0.0.0]:9052
26.05.2018 12:22  [master 10319]          gipc.py:271   DEBUG  Invoke target `<bound method WorkerGate._target of <aj.gate.gate.WorkerGate object at 0x7f717eab9cd0>>` in child process.
26.05.2018 12:22  [master 10319]          gipc.py:449   DEBUG  SIGCHLD watcher for 10327 started.
26.05.2018 12:22  [master 10319]          gipc.py:289   DEBUG  Invalidate <_GIPCWriter_6b1794 fd: 10> in parent.
26.05.2018 12:22  [master 10319]          gipc.py:583   DEBUG  Invalidating <_GIPCWriter_6b1794 fd: 10> ...
26.05.2018 12:22  [master 10319]          gipc.py:289   DEBUG  Invalidate <_GIPCReader_829cda fd: 11> in parent.
26.05.2018 12:22  [master 10319]          gipc.py:583   DEBUG  Invalidating <_GIPCReader_829cda fd: 11> ...
26.05.2018 12:22  [master 10319]          gate.py:47    DEBUG  Started child process 10327
26.05.2018 12:22  [...    10327]          gipc.py:308   DEBUG    _child start. target: `<bound method WorkerGate._target of <aj.gate.gate.WorkerGate object at 0x7f717eab9cd0>>`
26.05.2018 12:22  [...    10327]          gipc.py:320   DEBUG    Delete current hub's threadpool.
26.05.2018 12:22  [...    10327]          gipc.py:329   DEBUG    Destroy hub and default loop.
26.05.2018 12:22  [...    10327]          gipc.py:334   DEBUG    Created new hub and default event loop.
26.05.2018 12:22  [...    10327]          gipc.py:341   DEBUG    Invalidate <_GIPCReader_6e1075 fd: 7> in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCReader_6e1075 fd: 7> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:583   DEBUG    Invalidating <_GIPCReader_6e1075 fd: 7> ...
26.05.2018 12:22  [...    10327]          gipc.py:341   DEBUG    Invalidate <_GIPCWriter_e0d6a6 fd: 12> in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCWriter_e0d6a6 fd: 12> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:583   DEBUG    Invalidating <_GIPCWriter_e0d6a6 fd: 12> ...
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCWriter_6b1794 fd: 10> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:359   DEBUG    Handle `<_GIPCWriter_6b1794 fd: 10>` is now valid in child.
26.05.2018 12:22  [...    10327]          gipc.py:594   DEBUG    Legitimate <_GIPCReader_829cda fd: 11> for current process.
26.05.2018 12:22  [...    10327]          gipc.py:359   DEBUG    Handle `<_GIPCReader_829cda fd: 11>` is now valid in child.
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     New worker "restricted session" PID 10327, EUID 0, EGID 0
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     Worker 10327 is demoting to UID 65534 / GID 65534...
26.05.2018 12:22  [rstrct 10327]          gate.py:110   INFO     ...done, new EUID 65534 EGID 65534
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 963, in handle_one_response
    self.run_application()
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 910, in run_application
    self.result = self.application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/aj/http.py", line 55, in dispatch
    content = self.handler.handle(http_context)
  File "/usr/local/lib/python2.7/dist-packages/aj/http.py", line 80, in handle
    output = middleware.handle(context)
  File "/usr/local/lib/python2.7/dist-packages/aj/gate/middleware.py", line 203, in handle
    q = gate.q_http_replies.register()
  File "/usr/local/lib/python2.7/dist-packages/aj/util/broadcast_queue.py", line 11, in register
    self._queues.append(weakref.ref(q))
TypeError: cannot create weak reference to 'gevent._queue.Queue' object
2018-05-26T12:22:45Z {'REMOTE_PORT': '5031', 'HTTP_HOST': '64.52.23.249:9052', 'REMOTE_ADDR': '54.38.141.198', (hidden keys: 26)} failed with TypeError



0

Ajenti 2 with Samba Support

Espresso Machine 6 year бұрын 0

Does Ajenti v2 support Samba? I saw a plugin in Google search but I cannot find it within Ajenti.

0

How to resolve ajenti import core problem?

Redscience 7 year бұрын 0

 ajenti-panel -v result is:

31.03.2018 09:08 ajenti-panel:105              INFO  Using config file /etc/ajenti/config.json
31.03.2018 09:08 ajenti-panel:130              INFO  Ajenti starting in foreground
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 137, in <module>
    from ajenti import core
  File "/usr/lib/python2.7/site-packages/ajenti/core.py", line 21, in <module>
    from ajenti.middleware import SessionMiddleware, AuthenticationMiddleware
  File "/usr/lib/python2.7/site-packages/ajenti/middleware.py", line 11, in <module>
    from ajenti.users import UserManager
  File "/usr/lib/python2.7/site-packages/ajenti/users.py", line 3, in <module>
    from passlib.hash import sha512_crypt
  File "/usr/lib/python2.7/site-packages/passlib/hash.py", line 22, in <module>
    from passlib.registry import _proxy
  File "/usr/lib/python2.7/site-packages/passlib/registry.py", line 11, in <module>
    from passlib.utils import is_crypt_handler
  File "/usr/lib/python2.7/site-packages/passlib/utils/__init__.py", line 32, in <module>
    from passlib.utils.compat import add_doc, b, bytes, join_bytes, join_byte_values, \
ImportError: cannot import name b


[root@server ~]# service ajenti start
Starting Ajenti:
31.03.2018 09:10 INFO  Using config file /etc/ajenti/config.json
started                                                    [  OK  ]

[root@server ~]# service ajenti status
Ajenti is not running                                      [  OK  ]


How can I resolve this problem?

0

How to pass http and tcp port 9505 through at the same time, NGINX 1.12.2 ubuntu 16.04

CarlPiper 7 year бұрын 0

I need to have traffic forwarded on port 9505 and 80 but I can't get it to work at all.


I know this feature is now in NGINX using stream { }  but again I can't get it working, I'm by no means any kind of expert with NGINX so any help would be greatly appreciated.

0

I have an issue regarding the mail of Ajenti V

hassan97sk 7 year бұрын 0

I have added an mailbox on ajenti V and log into it on outlook. However, when I send a email through it, the mail is received my the receiving party but I get this error. I want to save received and sent items on my server, but the message say that is not happening. how to get it done? :(

Image 189

0

Will the following security issues be addressed soon (or already done)?

Chris Raven 7 year бұрын 0

We would like to use Ajenti for our multiple servers backend, but the article here causes a bit of anxiety for us - are their plans to handle the reported bugs, or did I miss and they are already done, thanks?


https://medium.com/stolabs/security-issues-on-ajenti-d2b7526eaeee


0

How can get database without domain

ptc9955 7 year бұрын жаңартылды 7 year бұрын 0

Hi, i had install ajenti last year on my vps but now, my domain was expried and i can't access ajenti. I had try add ip to /etc/ajenti/config.json but when i try myip:8000, it reported "This site can’t be reached

The connection was reset.".

Now i have information of:

- IP my vps

- Database_name

- Database_username

- Database_password

How can i get this database

0

Problem with python2.7 - 'utf8' codec can't decode byte

hrncir39 7 year бұрын 0

Hello, if Ajenti click on nginx, i get this error. Do you know someone how to fixit?


'utf8' codec can't decode byte 0xed in position 24: invalid continuation byte
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 163, in handle_message
    self.send_ui()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 192, in send_ui
    data = json.dumps(self.ui.render())
  File "/usr/lib/python2.7/json/__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xed in position 24: invalid continuation byte
0

Ajenti V - Django : Настройка проекта.

TAEX 7 year бұрын 0

Добрый день! Подскажите как действовать дальше. Настраиваю Django на Ajneti V.

1) Следуя инструкции https://support.ajenti.org/knowledge-bases/5/articles/1125-setting-up-a-python-website-with-ajenti-v-django-example - установил

2) Столкнулся с проблемой описанной в этой статье, сделал как указано https://support.ajenti.org/communities/1/topics/273-ajenti-v-django-exited-too-quickly-process-log-may-have-details


На данный момент в разделе веб сайты ошибок нет, при обращении по домену выдает ошибку 403 nginx

Подскажите как дальше действовать? 

0

How add virtual hosts?

Legos 7 year бұрын updated by anonymous 6 year бұрын 0

How add virtual hosts? Ajenti with NGINX