Re: [Cppcms-users] cppblog and systemd
Brought to you by:
artyom-beilis
|
From: Marius C. <mf...@gm...> - 2015-03-16 12:46:27
|
Turns our you're right, my apologies ... One question though, when did you get that error ? Was it when booting or did you just start the service manually ? I also assume you made sure all previous instances were dead ? That could also be an issue. On Mon, Mar 16, 2015 at 1:59 PM, Paolo Bolzoni <pao...@gm...> wrote: > The documentation states "Nginx supports only FastCGI protocol with > external application start." > And this is what I wanted to do with systemd, ensure that before nginx > is executed cppblog also is. > > On Mon, Mar 16, 2015 at 12:48 PM, Marius Cirsta <mf...@gm...> wrote: >> Yes, you are wrong. Cppcms is an application only when it runs using >> the internal web server. This is however only recommended for >> debugging right now. You could also use the internal sever if you >> really, really need it on an embedded device which has too little >> memory but otherwise cppcms is just a library that nginx will call >> just as it calls other extensions like php ( you don't need to start >> php, do you ). >> >> This is my understanding of things I've read in the official docs >> which I really recommend reading a bit, they will help clear up some >> things. >> >> >> On Mon, Mar 16, 2015 at 1:39 PM, Paolo Bolzoni >> <pao...@gm...> wrote: >>> I am using nginx, but I need to start the cppcms application >>> separately. Am I wrong? >>> >>> On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> wrote: >>>> I suppose you are trying to use a port below 1024, because that are root >>>> only ports. Try to use an other port. >>>> >>>> Btw: why don't you use nginx as http server and fast_cgi as recommended >>>> by [0]? >>>> >>>> Greetings, >>>> Marcel >>>> >>>> [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>>> things parallel software development, from weekly thought leadership blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |