Though the hello.C example works with the wthttp library; the wtfcgi
library compiled binary fails on deployment with Caught SIGTERM, shutting
down - on the apache error log.
Build details:
Apache 2.2.22 (Debian wheezy amd64) mod_fcgid 2.3.6
wt 3.3.3
boost 1.55
Apache Wt Config:
---
<IfModule mod_fcgid.c>
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout -1
ProcessLifeTime -1
MaxProcessCount 10
DefaultMaxClassProcessCount 10
DefaultMinClassProcessCount 1
FcgidInitialEnv WT_APP_ROOT /home/bvr/wt/approot
</IfModule>
<DirectoryMatch "^/home/.+/public_html/.*$">
AddHandler fcgid-script .wt
Options +ExecCGI
</DirectoryMatch>
---
Apache Error Log
---
[Sat Dec 20 00:14:26 2014] [notice] caught SIGTERM, shutting down
[Sat Dec 20 00:14:27 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6
configured -- resuming normal operations
[Sat Dec 20 00:27:47 2014] [notice] caught SIGTERM, shutting down
[Sat Dec 20 00:27:48 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6
configured -- resuming normal operations
[Sat Dec 20 00:42:04 2014] [notice] caught SIGTERM, shutting down
[Sat Dec 20 00:42:05 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6
configured -- resuming normal operations
[Sat Dec 20 01:06:14 2014] [notice] caught SIGTERM, shutting down
[Sat Dec 20 01:06:15 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6
configured -- resuming normal operations
[Sat Dec 20 03:09:46 2014] [notice] caught SIGTERM, shutting down
[Sat Dec 20 03:09:47 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6
configured -- resuming normal operations
---
compilation command:
---
g++ -g -o /home/<username>/public_html/wt/hello.wt -lwt -lwtfcgi hello.cpp
---
Is there anything specific that I am missing?
Thanks
r
--
(b v raghav)
bvrag...@gmail.com
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest