lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2018-05-18T05:17:48Zhttps://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.1https://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/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/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/1067Authbasic handler for Nginx2018-05-19T19:41:39ZYaddAuthbasic handler for Nginx1.9.6https://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/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/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/1100Create custom lltype for custom handler2018-05-19T19:41:40ZJeremy KespiteCreate custom lltype for custom handlerI have custom handler and I'd like to call them from vhost with a lltype that could be described in manager.
For example, we could declare in the manager:
custom1 --> CustomHandler
and if I set LLTYPE with custom1 in the nginx vhost, t...I have custom handler and I'd like to call them from vhost with a lltype that could be described in manager.
For example, we could declare in the manager:
custom1 --> CustomHandler
and if I set LLTYPE with custom1 in the nginx vhost, the sub called is:
Lemonldap::NG::Handler::CustomHandler->run()
This could be very helpful.
Let me know if this is not crystal clear
1.9.7https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1121Fail to require customNginxHandler2018-05-19T19:41:42ZJeremy KespiteFail to require customNginxHandlerSince 1.9.7, you can declare customNginxHandler.
If I set:
java -> MyPortal::HandlerJava
I get when I use the customHandler:
Can't locate MyPortal::HandlerJava in @INC at /usr/sbin/llng-fastcgi-server line 119
But if I write in at /u...Since 1.9.7, you can declare customNginxHandler.
If I set:
java -> MyPortal::HandlerJava
I get when I use the customHandler:
Can't locate MyPortal::HandlerJava in @INC at /usr/sbin/llng-fastcgi-server line 119
But if I write in at /usr/sbin/llng-fastcgi-server line 119:
require MyPortal::HandlerJava, I have no problem
The thing is that it considers customHandler as string and fails to import module1.9.8https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1149lemonldap-ng-fastcgi-server not working on CentOS72018-05-19T19:41:42ZMichael Goldfingerlemonldap-ng-fastcgi-server not working on CentOS7After installing lemonldap based on the documentation I noticed some problems.
1) The fact that lemonldap-ng-fastcgi-server has to be installed is missing in the documentation. I did that with "yum install *fastcgi*";
2) After installi...After installing lemonldap based on the documentation I noticed some problems.
1) The fact that lemonldap-ng-fastcgi-server has to be installed is missing in the documentation. I did that with "yum install *fastcgi*";
2) After installing the fastcgi server every call of the test site leads to an error
" [crit] 3103#3103: *1 connect() to unix:/var/run/llng-fastcgi-server/llng-fastcgi.sock failed (2: No such file or directory) while connecting to upstream..."
Well nginx is right the file does not exist.
I suspect that
a) some configuration that is not documented is needed to get that thing to work
b) the fastcgi server is not running for whatever reason (no errors found in the logs)1.9.8https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1341llng-fastcgi-server: Allow to listen on TCP2017-12-14T05:47:56ZMathieu Parentllng-fastcgi-server: Allow to listen on TCPMy use case: I want to use LemonLDAP with the [Kubernetes Ingress controller for nginx](https://github.com/kubernetes/ingress-nginx) using auth_request.
Best practice on Docker is to have only one purpose per container. i.e one nginx co...My use case: I want to use LemonLDAP with the [Kubernetes Ingress controller for nginx](https://github.com/kubernetes/ingress-nginx) using auth_request.
Best practice on Docker is to have only one purpose per container. i.e one nginx container, and one llng-fastcgi-server container.
NB: I know that I can use ```--plackOptions='--listen=:1234'``` but I don't like it.1.9.15YaddYaddhttps://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/1427Alternative FastCGI-Client handler for Apache22018-05-22T16:44:40ZYaddAlternative FastCGI-Client handler for Apache2### Summary
Propose an alternative handler to be used to query a LLNG FastCGI server. It will permit to insert an Apache in a [LLNG SSOaaS infrastructure](https://lemonldap-ng.org/documentation/2.0/ssoaas)### Summary
Propose an alternative handler to be used to query a LLNG FastCGI server. It will permit to insert an Apache in a [LLNG SSOaaS infrastructure](https://lemonldap-ng.org/documentation/2.0/ssoaas)2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1364Centos - Issue with starting service llng-fastcgi-server2018-06-26T10:06:11ZMathieu Lecompte-melançonCentos - Issue with starting service llng-fastcgi-serverAs we lunch service llng-fastcgi-server, we get this message:
/etc/init.d/llng-fastcgi-server : line 27 : /lib/init/vars.sh : No such file or directory
/etc/init.d/llng-fastcgi-server : line 28 : /lib/lsb/init-functions : No such file o...As we lunch service llng-fastcgi-server, we get this message:
/etc/init.d/llng-fastcgi-server : line 27 : /lib/init/vars.sh : No such file or directory
/etc/init.d/llng-fastcgi-server : line 28 : /lib/lsb/init-functions : No such file or directory
This happen on 2.0 Alpha release2.0.0Clément OUDOTClément OUDOThttps://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/1269Error on reload2018-05-19T19:41:49ZMathieu Lecompte-melançonError on reload2017/07/14 10:38:21 [error] 2340#2340: *18 FastCGI sent in stderr: "Can't call method "api" without a package or object reference at /usr/share/perl5/vendor_perl/Lemonldap/NG/Handler/Lib/PSGI.pm line 101" while reading response header fr...2017/07/14 10:38:21 [error] 2340#2340: *18 FastCGI sent in stderr: "Can't call method "api" without a package or object reference at /usr/share/perl5/vendor_perl/Lemonldap/NG/Handler/Lib/PSGI.pm line 101" while reading response header from upstream, client: 10.193.11.11, server: reload.beta.urgences-sante.qc.ca, request: "GET /reload HTTP/1.1", upstream: "fastcgi://unix:/var/run/llng-fastcgi-server/llng-fastcgi.sock:", host: "reload.beta.urgences-sante.qc.ca"2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1272Underlying object can't load conf2018-05-19T19:41:49ZMathieu Lecompte-melançonUnderlying object can't load confThere some strange message, on each loade of "auth" portale
Jul 17 14:07:14 srv-test-nginxv2 LLNG[2328]: Underlying object can't load conf (Lemonldap::NG::Handler::FastCGI::Loader->loadCustomHandlers)
Jul 17 14:07:14 srv-test-nginxv2...There some strange message, on each loade of "auth" portale
Jul 17 14:07:14 srv-test-nginxv2 LLNG[2328]: Underlying object can't load conf (Lemonldap::NG::Handler::FastCGI::Loader->loadCustomHandlers)
Jul 17 14:07:14 srv-test-nginxv2 LLNG[2328]: Using demonstration mode, go to Manager to edit the configuration2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1285Typo in /lemonldap-ng/etc/init.d/llng-fastcgi-server2018-05-19T19:41:50ZRick JongbloedTypo in /lemonldap-ng/etc/init.d/llng-fastcgi-serverTypo in the init.d file,
DAEMON=/usr/local/lemonldap-ng/sbin/*llgn*-fastcgi-server should be DAEMON=/usr/local/lemonldap-ng/sbin/*llng*-fastcgi-serverTypo in the init.d file,
DAEMON=/usr/local/lemonldap-ng/sbin/*llgn*-fastcgi-server should be DAEMON=/usr/local/lemonldap-ng/sbin/*llng*-fastcgi-server2.0.0YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1287nginx handler, error on reload2018-05-19T19:41:50ZRick Jongbloednginx handler, error on reloadI'm using the latest revision at the moment (6630).
When saving a change, the following error is shown:
Successfully saved
Apply result
*reload.<servername>.com: Error 500 (Internal Server Error)*
Warnings
Your manager seems to...I'm using the latest revision at the moment (6630).
When saving a change, the following error is shown:
Successfully saved
Apply result
*reload.<servername>.com: Error 500 (Internal Server Error)*
Warnings
Your manager seems to be unprotected
The log shows the following errors:
<will update and attach log tonight>2.0.0YaddYadd