+1
Fixed

Nginx plugin missing on CentOS 6.4

Ros 11 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 4
I have installed Ajenti on CentOS 6.4, but I cannot see Nginx in Software sidebar.

Plugins page doesn't show a dependency unsatisfied warning.

I've tried
nginx-1.0.15-5.el6.x86_64
nginx-1.4.2-1.el6.ngx
ajenti.noarch 0:0.99.33-1
ajenti.noarch 0:0.99.34-1

Need your help :)

Answer

Answer
Fixed

Support for /etc/nginx/conf.d added to code

Also user editing doesn't work on CentOS 6.4 ( tried setting password, changing shell, changing username).


At first I thought it could be SELinux, but after disabling it problem still exists.

User management fixed. We'll figure out something with NGINX.

Ok, it appears that Ajenti supports Nginx just for Debain/Ubuntu... AND it doesn't support official nginx packages. I hope this changes soon.


But there is a simple workaround:


First create a usual for Debian package folder structure:

mkdir /etc/nginx/sites-available
ln -s /etc/nginx/conf.d/ /etc/nginx/sites-enabled
mv /etc/nginx/conf.d/* /etc/nginx/sites-available
Then edit

/usr/lib/python2.6/site-packages/ajenti/plugins/nginx/main.py
And remove

platforms = ['debian']

Answer
Fixed

Support for /etc/nginx/conf.d added to code