lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2018-05-19T19:41:40Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1099FCGI: reload method return Internal Server Error2018-05-19T19:41:40ZJeremy KespiteFCGI: reload method return Internal Server ErrorWhen I use the reload method of the fastcgi-server, I get an internal server Error with the message:
"Can't locate object method "reload" via package "Lemonldap::NG::Handler::Nginx" at /usr/sbin/llng-fastcgi-server line 69"
My vhost is ...When I use the reload method of the fastcgi-server, I get an internal server Error with the message:
"Can't locate object method "reload" via package "Lemonldap::NG::Handler::Nginx" at /usr/sbin/llng-fastcgi-server line 69"
My vhost is configured like this:
```
location = /reload {
allow 127.0.0.1;
deny all;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/llng-fastcgi-server/llng-fastcgi.sock;
fastcgi_param LLTYPE reload;
}
```1.9.7https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1093/run/llng-fastcgi-server is deleted on reboot2018-05-19T19:41:40ZPaulo Anes/run/llng-fastcgi-server is deleted on rebootIn CentOS 7 and RHEL7 the /run directory is a temporary filesystem and all subdirectories disappear on reboot.
To resolve this you must do:
echo 'd /run/llng-fastcgi-server - apache apache' > /usr/lib/tmpfiles.d/llng-fastcgi-server.confIn CentOS 7 and RHEL7 the /run directory is a temporary filesystem and all subdirectories disappear on reboot.
To resolve this you must do:
echo 'd /run/llng-fastcgi-server - apache apache' > /usr/lib/tmpfiles.d/llng-fastcgi-server.conf1.9.6https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1073lemonldap-ng-fastcgi-server seems to leak memory2018-05-19T19:41:39ZMatthieu Cerdalemonldap-ng-fastcgi-server seems to leak memoryHello,
The lemonldap-ng-fastcgi-server / perl-fcgi component seems to leak memory which leads to OOM kills (please see the attached files). Moreover, we regularly encounter a local OpenLDAP saturation due to a tremendous amount of conne...Hello,
The lemonldap-ng-fastcgi-server / perl-fcgi component seems to leak memory which leads to OOM kills (please see the attached files). Moreover, we regularly encounter a local OpenLDAP saturation due to a tremendous amount of connexions from it, which saturates the 1024 fixed size limit of slapd's connexion pool.
It seems that 'somewhere' ressources (threads ? connexions ?) are not beeing freed and stack up on the system.
Halp pls :)FAQhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1069start-stop-daemon warning in lemonldap-ng-fastcgi-server init script2018-05-19T19:41:39ZMatthieu Cerdastart-stop-daemon warning in lemonldap-ng-fastcgi-server init scriptTrying to run a restart on the service throws:
--8<--
xxx:~# service lemonldap-ng-fastcgi-server restart
Restarting llng-fastcgi-server: llng-fastcgi-serverstart-stop-daemon: warning: this system is not able to track process names
longer...Trying to run a restart on the service throws:
--8<--
xxx:~# service lemonldap-ng-fastcgi-server restart
Restarting llng-fastcgi-server: llng-fastcgi-serverstart-stop-daemon: warning: this system is not able to track process names
longer than 15 characters, please use --exec instead of --name.
FastCGI daemon started (pid 22442)
. ok
--8<--
This leads to a situation where start-stop-daemon is unable to track the process, and causes multiple stray perl-fcgi processes to appear when the script get ran multiple times to restart it. (new processes get spawned but old ones remain)
As the warning suggests, it might be a good idea to use --exec instead (please see the attached patch)
Thanks !1.9.6https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1067Authbasic handler for Nginx2018-05-19T19:41:39ZYaddAuthbasic handler for Nginx1.9.6https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1063lemonldap-ng-fastcgi-server has a hard dependency on nginx2018-02-16T15:42:13ZMatthieu Cerdalemonldap-ng-fastcgi-server has a hard dependency on nginxThe lemonldap-ng-fastcgi-server package on Debian has a hard dependency on 'nginx | nginx-extras'. According to https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps , 'The Depends field should be used if the depend...The lemonldap-ng-fastcgi-server package on Debian has a hard dependency on 'nginx | nginx-extras'. According to https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps , 'The Depends field should be used if the depended-on package is required for the depending package to provide a significant amount of functionality.'
Do we consider that this package is tightly and absolutely coupled to nginx and unable to work / provide significant functionnality without it, or it is simply a generic fastcgi gateway primarily intended to work with nginx but usable with something else ? (in which case a Recommends: would be enough)
The main reason for this interrogation is that I see a good reason to use a Depends: (in a quick start / evaluation scenario, pulling nginx automatically is quite handy when you install the package) but also good reasons not to ( The package seems to run just fine without nginx running or even installed, and might even prove useful for other web servers or applications that would rather contact a fastcgi gateway to authenticate a user rather than firing up a complete Perl environment ).1.9.16https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1060Missing reload target for nginx2018-05-19T19:41:38ZJeremy KespiteMissing reload target for nginxThe fastcgi server used for nginx handler misses a reload sub to reload conf
The fastcgi server used for nginx handler misses a reload sub to reload conf
1.9.6https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1054test_config not found in lemonldap-ng-fastcgi-server init script2018-05-19T19:41:38ZMatthieu Cerdatest_config not found in lemonldap-ng-fastcgi-server init scriptTrying to run a restart on the service throws:
---8<---
xxx:~# service lemonldap-ng-fastcgi-server restart
[....] Restarting llng-fastcgi-server: llng-fastcgi-server/etc/init.d/lemonldap-ng-fastcgi-server: 112: /etc/init.d/lemonldap-ng-f...Trying to run a restart on the service throws:
---8<---
xxx:~# service lemonldap-ng-fastcgi-server restart
[....] Restarting llng-fastcgi-server: llng-fastcgi-server/etc/init.d/lemonldap-ng-fastcgi-server: 112: /etc/init.d/lemonldap-ng-fastcgi-server: test_config: not found
failed!
---8<---
removing the call to test_config leads to a properly working script, besides a warning that should maybe get corrected:
---8<---
xxx:~# service lemonldap-ng-fastcgi-server restart
[....] Restarting llng-fastcgi-server: llng-fastcgi-serverstart-stop-daemon: warning: this system is not able to track process names
longer than 15 characters, please use --exec instead of --name.
FastCGI daemon started (pid 3094)
. ok
---8<---
Thanks for the help :)1.9.5https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1044Adapt FastCGI server to be able to use an event Plack engine2018-05-19T19:41:37ZYaddAdapt FastCGI server to be able to use an event Plack engineThe only thing to do seems to replace $_v handler variable by a $req property (to avoid confusing users), but it seems to be a little bit hard to do...The only thing to do seems to replace $_v handler variable by a $req property (to avoid confusing users), but it seems to be a little bit hard to do...2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1035Manage Plack engines in FastCGI server2018-05-19T19:41:37ZYaddManage Plack engines in FastCGI serverFastCGI server may launch an other engine than FCGI : some other plack engines may be interesting (like \[Plack::Handler::]AnyEvent::FCGI).FastCGI server may launch an other engine than FCGI : some other plack engines may be interesting (like \[Plack::Handler::]AnyEvent::FCGI).1.9.4https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/969/var/run is a tmpfs so FastCGI pid can't be written after reboot2018-05-18T05:17:48ZYadd/var/run is a tmpfs so FastCGI pid can't be written after rebootFastCGI server has to verify that /var/run directory is createdFastCGI server has to verify that /var/run directory is created1.9.1