Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread david6228
Hi Dan, Thank you help, the error output that is result of run journalctl -u mojo_test. David 在 2017年11月25日星期六 UTC+8上午12:14:30,Dan Book写道: > > Please check journalctl to find the real error that occurs before the > lines you pasted. journalctl -u mojo_test.service > > -Dan > > On Fri, Nov

Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread david6228
Hi Daniel, Thank you gudie, but it's running ok when manually start. I try to check the perl. David 在 2017年11月24日星期五 UTC+8下午9:58:54,Daniel Mantovani写道: > > Hi David, those 'Compilation failed in require at ... ' normally mean that > perl is not able to find some modules at an "use" o

Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread Dan Book
Please check journalctl to find the real error that occurs before the lines you pasted. journalctl -u mojo_test.service -Dan On Fri, Nov 24, 2017 at 5:34 AM, wrote: > Hi Daniel, > Thank you deltail adivces. > I test follow your guide, but it's error same as I report before, it's in > Mojoliciou

Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread Daniel Mantovani
Hi Dan, thanks for your comments. The problem I run into when tried to create the /run/myapp or /var/run/myapp directory manually or by a separate mechanism is that depending on the host system it will be deleted during a reboot. For instance in RHEL 7.x /var/run (or /run, it is a symlink to it

Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread Daniel Mantovani
Hi David, those 'Compilation failed in require at ... ' normally mean that perl is not able to find some modules at an "use" or "require" function call. You probably have to review those files at the lines mentioned, also which perl are using in each case (whether you are using system perl, or

[Mojolicious] Re: Session Tutorial - please review

2017-11-24 Thread b . duffee
On Thursday, 23 November 2017 16:07:11 UTC, sri wrote: > I could only take a quick look, but i think some of the login code might be > insecure. > > > https://github.com/duffee/Mojolicious_session_example/blob/master/ldap/lib/LDAP/Controller/Secure.pm#L43-L52 > > That should return a false

[Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread david6228
Hi Boyd, thank you suggestion. I test that use your service unit configuration, result same error (mojolicious 7.57). I also change Mojolicious to 6.58, it's still error, but it's different, error output is: [root@localhost ~]# systemctl status mojo ● mojo.service - My Mojolicious application

Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-24 Thread david6228
Hi Daniel, Thank you deltail adivces. I test follow your guide, but it's error same as I report before, it's in Mojolicious 7.57. I once change Mojolicious to 6.58 to test, it's still error, error output: [root@localhost ~]# systemctl status mojo_test.service ● mojo_test.service - My Mojolicious