{"action":"created","issue":{"url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/10","labels_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/10/comments","events_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/10/events","html_url":"https://github.com/GiorgioRegni/mod_encrypt/issues/10","id":116681760,"number":10,"title":"module stopped accepting connections","user":{"login":"dmgrimal","id":6944218,"avatar_url":"https://avatars.githubusercontent.com/u/6944218?v=3","gravatar_id":"","url":"https://api.github.com/users/dmgrimal","html_url":"https://github.com/dmgrimal","followers_url":"https://api.github.com/users/dmgrimal/followers","following_url":"https://api.github.com/users/dmgrimal/following{/other_user}","gists_url":"https://api.github.com/users/dmgrimal/gists{/gist_id}","starred_url":"https://api.github.com/users/dmgrimal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmgrimal/subscriptions","organizations_url":"https://api.github.com/users/dmgrimal/orgs","repos_url":"https://api.github.com/users/dmgrimal/repos","events_url":"https://api.github.com/users/dmgrimal/events{/privacy}","received_events_url":"https://api.github.com/users/dmgrimal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-13T01:45:26Z","updated_at":"2015-11-17T13:14:45Z","closed_at":null,"body":"On CentOS 6.7, after a few days of working, the mod_encrypt module is no longer able to accept requests.  In /var/log/httpd/error_log, we see the following log messages followed by it not working.  I have attached the full log entry. \r\n\r\n[Wed Nov 11 08:59:31 2015] [error] [client 127.0.0.1] FastCGIENC: comm with server \"/var/www/encrypt\" aborted: idle timeout (300 sec)\r\n[Wed Nov 11 08:59:31 2015] [error] [client 127.0.0.1] FastCGIENC: incomplete headers (0 bytes) received from server \"/var/www/encrypt\"\r\n*** longjmp causes uninitialized stack frame ***: /usr/sbin/httpd terminated\r\n======= Backtrace: =========\r\n/lib64/libc.so.6(__fortify_fail+0x37)[0x7f6175825527]\r\n/lib64/libc.so.6(+0x1024b9)[0x7f61758254b9]\r\n/lib64/libc.so.6(__longjmp_chk+0x33)[0x7f6175825423]\r\n/usr/lib64/libcurl.so.4(+0xf385)[0x7f616be48385]\r\n/lib64/libpthread.so.0(+0xf710)[0x7f6175ac6710]\r\n/lib64/libc.so.6(__select+0x33)[0x7f6175804373]\r\n/usr/lib64/libapr-1.so.0(apr_sleep+0x45)[0x7f6175cf7125]\r\n/usr/sbin/httpd(ap_wait_or_timeout+0x49)[0x7f617721df49]\r\n/usr/sbin/httpd(ap_mpm_run+0x477)[0x7f6177228387]\r\n/usr/sbin/httpd(main+0xb90)[0x7f61771ffa30]\r\n/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f6175741d5d]\r\n/usr/sbin/httpd(+0x16999)[0x7f61771fe999]\r\n\r\n\r\n[error_log-20151112.txt](https://github.com/GiorgioRegni/mod_encrypt/files/33546/error_log-20151112.txt)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/comments/157367894","html_url":"https://github.com/GiorgioRegni/mod_encrypt/issues/10#issuecomment-157367894","issue_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/10","id":157367894,"user":{"login":"BazeIlijoskki","id":10965776,"avatar_url":"https://avatars.githubusercontent.com/u/10965776?v=3","gravatar_id":"","url":"https://api.github.com/users/BazeIlijoskki","html_url":"https://github.com/BazeIlijoskki","followers_url":"https://api.github.com/users/BazeIlijoskki/followers","following_url":"https://api.github.com/users/BazeIlijoskki/following{/other_user}","gists_url":"https://api.github.com/users/BazeIlijoskki/gists{/gist_id}","starred_url":"https://api.github.com/users/BazeIlijoskki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BazeIlijoskki/subscriptions","organizations_url":"https://api.github.com/users/BazeIlijoskki/orgs","repos_url":"https://api.github.com/users/BazeIlijoskki/repos","events_url":"https://api.github.com/users/BazeIlijoskki/events{/privacy}","received_events_url":"https://api.github.com/users/BazeIlijoskki/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T13:14:45Z","updated_at":"2015-11-17T13:14:45Z","body":"I think it is because of user privilege for the log file directory, but I\nneed to check by myself.\nCould I check it by myself at your side?\n\nThanks,\nBaze\n\nOn Tue, Nov 17, 2015 at 8:05 AM, Dan Grimaldi <notifications@github.com>\nwrote:\n\n> I have installed the new update using the RPM provided (thanks). After a\n> bit of time, this has crashed and no longer works. What I have see in the\n> logs:\n>\n> 2015-11-14 01:13:10,659 [TRACK] KEY-THREAD - curl request:\n> http://54.175.20.74/auth, senddata:\n> {\"username\":\"test_scality\",\"password\":\"scality\"}\n> 2015-11-14 01:13:10,659 [TRACK] KEY-THREAD - curl response:\n> {\"token\":\"5440231e9dbdd5f6e553b8b9c2a320a13b075c78\",\"expiration_time\":\"2015-11-14T01:18:55.986Z\"}\n> 2015-11-14 01:13:41,115 [TRACK] KEY-THREAD - curl request:\n> http://54.175.20.74/auth, senddata:\n> {\"username\":\"test_scality\",\"password\":\"scality\"}\n> 2015-11-14 01:13:41,115 [TRACK] KEY-THREAD - curl response:\n> {\"token\":\"5440231e9dbdd5f6e553b8b9c2a320a13b075c78\",\"expiration_time\":\"2015-11-14T01:18:55.986Z\"}\n> 2015-11-14 01:14:11,559 [TRACK] KEY-THREAD - curl request:\n> http://54.175.20.74/auth, senddata:\n> {\"username\":\"test_scality\",\"password\":\"scality\"}\n> 2015-11-14 01:14:11,559 [TRACK] KEY-THREAD - curl response:\n> {\"token\":\"5440231e9dbdd5f6e553b8b9c2a320a13b075c78\",\"expiration_time\":\"2015-11-14T01:18:55.986Z\"}\n> 2015-11-14 01:17:19,228 [ERROR] FastCGIENC: access for server (uid 48, gid\n> 48) failed: execute not allowed\n> 2015-11-14 01:17:21,432 [ERROR] FastCGIENC: access for server (uid 48, gid\n> 48) failed: execute not allowed by owner\n> 2015-11-14 03:34:01,890 [ERROR] FastCGIENC: access for server (uid 48, gid\n> 48) failed: execute not allowed by owner\n>\n> After this happens, the httpd service reports the following using status.\n> Note that the pid for httpd is no longer running and the parent pid for all\n> the httpd is gone. All httpd processes are directly under parent pid 1.\n>\n> [root@blf-pp-h01-obj03.blfpp-geo:/root]$ ps -ef | grep httpd\n> apache 21394 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21395 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21396 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21397 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21398 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21399 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21400 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> apache 21401 1 0 Nov14 ? 00:00:00 /usr/sbin/httpd\n> root 30228 30197 0 06:35 pts/2 00:00:00 grep httpd\n> [root@blf-pp-h01-obj03.blfpp-geo:/root]$ cat /var/run/httpd/httpd.pid\n> 28080\n> [root@blf-pp-h01-obj03.blfpp-geo:/root]$ service httpd status\n> httpd dead but pid file exists\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GiorgioRegni/mod_encrypt/issues/10#issuecomment-157293604>\n> .\n>\n"}}