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

Samba 4 - Error trying to manage Samba

Pierre 8 years ago updated by Esli Silva 7 years ago 3

Just installed Ajenti on Ubuntu 14.04.4 LTS


When trying to view Samba under Software I get an error about the nobody account;


Command '['pdbedit', '-Lv', '-d0', '-u', 'nobody']' returned non-zero exit status 255
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message
    self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event
    self.root.dispatch_event(uid, event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 378, in dispatch_event
    self.event(event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 402, in event
    getattr(self, 'on_%s' % self_event)(**(params or {}))
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 381, in on_switch
    child.broadcast('on_page_load')
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 356, in broadcast
    getattr(self, method)(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/samba/main.py", line 66, in on_page_load
    self.refresh()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/samba/main.py", line 75, in refresh
    self.usermgr.load()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/samba/smbusers.py", line 15, in load
    lines = subprocess.check_output(['pdbedit', '-Lv', '-d0', '-u', un]).split('\n')
  File "/usr/lib/python2.7/dist-packages/gevent/subprocess.py", line 167, in check_output
    raise ex
CalledProcessError: Command '['pdbedit', '-Lv', '-d0', '-u', 'nobody']' returned non-zero exit status 255

Output of pdbedit -L -d0

...

nobody:65534:nobody

...


Output of pdbedit -Lv -d0 -u nobody

Username not found!


Is anyone able to assist?

0

Error installing Ajenti

Tom Thomson 8 years ago updated by neworkin 8 years ago 3

Hi guys,

I had the new Ajenti 2 but I want to use Ajenti web addon so I uninstalled it again and installed ajenti 1 instead. But I can't (re)start it. When I enter https://<ip>:8000 I get the error "ERR_CONNECTION_REFUSED". Also I see the (old) favicon of ajenti 2. When I ask for information about the error of ajenti not starting up I get this:

__________________________________________________________________________

● ajenti.service - Ajenti panel

Loaded: loaded (/lib/systemd/system/ajenti.service; enabled)
Active: failed (Result: exit-code) since Sun 2016-04-24 13:04:07 EDT; 9s ago
Process: 2176 ExecStart=/usr/bin/python /usr/local/bin/ajenti-panel -d (code=exited, status=2)
Main PID: 24675 (code=exited, status=0/SUCCESS)

Apr 24 13:04:07 vps python[2176]: /usr/bin/python: can't open file '/usr/local/bin/ajenti-panel': [Errno 2] No such file or directory
Apr 24 13:04:07 vps systemd[1]: ajenti.service: control process exited, code=exited status=2
Apr 24 13:04:07 vps systemd[1]: Failed to start Ajenti panel.
Apr 24 13:04:07 vps systemd[1]: Unit ajenti.service entered failed state.

__________________________________________________________________________

Hope you can help me. I tried to uninstall it and install it again so many times now.

Also when I go to /usr/local/bin/ there is no "ajenti-panel"

Please help,

thanks Tom

OS: Debian 8

0

connection refused

Keagan 8 years ago updated 8 years ago 1

Hello, I just freshly installed Ajenti but I can`t connect via https:// event when it`s turned on. But with http:// it works.


Any ideas please?

0

Postfix instead of Exim

Daniel Baier 8 years ago updated by Pierre Knudsen 8 years ago 1

Can adjenti V on debian use postfix instead of Exim?

Thanks

0

Erro 502: ajenti-v-php-fcgi-0.sock failed

Paul Deng 8 years ago updated 8 years ago 7

Hi Ajenti,


I got error 502 when I visit the Wordpress site created in Ajenti.


--/var/log/nginx/exampledomain.err.log:

2016/04/15 04:52:19 [error] 1109#0: *6174 connect() to unix:/var/run/ajenti-v-php-fcgi-exampledomain-php-fcgi-0.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: ipaddress, server: exampledomain, request: "POST /xmlrpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/ajenti-v-php-fcgi-exampledomain-php-fcgi-0.sock:", host: "ipaddress"



--/var/log/upstart/php5-fpm.log

[15-Apr-2016 04:54:11] WARNING: [pool exampledomain-php-fcgi-0] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 4 total children[15-Apr-2016 04:54:12] WARNING: [pool exampledomain-php-fcgi-0] server reached pm.max_children setting (5), consider raising it


Ubuntu 12.04

Php and fpm 5.6.20


Any one getting the same error?


Thanks a lot.

















0

Anjenti installation on a full configurated Server a problem?

Torben 8 years ago updated 8 years ago 2

Just want to know in case I install Ajenti on our dedicated apache aerver with installed and configurated emailserver like sendmail/postfix, ssl and php/Mysql is there any problem that I loose configurations or functions? If not will Ajenti take over the configuarations e.g.of the email server/installed email adresses? Thanks.

0

access definition to file manager for different users

Iman Snowleaf 8 years ago updated 8 years ago 1

how can I define different accesses to the file manager for different users in ajenti?
currently, every user that I created from the configure section can access to root system files and directories.

0

Can't Access My Website after Updating Ajenti

John Michael James (XyLoL) 8 years ago updated by Pierre Knudsen 8 years ago 1

I updated my ajenti and now I can't access any of my websites.. But I can access the Ajenti Control Panel through "domain.com:8000"

0

nginx gives 404

Andrea Amorosi 8 years ago 0

Hi there, here's my situation:


I've got 1 domain example.com and 3 websites php1 (is in /srv/php1 port 80), php2 (is in /srv/php2 port 81) and node3 (is in /srv/node3 port 82), what I'm trying to do is to have:

php1 as default so when I go to example.com the first one is loaded

example.com/php2 should go to php2

example.com/node3 should go to node3


I'm not sure what I'm missing but I've spent the last 6 hours trying to figure it out editing the custom configuration for each one, I'm also not sure if I should use different ports for each one of them. At the moment if I go to example.com I get php1 as the Default option is selected and is running on port 80 (I guess). I tried different snippet I found here and on the internet trying to set up custom settings for the location, root and alias but while if I go to example.com/php2 or example.com/node3 I always get 403 or 404 depending on what is written on the custom fields. I should probably mention that if I go to example.com:81 and example.com:82 I get the correct pages.


thanks in advance

0

when create site NGINX service is off

ehsan 8 years ago updated by Pierre Knudsen 8 years ago 1

when create new site NGINX service & NGINX config test down and sql not show anything