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

root login not working

Chalipa 9 aastat tagasi 0
hi, my root login is not working, how can i reset it?

thanks
0
Tagasi lükatud

I have trouble starting server

Marko Ćipović 11 aastat tagasi uuendaja Eugene Pankov (Project coordinator) 11 aastat tagasi 1

I used older version of Ajenti and today upgraded to the latest version. In errlog I am getting this error


24.09.2013 20:15 WARN   *** Plugin dependency unsatisfied: vh-php-fpm -> vh

24.09.2013 20:15 WARN   *** Plugin dependency unsatisfied: vh-gunicorn -> vh

24.09.2013 20:15 WARN   *** [munin] skipping due to BinaryDependency (munin-cron)

24.09.2013 20:15 WARN   *** [exports] skipping due to BinaryDependency (nfsstat)

24.09.2013 20:15 WARN   *** [nsd] skipping due to BinaryDependency (nsd)

24.09.2013 20:15 WARN   *** [hddtemp] skipping due to BinaryDependency (hddtemp)

24.09.2013 20:15 WARN   *** [nginx] skipping due to BinaryDependency (nginx)

24.09.2013 20:15 WARN   *** Plugin dependency unsatisfied: vh-mysql -> vh

24.09.2013 20:15 WARN   *** Plugin dependency unsatisfied: vh-nginx -> vh

24.09.2013 20:15 WARN   *** [smartctl] skipping due to BinaryDependency (smartctl)

24.09.2013 20:15 WARN   *** [bind9] skipping due to BinaryDependency (named)

24.09.2013 20:15 WARN   *** [dhcpd] skipping due to BinaryDependency (dhcpd)

24.09.2013 20:15 WARN   *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)

24.09.2013 20:15 WARN   *** [squid] skipping due to BinaryDependency (squid3)

24.09.2013 20:15 WARN   *** [ctdb] skipping due to BinaryDependency (ctdb)

24.09.2013 20:15 WARN   *** [memcache] skipping due to BinaryDependency (memcached)

24.09.2013 20:15 WARN   *** [supervisor] skipping due to BinaryDependency (supervisord)

24.09.2013 20:15 WARN   *** [cpu] Plugin error: format error

24.09.2013 20:15 WARN   *** [daemons] Plugin error: format error

24.09.2013 20:15 WARN   *** [sysload] Plugin error: format error

24.09.2013 20:15 WARN   *** [loadcores] Plugin error: format error

24.09.2013 20:15 WARN   *** [pkgman] Plugin error: format error

24.09.2013 20:15 WARN   *** [filesystems] Plugin error: format error

24.09.2013 20:15 WARN   *** [hddstat] Plugin error: format error

24.09.2013 20:15 WARN   *** [dns] Plugin error: format error

24.09.2013 20:15 WARN   *** [shell] Plugin error: format error

24.09.2013 20:15 INFO  Starting SSL tunnel for port 41584

24.09.2013 20:15 ERROR SSL tunnel failed to start

24.09.2013 20:15 INFO  Starting server on (u'0.0.0.0', 8000)

24.09.2013 20:15 ERROR Could not bind to (u'0.0.0.0', 8000)


It is ubuntu 12.04


Thanks,

Marko


Vasta

Expired

0

Adding in page Help & Tips

Chamunks 10 aastat tagasi 0
Jenkins CI has this lovely feature that documentation is embedded into all pages next to each feature.  https://imgur.com/WarPigb  turns into this https://imgur.com/ICCn2qY after you've clicked the little blue question mark.  Granted Jenkins could probably use someone who makes prettier CSS its still pushing the help directly into the admin/configuration panel.
0
Fixed

Ajenti breaks gevent *URGENT*

Noah Dolph 10 aastat tagasi uuendaja Eugene Pankov (Project coordinator) 10 aastat tagasi 2
After a yum update python-gevent is downloaded from Ajenti. It then breaks and Ajenti cannot be loaded.

[root@ng1 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: ajenti base epel extras mysql-connectors-community mysql-tools-community mysql56-community remi-php55 updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@ng1 ~]# yum install ajenti
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/metalink | 14 kB 00:00
* base: mirror.atlanticmetro.net
* epel: epel.mirror.constant.com
* extras: mirror.cogentco.com
* remi-php55: remi.check-update.co.uk
* updates: mirror.symnds.com
ajenti | 951 B 00:00
ajenti/primary | 24 kB 00:00
ajenti 74/74
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.3 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
mysql-connectors-community | 2.5 kB 00:00
mysql-connectors-community/primary_db | 6.6 kB 00:00
mysql-tools-community | 2.5 kB 00:00
mysql-tools-community/primary_db | 14 kB 00:00
mysql56-community | 2.5 kB 00:00
mysql56-community/primary_db | 49 kB 00:00
remi-php55 | 2.9 kB 00:00
remi-php55/primary_db | 156 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.7 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ajenti.noarch 0:1.2.22.6-1 will be installed
--> Processing Dependency: python-gevent-socketio for package: ajenti-1.2.22.6-1.noarch
--> Processing Dependency: python-gevent for package: ajenti-1.2.22.6-1.noarch
--> Processing Dependency: python-gevent-websocket for package: ajenti-1.2.22.6-1.noarch
--> Running transaction check
---> Package python-gevent.x86_64 0:1.0.1-1 will be installed
---> Package python-gevent-socketio.noarch 0:0.3.6-1 will be installed
---> Package python-gevent-websocket.noarch 0:0.9.3-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
Package Arch Version Repository Size
===========================================================================================================================================================================================================
Installing:
ajenti noarch 1.2.22.6-1 ajenti 1.4 M
Installing for dependencies:
python-gevent x86_64 1.0.1-1 ajenti 51 k
python-gevent-socketio noarch 0.3.6-1 ajenti 26 k
python-gevent-websocket noarch 0.9.3-1 ajenti 7.2 k

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

Total download size: 1.5 M
Installed size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): ajenti-1.2.22.6-1.noarch.rpm | 1.4 MB 00:00
(2/4): python-gevent-1.0.1-1.x86_64.rpm | 51 kB 00:00
(3/4): python-gevent-socketio-0.3.6-1.noarch.rpm | 26 kB 00:00
(4/4): python-gevent-websocket-0.9.3-1.noarch.rpm | 7.2 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 29 MB/s | 1.5 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-gevent-1.0.1-1.x86_64 1/4
Installing : python-gevent-websocket-0.9.3-1.noarch 2/4
Installing : python-gevent-socketio-0.3.6-1.noarch 3/4
Installing : ajenti-1.2.22.6-1.noarch 4/4
:: SSL is already configured
Stopping Ajenti:
not running
Starting Ajenti:
2014-08-11 19:20:03,040 INFO ajenti-panel.<module>(): Using config file /etc/ajenti/config.json
started]
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Verifying : python-gevent-socketio-0.3.6-1.noarch 1/4
Verifying : python-gevent-websocket-0.9.3-1.noarch 2/4
Verifying : ajenti-1.2.22.6-1.noarch 3/4
Verifying : python-gevent-1.0.1-1.x86_64 4/4

Installed:
ajenti.noarch 0:1.2.22.6-1

Dependency Installed:
python-gevent.x86_64 0:1.0.1-1 python-gevent-socketio.noarch 0:0.3.6-1 python-gevent-websocket.noarch 0:0.9.3-1

Complete!
[root@ng1 ~]# ajenti-panel -v
11.08.2014 19:20 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json
11.08.2014 19:20 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.6/site-packages/ajenti/core.py", line 17, in <module>
import ajenti.feedback
File "/usr/lib/python2.6/site-packages/ajenti/feedback.py", line 8, in <module>
import gevent
ImportError: No module named gevent
[root@ng1 ~]#

0

FTP Can not connect to the server

giraff 8 aastat tagasi 0

netstat -lnp | grep 21

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1993/pure-ftpd (SER
tcp6 0 0 :::21 :::* LISTEN 1993/pure-ftpd (SER


What is the problem?

0
Fixed

CentOS and Ajenti 1.0.1

InteractMarketing 11 aastat tagasi uuendaja Maftei Alexandru 10 aastat tagasi 23

Trying to upgrade to 1.0.1 but instructions doesn't work (CentOS). Returns Package ajenti-0.6.2-1.noarch already installed and latest version. Uninstalled and try again directions from the main page - no luck.


Any clue?


Thanks

Vasta

Try following:

yum clean all

yum install ajenti

0
Answered

htcaccess not working?

Temple Pate 10 aastat tagasi uuendatud 10 aastat tagasi 9
I finally got owncloud up and going, did exactly the same as last time so not sure what differnece I did this time. Even the ssl went up without a hitch! But theres one thing. htcaccess? Honestly i always turned it off, don't even know what it's used for, and as such I get this error. 

Security WarningYour data directory and files are probably accessible from the internet because the .htaccess file does not work.
For information how to properly configure your server, please see thedocumentation.


That said I'm posting here because this is how I used to install it, I'm planning on doing it this way and the terminal way, but this way makes it easier for other people who don't like the terminal as much. If I could get that error to go away that would be awesome :) 
Vasta
.htaccess and NGINX are completely unrelated to each other. To forbid access to a directory inside your installation, you could e.g. create a Static Files content entry for the relevant URL with a nonexisting path for it.
0
Not a bug

Cannot use nginx plugin on Debian

Stanislav Vychegzhanin 10 aastat tagasi uuendaja Eugene Pankov (Project coordinator) 10 aastat tagasi 4
Good day.
I cannot use nginx plugin in Ajenti. It shows only exclamation sign near the "Application binary".
root@none:~# aptitude show ajenti
Package: ajenti
New: yes
State: installed
Automatically installed: no
Version: 1.2.16.1
...
root@none:~# aptitude show nginx
Package: nginx
New: yes
State: installed
Automatically installed: no
Version: 1.2.1-2.2+wheezy2
Priority: optional
Section: httpd
...
root@none:~# cat /proc/version
Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1
...
root@none:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

Could you please advise how to solve this issue?
Thanx in advance.
Vasta
Please check output of which nginx
0
Lõpetatud

Network display ip

Richard Neese 10 aastat tagasi uuendaja Eugene Pankov (Project coordinator) 10 aastat tagasi 0
On the network page where it shows the interfaces... it should show
interface name/ip/class/tx/rx
Vasta
Fix committed.
0
Answered

ImportError at /api/v2/ping

Benjamin Khoo 10 aastat tagasi uuendaja Eugene Pankov (Project coordinator) 10 aastat tagasi 0
hi

i am trying to write a small plugin to Ajenti but i ran into the Import error above.
the trace thrown doesn't seem to indicate anything from my code but it gets thrown at load up.

i'm not so sure if what i am writing caused this. But it didn't for a while.

my plugin imports and the error attached below.
let me know if this is something i can fix or i can ignore? coz my plugin still works fine...

import os
import json
import subprocess
from ajenti.api import *
from ajenti.ui.binder import Binder
from ajenti.plugins.main.api import SectionPlugin
from ajenti.ui import on
from ajenti.util import platform_select

ImportError at /api/v2/ping

No module named defaults
Request Method:POST
Request URL:http://meta.ajenti.org/api/v2/ping
Django Version:
Exception Type:ImportError
Exception Value:
No module named defaults
Exception Location:/srv/meta2/config/urls.py in <module>, line 1
Python Executable:/srv/meta2/env/bin/python
Python Version:
Python Path:
[path(u'/srv/meta2/apps'),
 path(u'/srv/meta2/libs'),
 '/srv/meta2',
 '/srv/meta2/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/meta2/env/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/meta2/env/lib/python2.7',
 '/srv/meta2/env/lib/python2.7/plat-linux2',
 '/srv/meta2/env/lib/python2.7/lib-tk',
 '/srv/meta2/env/lib/python2.7/lib-old',
 '/srv/meta2/env/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/srv/meta2/env/local/lib/python2.7/site-packages',
 '/srv/meta2/env/lib/python2.7/site-packages']
Server time:Mon, 23 Dec 2013 10:46:09 -0600


Vasta
This is a remote-side bug (just fixed).