Re: [Mojolicious] Re: hypnotoad systemd start problem

2017-11-26 Thread david6228
Hi Daniel, Thank you very much. David 在 2017年11月26日星期日 UTC+8下午10:02:43,Daniel Mantovani写道: > > Hi David, > Exactly, thats why you should check what are the differences among both > cases (manual start vs systemd start). That means checking perl that end up > called in each case (probably loo

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

[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

[Mojolicious] hypnotoad systemd start problem

2017-11-23 Thread david6228
Dear sir; I meet a problem when systemd start hypnotoad, detail follow: systemctl status mojo_test.service ● mojo_test.service - My Mojolicious application Loaded: loaded (/usr/lib/systemd/system/mojo_test.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) si

[Mojolicious] Re: Mojo::Pg sample test problem

2017-11-10 Thread david6228
thank you. 在 2017年11月9日星期四 UTC+8下午4:31:17,davi...@gmail.com写道: > > Hi, I'm try Mojo::Pg sample code in https://github.com/kraih/mojo-pg > but I get an error on the non-blocking: > [Thu Nov 9 14:47:44 2017] [error] Can't dup: Bad file descriptor at > C:/Perl/site/lib/Mojo/Pg/Database.pm line 1

[Mojolicious] Mojo::Pg sample test problem

2017-11-09 Thread david6228
Hi, I'm try Mojo::Pg sample code in https://github.com/kraih/mojo-pg but I get an error on the non-blocking: [Thu Nov 9 14:47:44 2017] [error] Can't dup: Bad file descriptor at C:/Perl/site/lib/Mojo/Pg/Database.pm line 161. The running enviroment: Windows 7 Perl : (v5.26, MSWin32) Mojolicious