As per this comment [1] I can get httpd to start with systemctl if the timeout is extended enough. So now I just need to figure out why having PHP SQLSRV enabled causes so much lag. Thoughts on how to identify the issue?On Thu, Jul 5, 2018 at 11:07 AM James Montalvo <jamesmontalvo3@xxxxxxxxx> wrote:`sudo apachectl restart` failure with SQLSRV enabled, success with it disabled. journalctl output below:Jul 05 10:38:03 someserver sudo[17255]: someuser : TTY=pts/0 ; PWD=/etc/rc.d/init.d ; USER=root ; COMMAND=/sbin/apachectl restartJul 05 10:38:03 someserver polkitd[879]: Registered Authentication Agent for unix-process:17258:16443757 (system bus name :1.719 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C)Jul 05 10:38:03 someserver systemd[1]: Starting The Apache HTTP Server...-- Subject: Unit httpd.service has begun start-up-- Defined-By: systemd---- Unit httpd.service has begun starting up.Jul 05 10:39:33 someserver systemd[1]: httpd.service start operation timed out. Terminating.Jul 05 10:40:01 someserver systemd[1]: Created slice User Slice of root.-- Subject: Unit user-0.slice has finished start-up-- Defined-By: systemd---- Unit user-0.slice has finished starting up.---- The start-up result is done.Jul 05 10:40:01 someserver systemd[1]: Starting User Slice of root.-- Subject: Unit user-0.slice has begun start-up-- Defined-By: systemd---- Unit user-0.slice has begun starting up.Jul 05 10:40:01 someserver systemd[1]: Started Session 334 of user root.-- Subject: Unit session-334.scope has finished start-up-- Defined-By: systemd---- Unit session-334.scope has finished starting up.---- The start-up result is done.Jul 05 10:40:01 someserver systemd[1]: Starting Session 334 of user root.-- Subject: Unit session-334.scope has begun start-up-- Defined-By: systemd---- Unit session-334.scope has begun starting up.Jul 05 10:40:01 someserver crond[17649]: pam_unix(crond:session): session opened for user root by (uid=0)Jul 05 10:40:01 someserver CROND[17651]: (root) CMD (/usr/lib64/sa/sa1 1 1)Jul 05 10:40:01 someserver CROND[17649]: pam_unix(crond:session): session closed for user rootJul 05 10:40:01 someserver systemd[1]: Removed slice User Slice of root.-- Subject: Unit user-0.slice has finished shutting down-- Defined-By: systemd---- Unit user-0.slice has finished shutting down.Jul 05 10:40:01 someserver systemd[1]: Stopping User Slice of root.-- Subject: Unit user-0.slice has begun shutting down-- Defined-By: systemd---- Unit user-0.slice has begun shutting down.Jul 05 10:41:03 someserver systemd[1]: httpd.service stop-final-sigterm timed out. Killing.Jul 05 10:41:03 someserver systemd[1]: httpd.service: main process exited, code=killed, status=9/KILLJul 05 10:41:03 someserver systemd[1]: Failed to start The Apache HTTP Server.-- Subject: Unit httpd.service has failed-- Defined-By: systemd---- Unit httpd.service has failed.---- The result is failed.Jul 05 10:41:03 someserver systemd[1]: Unit httpd.service entered failed state.Jul 05 10:41:03 someserver systemd[1]: httpd.service failed.Jul 05 10:41:03 someserver polkitd[879]: Unregistered Authentication Agent for unix-process:17258:16443757 (system bus name :1.719, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C) (disconnected from bus)On Wed, Jul 4, 2018 at 6:30 PM Frank Gingras <thumbs@xxxxxxxxxx> wrote:Next step would be to see if using `apachectl restart` works instead of relying on your distro's init scripts / systemd.On Tue, Jul 3, 2018 at 11:45 AM James Montalvo <jamesmontalvo3@xxxxxxxxx> wrote:FYI, I posted this question on Server Fault: https://serverfault.com/questions/919326/apache-wont-start-with-systemdI included in that question the stack traces mentioned in my previous email.On Mon, Jul 2, 2018 at 2:02 PM James Montalvo <jamesmontalvo3@xxxxxxxxx> wrote:You're right, running `httpd -X` is not dying and is properly serving web pages. It's just dying when running `systemctl (re)start httpd`. It does not appear to be serving web pages at any point between running `systemctl start httpd` and when it times out three minutes later.I ran a stack trace on the systemctl command (`strace -ff -o /tmp/st2 -s 5000 systemctl start httpd`) and scanned through the six files generated. I don't see any errors. The last 100~150 lines of all six would be a lot to paste here. I've pasted the output of `systemctl status httpd.service` and `journalctl -xe` below. Should I put all the strace outputs into an email?Thanks so much for your help!$ systemctl status httpd.service● httpd.service - The Apache HTTP ServerLoaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)Active: failed (Result: signal) since Mon 2018-07-02 12:16:31 CDT; 29min agoDocs: man:httpd(8)man:apachectl(8)Process: 20521 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)Process: 15095 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)Process: 2469 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)Main PID: 2469 (code=killed, signal=KILL)Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"Tasks: 0CGroup: /system.slice/httpd.serviceJul 02 12:13:31 someserver systemd[1]: Starting The Apache HTTP Server...Jul 02 12:15:01 someserver systemd[1]: httpd.service start operation timed out. Terminating.Jul 02 12:16:31 someserver systemd[1]: httpd.service stop-final-sigterm timed out. Killing.Jul 02 12:16:31 someserver systemd[1]: httpd.service: main process exited, code=killed, status=9/KILLJul 02 12:16:31 someserver systemd[1]: Failed to start The Apache HTTP Server.Jul 02 12:16:31 someserver systemd[1]: Unit httpd.service entered failed state.Jul 02 12:16:31 someserver systemd[1]: httpd.service failed.$ journalctl -xeJul 02 13:46:42 someserver sudo[18758]: someuser : TTY=pts/2 ; PWD=/home/someuser ; USER=root ; COMMAND=/bin/systemctl restart httpdJul 02 13:46:42 someserver polkitd[843]: Registered Authentication Agent for unix-process:18759:82791895 (system bus name :1.27761 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)Jul 02 13:46:42 someserver systemd[1]: Starting The Apache HTTP Server...-- Subject: Unit httpd.service has begun start-up-- Defined-By: systemd---- Unit httpd.service has begun starting up.Jul 02 13:48:12 someserver systemd[1]: httpd.service start operation timed out. Terminating.Jul 02 13:49:43 someserver systemd[1]: httpd.service stop-final-sigterm timed out. Killing.Jul 02 13:49:43 someserver systemd[1]: httpd.service: main process exited, code=killed, status=9/KILLJul 02 13:49:43 someserver systemd[1]: Failed to start The Apache HTTP Server.-- Subject: Unit httpd.service has failed-- Defined-By: systemd---- Unit httpd.service has failed.---- The result is failed.Jul 02 13:49:43 someserver systemd[1]: Unit httpd.service entered failed state.Jul 02 13:49:43 someserver systemd[1]: httpd.service failed.Jul 02 13:49:43 someserver polkitd[843]: Unregistered Authentication Agent for unix-process:18759:82791895 (system bus name :1.27761, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)On Fri, Jun 29, 2018 at 5:40 PM Frank Gingras <thumbs@xxxxxxxxxx> wrote:The last 100 lines of the trace or so should tell you if httpd stopped by itself because of the mod_php issue. In your log, there is no such indication.Try to capture a test case where:1) That php extension is loaded2) httpd stops with httpd -XIf httpd keeps running with -X while that extension is loaded, then there is no issue, and httpd is working fine.On Fri, Jun 29, 2018 at 6:28 PM James Montalvo <jamesmontalvo3@xxxxxxxxx> wrote:Yes, mod_php. I've run stack traces and didn't see anything stand out. At the bottom of this email is the last couple hundred lines of the output from `strace -o /tmp/st -s 5000 httpd -X`, the last couple lines being when I ctrl-c killed it after several minutes. Do you see anything that I'm missing? I looked through the entire log and didn't see anything, but didn't want to post its entirety here. Thanks!fchmod(7, 0666) = 0fcntl(7, F_GETFD) = 0fcntl(7, F_SETFD, FD_CLOEXEC) = 0unlink("/tmp/.ZendSem.4oPM3Z") = 0mmap(NULL, 134217728, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0) = -1 ENOMEM (Cannot allocate memory)mmap(NULL, 134217728, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0x7f59c8ab2000fcntl(7, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0fcntl(7, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0fcntl(7, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0openat(AT_FDCWD, "/etc/php.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8getdents(8, /* 51 entries */, 32768) = 1848open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 9fstat(9, {st_mode=S_IFREG|0644, st_size=26254, ...}) = 0mmap(NULL, 26254, PROT_READ, MAP_SHARED, 9, 0) = 0x7f59f57ca000close(9) = 0futex(0x7f59f408ca80, FUTEX_WAKE_PRIVATE, 2147483647) = 0getdents(8, /* 0 entries */, 32768) = 0close(8) = 0open("/etc/php.d/opcache-default.blacklist", O_RDONLY) = 8lstat("/etc/php.d/opcache-default.blacklist", {st_mode=S_IFREG|0644, st_size=645, ...}) = 0lstat("/etc/php.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0lstat("/etc", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0fstat(8, {st_mode=S_IFREG|0644, st_size=645, ...}) = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f59f57c9000read(8, "; The blacklist file is a text file that holds the names of files\n; that should not be accelerated. The file format is to add each filename\n; to a new line. The filename may be a full path or just a file prefix\n; (i.e., /var/www/x blacklists all the files and directories in /var/www\n; that start with 'x'). Line starting with a ; are ignored (comments).\n; Files are usually triggered by one of the following three reasons:\n; 1) Directories that contain auto generated code, like Smarty or ZFW cache.\n; 2) Code that does not work well when accelerated, due to some delayed\n; compile time evaluation.\n; 3) Code that triggers an OPcache bug.\n\n", 4096) = 645read(8, "", 4096) = 0close(8) = 0munmap(0x7f59f57c9000, 4096) = 0stat("/run/httpd/httpd.pid", 0x7ffc33efd670) = -1 ENOENT (No such file or directory)open("/run/httpd/httpd.pid", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 8write(8, "4141\n", 5) = 5close(8) = 0semget(IPC_PRIVATE, 1, IPC_CREAT|0600) = 17039368semctl(17039368, 0, SETVAL, 0x1) = 0geteuid() = 0semctl(17039368, 0, IPC_SET, 0x7ffc33efd740) = 0mmap(NULL, 71712, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0x7f59f570e000rt_sigaction(SIGTERM, {0x7f59eb409a60, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGWINCH, {0x7f59eb409a60, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGINT, {0x7f59eb409a60, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGXCPU, {SIG_DFL, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGXFSZ, {SIG_IGN, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGHUP, {0x7f59eb409aa0, [HUP USR1], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGUSR1, {0x7f59eb409aa0, [HUP USR1], SA_RESTORER, 0x7f59f42a5680}, NULL, 8) = 0rt_sigaction(SIGHUP, {0x7f59eb409a60, [], SA_RESTORER|SA_INTERRUPT, 0x7f59f42a5680}, {0x7f59eb409aa0, [HUP USR1], SA_RESTORER, 0x7f59f42a5680}, 8) = 0rt_sigaction(SIGINT, {0x7f59eb409a60, [], SA_RESTORER|SA_INTERRUPT, 0x7f59f42a5680}, {0x7f59eb409a60, [], SA_RESTORER, 0x7f59f42a5680}, 8) = 0rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7f59f42a5680}, {SIG_DFL, [], 0}, 8) = 0rt_sigaction(SIGTERM, {0x7f59eb409a60, [], SA_RESTORER|SA_INTERRUPT, 0x7f59f42a5680}, {0x7f59eb409a60, [], SA_RESTORER, 0x7f59f42a5680}, 8) = 0geteuid() = 0setgid(48) = 0open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 8read(8, "65536\n", 31) = 6close(8) = 0open("/etc/group", O_RDONLY|O_CLOEXEC) = 8lseek(8, 0, SEEK_CUR) = 0fstat(8, {st_mode=S_IFREG|0644, st_size=1117, ...}) = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f59f57c9000read(8, "root:x:0:\nbin:x:1:\ndaemon:x:2:\nsys:x:3:\nadm:x:4:\ntty:x:5:\ndisk:x:6:\nlp:x:7:\nmem:x:8:\nkmem:x:9:\nwheel:x:10:fit,dmongan,jmorehea,jsriches,moparker,bmcclend,svjsfitnessus,ejmontal,lwelsh\ncdrom:x:11:\nmail:x:12:postfix\nman:x:15:\ndialout:x:18:\nfloppy:x:19:\ngames:x:20:\ntape:x:30:\nvideo:x:39:\nftp:x:50:\nlock:x:54:\naudio:x:63:\nnobody:x:99:\nusers:x:100:\npegasus:x:65:\nstapusr:x:156:\nstapsys:x:157:\nstapdev:x:158:\nutmp:x:22:\nutempter:x:35:\nssh_keys:x:999:\ninput:x:998:\nsystemd-journal:x:190:\nsystemd-network:x:192:\ndbus:x:81:\npolkitd:x:997:\ncgred:x:996:\nlibstoragemgmt:x:995:\nrpc:x:32:\nunbound:x:994:\nabrt:x:173:\nsaslauth:x:76:\nradvd:x:75:\nntp:x:38:\nrpcuser:x:29:\nnfsnobody:x:65534:\ntss:x:59:\nlibvirt:x:993:\nkvm:x:36:qemu\nqemu:x:107:\ncockpit-ws:x:992:\nslocate:x:21:\npostdrop:x:90:\npostfix:x:89:\nchrony:x:991:\nsshd:x:74:\ntcpdump:x:72:\nfit:x:1000:fit\nndc:x:513:\navdefs:x:1001:\nnetdata:x:512:\nprintadmin:x:511:\ngluster:x:510:\ninsights:x:509:\nmeza-ansible:x:1002:\nhaproxy:x:188:\napache:x:48:meza-ansible,alt-meza-ansible\nmailnull:x:47:\nsmmsp:x:51:\nmemcached:x:508:\nmysql:x:27:\nnodeuser:x:1003:\nparsoid:x:1004:\nelasticsearch:x:507:\n", 4096) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117lseek(8, 0, SEEK_CUR) = 1117read(8, "", 4096) = 0close(8) = 0munmap(0x7f59f57c9000, 4096) = 0open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 8fstat(8, {st_mode=S_IFREG|0644, st_size=73251, ...}) = 0mmap(NULL, 73251, PROT_READ, MAP_PRIVATE, 8, 0) = 0x7f59f56fc000close(8) = 0open("/lib64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = 8read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\25\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\211\0\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\36\0\35\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\fw\0\0\0\0\0\0\fw\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\260}\0\0\0\0\0\0\260} \0\0\0\0\0\260} \0\0\0\0\0\260\4\0\0\0\0\0\0\340\6\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\330}\0\0\0\0\0\0\330} \0\0\0\0\0\330} \0\0\0\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0\310\1\0\0\0\0\0\0$\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\374d\0\0\0\0\0\0\374d\0\0\0\0\0\0\374d\0\0\0\0\0\0d\2\0\0\0\0\0\0d\2\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0R\345td\4\0\0\0\260}\0\0\0\0\0\0\260} \0\0\0\0\0\260} \0\0\0\0\0P\2\0\0\0\0\0\0P\2\0\0\0\0\0\0\1\0\0\0\0\0\0\0\4\0\0\0\24\0\0\0\3\0\0\0GNU\0=\375\225n\301\20P:\307\21\330G\263N\215\272p\337\250\"\0\0\0\0\21\0\0\0000\0\0\0\2\0\0\0\7\0\0\0E2\0)\204\2S0\255 *\0\0\302\30 0\0\0\0001\0\0\0003\0\0\0004\0\0\0\0\0\0\0\0\0\0\0005\0\0\0\0\0\0\0006\0\0\0009\0\0\0;\0\0\0=\0\0\0>\0\0\0?\0\0\0@\0\0\0A\0\0\0C\0\0\0\325\251m\233\2~\1\345\303\227\343[\1\f\322\232\357\371G[\33\332q'\214\236\207v\10\200f\\\275\370\246\274\3144\31\230#\6\250I\f;\363\232\211t\27(\2614\327_\207\316Q\313\301\236Q\302\307\302Y\10L\301Ve'\241\344r\365h\367\313\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0/\1\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0s\3\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\266\0\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0003\3\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\233\0\0\0\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\201\2\0\0\22\0\0\0", 832) = 832fstat(8, {st_mode=S_IFREG|0755, st_size=37240, ...}) = 0mmap(NULL, 2131088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x7f59c88a9000mprotect(0x7f59c88b1000, 2093056, PROT_NONE) = 0mmap(0x7f59c8ab0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x7000) = 0x7f59c8ab0000close(8) = 0mprotect(0x7f59c8ab0000, 4096, PROT_READ) = 0munmap(0x7f59f56fc000, 73251) = 0open("/var/lib/sss/mc/initgroups", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/var/lib/sss/mc/initgroups", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)fstat(-1, 0x7ffc33efd3e0) = -1 EBADF (Bad file descriptor)socket(AF_LOCAL, SOCK_STREAM, 0) = 8fcntl(8, F_GETFL) = 0x2 (flags O_RDWR)fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0fcntl(8, F_GETFD) = 0fcntl(8, F_SETFD, FD_CLOEXEC) = 0connect(8, {sa_family=AF_LOCAL, sun_path="/var/lib/sss/pipes/nss"}, 110) = -1 ENOENT (No such file or directory)close(8) = 0open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 8fstat(8, {st_mode=S_IFREG|0644, st_size=73251, ...}) = 0mmap(NULL, 73251, PROT_READ, MAP_PRIVATE, 8, 0) = 0x7f59f56fc000close(8) = 0open("/lib64/libnss_vas4.so.2", O_RDONLY|O_CLOEXEC) = 8read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\325\0\0\0\0\0\0@\0\0\0\0\0\0\0008\305\3\0\0\0\0\0\0\0\0\0@\0008\0\5\0@\0\34\0\31\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0L\255\3\0\0\0\0\0L\255\3\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\0\260\3\0\0\0\0\0\0\260#\0\0\0\0\0\0\260#\0\0\0\0\0\310\23\0\0\0\0\0\0\300\27\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0\250\260\3\0\0\0\0\0\250\260#\0\0\0\0\0\250\260#\0\0\0\0\0\300\1\0\0\0\0\0\0\300\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0l<\3\0\0\0\0\0l<\3\0\0\0\0\0l<\3\0\0\0\0\0\4\22\0\0\0\0\0\0\4\22\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\t\2\0\0\275\2\0\0I\2\0\0\33\0\0\0\251\2\0\0 \2\0\0\27\2\0\0\0\0\0\0S\2\0\0\0\0\0\0\0\0\0\0\221\2\0\0\253\2\0\0;\1\0\0\356\0\0\0\231\1\0\0\257\1\0\0E\2\0\0\0\0\0\0\0\0\0\0,\0\0\0I\0\0\0\0\0\0\0\260\2\0\0\30\0\0\0\34\1\0\0\254\1\0\0\"\1\0\0\0\0\0\0\337\0\0\0\0\0\0\0V\1\0\0P\0\0\0\322\1\0\0\0\0\0\0\271\2\0\0\266\2\0\0S\1\0\0g\2\0\0\27\1\0\0\245\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\325\1\0\0002\2\0\0T\1\0\0\223\2\0\0\0\0\0\0'\0\0\0\342\0\0\0\0\0\0\0\0\0\0\0\350\0\0\0\313\1\0\0\37\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\221\0\0\0\325\0\0\0\215\2\0\0\0\0\0\0R\2\0\0\205\2\0\0\215\0\0\0\0\0\0\0\0\0\0\0B\1\0\0O\1\0\0\237\2\0\0\340\1\0\0]\2\0\0\0\0\0\0\0\0\0\0\221\1\0\0)\2\0\0008\2\0\0a\2\0\0y\1\0\0\0\0\0\0\246\2\0\0\16\0\0\0\326\1\0\0\205\1\0\0\0\0\0\0\234\2\0\0;\2\0\0\232\1\0\0\0\0\0\0\0\0\0\0\254\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\264\2\0\0\0\0\0\0\0\0\0\0\20\1\0\0\226\1\0\0\317\0\0\0\220\1\0\0\236\2\0\0H\0\0\0\336\1\0\0\302\1\0\0\0\0\0\0\6\2\0\0L\2\0\0\346\1\0\0\0\0\0\0\34\2\0\0\10\2\0\0\0\0\0\0\26\0\0\0\0\0\0\0009\2\0\0o\2\0\0\214\2\0\0\267\0\0\0E\1\0\0\244\2\0\0", 832) = 832fstat(8, {st_mode=S_IFREG|0755, st_size=292059, ...}) = 0mmap(NULL, 2344896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x7f59c866c000mprotect(0x7f59c86a7000, 2097152, PROT_NONE) = 0mmap(0x7f59c88a7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x3b000) = 0x7f59c88a7000close(8) = 0munmap(0x7f59f56fc000, 73251) = 0stat("/var/opt/quest/vas/.qas_id_dbg", 0x7ffc33efd320) = -1 ENOENT (No such file or directory)socket(AF_LOCAL, SOCK_STREAM, 0) = 8fcntl(8, F_GETFD) = 0fcntl(8, F_SETFD, FD_CLOEXEC) = 0fcntl(8, F_GETFL) = 0x2 (flags O_RDWR)fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0getsockopt(8, SOL_SOCKET, SO_RCVBUF, [212992], [4]) = 0getsockopt(8, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0setsockopt(8, SOL_SOCKET, SO_RCVBUF, [112640], 4) = 0setsockopt(8, SOL_SOCKET, SO_SNDBUF, [112640], 4) = 0connect(8, {sa_family=AF_LOCAL, sun_path="/var/opt/quest/vas/vasd/.vasd40_ipc_sock"}, 110) = 0fcntl(8, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)fcntl(8, F_SETFL, O_RDWR) = 0umask(0) = 022pipe([9, 10]) = 0poll([{fd=8, events=POLLPRI|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])sendmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"\1", 1}], msg_controllen=24, [{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, [10]}], msg_flags=0}, MSG_NOSIGNAL) = 1poll([{fd=8, events=POLLOUT|POLLWRBAND}], 1, -1) = 1 ([{fd=8, revents=POLLOUT|POLLWRBAND}])write(8, "\3\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0VIPC\1\0\0\0\f\0\0\0", 32) = 32access("/etc/opt/quest/vas/vasipc_timeout", F_OK) = 0open("/etc/opt/quest/vas/vasipc_timeout", O_RDONLY) = 11fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f59f57c9000read(11, "", 4096) = 0close(11) = 0munmap(0x7f59f57c9000, 4096) = 0poll([{fd=8, events=POLLIN|POLLPRI}], 1, 20000) = 1 ([{fd=8, revents=POLLIN}])recvfrom(8, "\3\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 20, MSG_PEEK, NULL, NULL) = 20poll([{fd=8, events=POLLIN|POLLPRI}], 1, 20000) = 1 ([{fd=8, revents=POLLIN}])recvfrom(8, "\3\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0VIPC\3\0\0\0\f\0\0\0", 32, 0, NULL, NULL) = 32close(9) = 0close(10) = 0umask(022) = 0poll([{fd=8, events=POLLOUT|POLLWRBAND}], 1, 10000) = 1 ([{fd=8, revents=POLLOUT|POLLWRBAND}])write(8, "\3\0\0\0\240\0\0\0\231_\1\0\0\0\0\0\0\0\0\0\0\0\0\00004\1\0\231_\1\0\4@\0\0\0\0\0\0\0\0\0\0\210\0\0\0\1\377\0\0\1\0\0\0\320\7\0\0\0\0\0\0\30\0\0\0008\0\0\0p\0\0\0\0\0\0\0\4\377\0\0\1\0\0\0\n\0\0\0UnixUsers\0\0\0\4\377\0\0\1\0\0\0\24\0\0\0(ULoginName=apache)\0\4\377\0\0\1\0\0\0\t\0\0\0MembGIDs\0\0\0\0", 160) = 160poll([{fd=8, events=POLLIN|POLLPRI}], 1, 10000) = 1 ([{fd=8, revents=POLLIN|POLLHUP}])recvfrom(8, "\3\0\0\0\210\0\0\0JB\17\0\0\0\0\0\0\0\0\0", 20, MSG_PEEK, NULL, NULL) = 20poll([{fd=8, events=POLLIN|POLLPRI}], 1, 10000) = 1 ([{fd=8, revents=POLLIN|POLLHUP}])recvfrom(8, "\3\0\0\0\210\0\0\0JB\17\0\0\0\0\0\0\0\0\0\0\0\0\00004\1\0\2\0\0\0p\0\0\0\0\0\0\0\2\377\0\0\2\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0 \0\0\0\0\0\0\0\0\0\0\0`\0\0\0\0\0\0\0\4\377\0\0\1\0\0\0\21\0\0\0Record Not Found\0\0\0\0\4\377\0\0\1\0\0\0\t\0\0\0MembGIDs\0\0\0\0", 136, 0, NULL, NULL) = 136close(8) = 0open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 8fstat(8, {st_mode=S_IFREG|0644, st_size=2502, ...}) = 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f59f57c9000read(8, "# Locale name alias data base.\n# Copyright (C) 1996-2001,2003,2007 Free Software Foundation, Inc.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2, or (at your option)\n# any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, see <http://www.gnu.org/licenses/>.\n\n# The format of this file is the same as for the corresponding file of\n# the X Window System, which normally can be found in\n#\t/usr/lib/X11/locale/locale.alias\n# A single line contains two fields: an alias and a substitution value.\n# All entries are case independent.\n\n# Note: This file is obsolete and is kept around for the time being for\n# backward compatibility. Nobody should rely on the names defined here.\n# Locales should always be specified by their full name.\n\nbokmal\t\tnb_NO.ISO-8859-1\nbokm\345l\t\tnb_NO.ISO-8859-1\ncatalan\t\tca_ES.ISO-8859-1\ncroatian\thr_HR.ISO-8859-2\nczech\t\tcs_CZ.ISO-8859-2\ndanish da_DK.ISO-8859-1\ndansk\t\tda_DK.ISO-8859-1\ndeutsch\t\tde_DE.ISO-8859-1\ndutch\t\tnl_NL.ISO-8859-1\neesti\t\tet_EE.ISO-8859-1\nestonian\tet_EE.ISO-8859-1\nfinnish fi_FI.ISO-8859-1\nfran\347ais\tfr_FR.ISO-8859-1\nfrench\t\tfr_FR.ISO-8859-1\ngalego\t\tgl_ES.ISO-8859-1\ngalician\tgl_ES.ISO-8859-1\ngerman\t\tde_DE.ISO-8859-1\ngreek el_GR.ISO-8859-7\nhebrew he_IL.ISO-8859-8\nhrvatski\thr_HR.ISO-8859-2\nhungarian hu_HU.ISO-8859-2\nicelandic is_IS.ISO-8859-1\nitalian it_IT.ISO-8859-1\njapanese\tja_JP.eucJP\njapanese.euc\tja_JP.eucJP\nja_JP\t\tja_JP.eucJP\nja_JP.ujis\tja_JP.eucJP\njapanese.sjis\tja_JP.SJIS\nkorean\t\tko_KR.eucKR\nkorean.euc \tko_KR.eucKR\nko_KR\t\tko_KR.eucKR\nlithuanian lt_LT.ISO-8859-13\nno_NO\t\tnb_NO.ISO-8859-1\nno_NO.ISO-8859-1 nb_NO.ISO-8859-1\nnorwegian nb_NO.ISO-8859-1\nnynorsk\t\tnn_NO.ISO-8859-1\npolish pl_PL.ISO-8859-2\nportuguese pt_PT.ISO-8859-1\nromanian ro_RO.ISO-8859-2\nrussian ru_RU.ISO-8859-5\nslovak sk_SK.ISO-8859-2\nslovene sl_SI.ISO-8859-2\nslovenian sl_SI.ISO-8859-2\nspanish es_ES.ISO-8859-1\nswedish sv_SE.ISO-8859-1\nthai\t\tth_TH.TIS-620\nturkish tr_TR.ISO-8859-9\n", 4096) = 2502read(8, "", 4096) = 0close(8) = 0munmap(0x7f59f57c9000, 4096) = 0open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)stat("/var/opt/quest/vas/.qas_id_call", 0x7ffc33efd320) = -1 ENOENT (No such file or directory)setgroups(1, [48]) = 0geteuid() = 0setuid(48) = 0write(2, "[Fri Jun 29 10:30:54.209646 2018] [proxy:debug] [pid 4141] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared\n", 129) = 129write(2, "[Fri Jun 29 10:30:54.209721 2018] [proxy:debug] [pid 4141] proxy_util.c(1885): AH00927: initializing worker proxy:reverse local\n", 128) = 128semop(17006595, [{0, -1, SEM_UNDO}], 1) = 0write(2, "[Fri Jun 29 10:30:54.210398 2018] [proxy:debug] [pid 4141] proxy_util.c(1936): AH00931: initialized single connection worker in child 4141 for (*)\n", 147) = 147semop(17006595, [{0, 1, SEM_UNDO}], 1) = 0epoll_create1(EPOLL_CLOEXEC) = 8epoll_ctl(8, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=2203547392, u64=94044807460608}}) = 0accept4(4, 0x7ffc33efd610, 0x7ffc33efd5f0, SOCK_CLOEXEC) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)On Thu, Jun 28, 2018 at 7:37 PM Frank Gingras <thumbs@xxxxxxxxxx> wrote:I'm going to venture that you're using the mod_php DSO here. Please clarify otherwise.If a mod_php extension prevent httpd from starting normally, I would use strace to get the exact error, first:strace -o /tmp/outputfile -s 5000 httpd -X or strace -ff -F -s200 -o /tmp/strace.out -p PIDIt might be time to look into more modern approaches, such as using php-fpm and fcgi with httpd.On Thu, Jun 28, 2018 at 6:42 PM James Montalvo <jamesmontalvo3@xxxxxxxxx> wrote:Hi,This is my first message to this list. I've reviewed your policies, but my apologies if I break rules/conventions. Please don't hesitate to correct me.I've run into an issue where enabling the PHP SQLSRV extension [1] causes httpd to fail to start. I've documented the issue at length here [2]. The PHP SQLSRV extension does NOT impact general PHP use (command line PHP works fine). Only starting httpd will not work. As [2] says, I'm not really getting any significant error messages, so I'm not sure how to proceed. See sections "journalctl -xe output", "/var/log/secure", and "/var/log/httpd/error_log" for relevant log output. Can anyone help me troubleshoot this? Also, this setup works fine on other servers, and I can't think how this one is different.Thanks in advance,James