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

php-session is not enable

Владислав Беллик 10 lat temu zaktualizowano 10 lat temu 0
Устанавливаю скрипт а установка мне ругается  

Image 89

Делаю простую проверку через скрипт 

session_start();
if (isset($_GET['step2']))
{
echo 'SESS: ';
echo isset($_SESSION['a_sess_check']) ? 'OK' : 'ERROR';
echo '

recheck';
}
else
{
session_destroy();
session_start();
$_SESSION['a_sess_check'] = true;
header('Location: ?step2');
}


А он выдает SESS: ERROR.  

Мои значения php.ini


session.save_handler = files
session.save_path = "/tmp"
session.use_cookies = 1
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = "/tmp"
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = on
session.bug_compat_warn = on
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"


Что делать? Как поступать?

0
Naprawione

mysql error using password yes

Анатолий Прохоров 11 lat temu Ostatnio zmodyfikowane przez Şafak Demirhan 10 lat temu 2

Не работает плагин MySQL, проверял на CentOS 6. Настройки плагина и MySQL не трогал (т.е. доступ к localhost как root и без пароля), но все время возникала ошибка  с using password yes. Естественно через консоль, как root заходил просто сказав "mysql".

Odpowiedź

Исправление выйдет в следующем билде.

0

no run start page on debian

Лешик Васильев 9 lat temu zaktualizowano 9 lat temu 0

root@server:/home/november# ajenti-panel -v
08.10.2015 00:34 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json
Traceback (most recent call last):
File "/usr/bin/ajenti-panel", line 109, in <module>
ajenti.config.load()
File "/usr/lib/pymodules/python2.7/reconfigure/configs/base.py", line 48, in load
self.nodetree = self.parser.parse(self.content)
File "/usr/lib/pymodules/python2.7/reconfigure/parsers/jsonparser.py", line 13, in parse
self.load_node_rec(node, json.loads(content))
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting ',' delimiter: line 13 column 9 (char 1081)
and

service ajenti status

● ajenti.service - LSB: Ajenti
Loaded: loaded (/etc/init.d/ajenti)
Active: active (exited) since Чт 2015-10-08 00:49:15 YAKT; 56s ago
Process: 10071 ExecStop=/etc/init.d/ajenti stop (code=exited, status=0/SUCCESS)
Process: 10074 ExecStart=/etc/init.d/ajenti start (code=exited, status=0/SUCCESS)

окт 08 00:49:15 openvpn ajenti[10074]: File "/usr/lib/pymodules/python2.7...e
окт 08 00:49:15 openvpn ajenti[10074]: self.load_node_rec(node, json.load...)
окт 08 00:49:15 openvpn ajenti[10074]: File "/usr/lib/python2.7/json/__in...s
окт 08 00:49:15 openvpn ajenti[10074]: return _default_decoder.decode(s)
окт 08 00:49:15 openvpn ajenti[10074]: File "/usr/lib/python2.7/json/deco...e
окт 08 00:49:15 openvpn ajenti[10074]: obj, end = self.raw_decode(s, idx=...)
окт 08 00:49:15 openvpn ajenti[10074]: File "/usr/lib/python2.7/json/deco...e
окт 08 00:49:15 openvpn ajenti[10074]: obj, end = self.scan_once(s, idx)
окт 08 00:49:15 openvpn ajenti[10074]: ValueError: Expecting ',' delimite...)
окт 08 00:49:15 openvpn ajenti[10074]: failed ... failed!
Hint: Some lines were ellipsized, use -l to show in full.

0
Z odpowiedzią

Test Install ?

Joey B 10 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 10 lat temu 1
If I install Ajenti on a running server and I don't make any changes in Ajenti will it affect any settings or operations? I understand it will pick up all the configuration according to the site info, but seeing that configuration in the app and check everything allows us to get comfortable before moving forward with it. Thanks!
Odpowiedź
Yes, Ajenti doesn't do *any* changes at all to your configuration unless you ask it to.
0
Naprawione

CentOS 6.3 x64 start ajenti error

Fox Luu 11 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 11 lat temu 0

Need your help.   3Q


see:  /var/log/ajenti.err.log 

Traceback (most recent call last):

  File "/usr/bin/ajenti-panel", line 79, in <module>

    core.run()

  File "/usr/lib/python2.6/site-packages/ajenti/core.py", line 160, in run

    Inflater.get(manager.context).precache()

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 35, in precache

    self.inflate(temp_ui, layout)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 70, in inflate

    self.cache[layout] = self.inflate_rec(ui, xml)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in inflate_rec

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 103, in <genexpr>

    children = list(self.inflate_rec(ui, child) for child in node)

  File "/usr/lib/python2.6/site-packages/ajenti/ui/inflater.py", line 95, in inflate_rec

    value = eval(value)

  File "<string>", line 1

    [_('每小时')、 _('每天')、 _('每周')、 _('每月')、 _('每年')、 _ ('启动时')]

                   ^

SyntaxError: invalid syntax


0
Z odpowiedzią

Repo Question (Regarding Ubuntu 14.04 -Trusty Tahr )

sektion31 10 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 10 lat temu 1
Hi, 

I want to install Ajenti on Ubuntu 14.04. The installation KB article about mentions two different repository links however.
The quick auto install script adds http://repo.ajenti.org/debian as a source and the manual install adds http://repo.ajenti.org/ng/debian
NG sounds like next gen to me. What is the difference and which one should i prefer on Ubuntu 14.04?

Thanks
Adrian

Odpowiedź
They are identical symlinks on server, remaining since "ng/" contained Ajenti 1.0 while root repos container 0.6.x series.
0
Z odpowiedzią

Can't start Ajenti service

Bert Geelen 11 lat temu Ostatnio zmodyfikowane przez Andrew Raiher 9 lat temu 2

Can't seem to start ajenti on Ubuntu 12.04.


Starting Ajenti:
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 63, in <module>
  os.chmod(config_file, stat.S_IRWXU)
OSError: [Errno 1] Operation not permitted: '/etc/ajenti/config.json'
 * failed


Any clues ?

Odpowiedź

Ajenti must be run as root

0
W trakcie analizy

How to setup webpage just using IP address

Asrar Abu Khair 10 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 9 lat temu 2
Hi All, i wanna setup website for testing and dev. how can we setup it without domain
0

Roundcube install downloads instead of showing

Napoolion 10 lat temu 0
Hello there.

Installed roundcube on server.

Now I have to navigate the browser to install page, but instead of showing, it just downloads the install page into my computer.

Not sure what to add into configuration that it will show the install page instead of downloading it to my browser.

Thank you very much,

Best wishes,
Silver
0

SSL not working after last update

Álvaro S. 9 lat temu Ostatnio zmodyfikowane przez Lexy 9 lat temu 4
After upgrading to v1.2.22.19 I can't access to Ajenti via SSL. I tried to resintall again purging all data, and I can access via non-SSL, but after enabling SSL and restarting I can't access.

My blog is working with a SSL certificate, so I guess is not a problem of the certificate or nginx.

SSL error: ERR_CONNECTION_CLOSED
Non-SSL error: ERR_EMPTY_RESPONSE