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.
php-session is not enable
Делаю простую проверку через скрипт
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"
Что делать? Как поступать?
mysql error using password yes
Не работает плагин MySQL, проверял на CentOS 6. Настройки плагина и MySQL не трогал (т.е. доступ к localhost как root и без пароля), но все время возникала ошибка с using password yes. Естественно через консоль, как root заходил просто сказав "mysql".
no run start page on debian
service ajenti status
● ajenti.service - LSB: Ajenti
Test Install ?
CentOS 6.3 x64 start ajenti error
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
Repo Question (Regarding Ubuntu 14.04 -Trusty Tahr )
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
Can't start Ajenti service
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 ?
How to setup webpage just using IP address
Roundcube install downloads instead of showing
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
SSL not working after last update
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
Customer support service by UserEcho