Having migrated websites from a PHP 5.2 server, there are complaints about mcrypt not being available under PHP 5.6. I note that if I downgrade to PHP 5.4 mcrypt is enabled.
I'm aware that there seem to be some opinion out there that mcrypt is abandonware, but at this point that is not my concern. Widely-used web applications out there are using it, rightly or wrongly.
I tried enabling mcrypt for a single domain by adding ...
extension=mcrypt.so
... to the foot of that domain's php.ini file (/home/USER/etc/php5.6/php.ini) and restarting Apache. However, this had no effect.
I tried creating a file named "50-mcrypt.ini" in /etc/opt/rh/rh-php56/php.d with the following contents:
extension=mcrypt.so
Now, while that INI file is included after restarting Apache, there is no "mcrypt" section in the output of phpinfo.
Mcrypt is installed on the server:
Installing package(s) with command /bin/yum -y install php-mcrypt .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.linode.com * extras: mirrors.linode.com * updates: mirrors.linode.com Package php-mcrypt-5.4.16-2.el7.x86_64 already installed and latest version Nothing to do .. install complete.
How do I include mcrypt in the PHP 5.6 configuration?
Thanks.
Craig
Comments
Submitted by andreychek on Fri, 04/01/2016 - 17:23 Comment #1
Howdy -- which repository is it that you're using for PHP 5.6?
I know most repositories aren't providing mcrypt at the moment, but we can look into that deeper for the repository that you're using.
Submitted by craigh on Fri, 04/01/2016 - 17:35 Pro Licensee Comment #2
Hi Eric,
[22:32:29 root@host ~]# more /etc/yum.repos.d/rhscl-rh-php56-epel-7-x86_64.repo
[rhscl-rh-php56-epel-7-x86_64]
name=PHP 5.6 - epel-7-x86_64
baseurl=https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64
enabled=1
gpgcheck=0
[22:33:23 root@host ~]#
Craig
Submitted by andreychek on Fri, 04/01/2016 - 17:48 Comment #3
Okay, doing a little digging, you may want to look into the php56more repository from software collections... it appears to contain the packages you're after:
https://www.softwarecollections.org/en/scls/remi/php56more/
https://www.softwarecollections.org/repos/remi/php56more/epel-7-x86_64/m...
Submitted by craigh on Fri, 04/01/2016 - 18:42 Pro Licensee Comment #4
Hi Eric,
OK, thanks. I'll work on it.
Craig
Submitted by jmunjr on Sat, 09/24/2016 - 12:23 Comment #5
Hi, I have Centos 7.2 with the additional PHP 5.6 added per your instructions.
I get this in my httpd error log:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
I am not sure how to install the repo above? Is the a .repo file? I cannot find one. Than you
Submitted by navarro967 on Sat, 09/24/2016 - 22:27 Comment #6
Hello,
I believe I did it this way:
rpm -Uvh https://www.softwarecollections.org/en/scls/remi/php56more/epel-7-x86_64/download/remi-php56more-epel-7-x86_64.noarch.rpm
yum install yum install -y rh-php56-php-mcrypt
Submitted by mytechnerdca on Thu, 09/29/2016 - 14:15 Comment #7
Hi, I'm not sure if my issue is 100% the same, please feel free to move to it's own thread if needed. My server had been running fine for several weeks and today it was offline. Turned out something was causing extremely high cpu usage. I managed to log into my server via SSH (webmin and wordpress admin would not load), but it was VERY slow. I stopped httpd, and performance was fine, restarted it, and it was slow, but better than previously.
I checked the Apache error log and noticed errors about mcrypt.so missing and fcgid warning and graceful kill failing. I followed the above instructions by navarro967 but it has not resolved my issue. I get the following errors in the Apache error log:
tail -n 100 /var/log/httpd/error_log
[Thu Sep 29 14:33:02.093294 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12907 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:02.093301 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12906 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392736 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12916 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392786 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12917 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392796 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12913 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392805 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12914 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392820 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12912 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:33:10.392828 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12915 graceful kill fail, sending SIGKILL
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Sep 29 14:34:05.793735 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12967 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185705 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12966 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185747 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12975 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185755 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12963 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185763 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12968 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185771 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12965 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185778 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12962 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185794 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12964 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:06.185802 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12976 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:13.004526 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12986 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:17.302426 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12990 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:34:17.302479 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12988 graceful kill fail, sending SIGKILL
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Sep 29 14:35:08.913981 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12995 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:09.077362 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12994 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:12.080668 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13000 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:12.080695 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12998 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:12.080711 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12999 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087020 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13012 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087052 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13009 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087062 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13008 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087070 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13006 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018661 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13019 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018717 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13017 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018727 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13015 graceful kill fail, sending SIGKILL
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Sep 29 14:35:58.611847 2016] [mpm_prefork:notice] [pid 3597] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 29 14:59:47.626007 2016] [suexec:notice] [pid 14363] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 29 14:59:47.761319 2016] [auth_digest:notice] [pid 14363] AH01757: generating secret for digest authentication ...
[Thu Sep 29 14:59:47.762089 2016] [lbmethod_heartbeat:notice] [pid 14363] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 29 14:59:47.792436 2016] [mpm_prefork:notice] [pid 14363] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 SVN/1.7.14 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Thu Sep 29 14:59:47.792466 2016] [core:notice] [pid 14363] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Thu Sep 29 15:00:49.181844 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14426 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:06.553200 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14392 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:06.775792 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14391 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782012 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14427 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782065 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14425 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782076 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14409 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:18.174293 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14428 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[root@weberver ~]# ^C
[root@weberver ~]# tail -n 100 /var/log/httpd/error_log
[Thu Sep 29 14:35:12.080668 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13000 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:12.080695 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12998 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:12.080711 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 12999 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087020 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13012 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087052 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13009 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087062 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13008 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:18.087070 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13006 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018661 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13019 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018717 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13017 graceful kill fail, sending SIGKILL
[Thu Sep 29 14:35:23.018727 2016] [fcgid:warn] [pid 4399] mod_fcgid: process 13015 graceful kill fail, sending SIGKILL
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so' - /opt/rh/rh-php56/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Sep 29 14:35:58.611847 2016] [mpm_prefork:notice] [pid 3597] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 29 14:59:47.626007 2016] [suexec:notice] [pid 14363] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 29 14:59:47.761319 2016] [auth_digest:notice] [pid 14363] AH01757: generating secret for digest authentication ...
[Thu Sep 29 14:59:47.762089 2016] [lbmethod_heartbeat:notice] [pid 14363] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 29 14:59:47.792436 2016] [mpm_prefork:notice] [pid 14363] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 SVN/1.7.14 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal operations
[Thu Sep 29 14:59:47.792466 2016] [core:notice] [pid 14363] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Thu Sep 29 15:00:49.181844 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14426 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:06.553200 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14392 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:06.775792 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14391 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782012 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14427 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782065 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14425 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:12.782076 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14409 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:18.174293 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14428 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Thu Sep 29 15:01:34.186031 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14572 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:38.082668 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14581 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:01:45.784306 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14582 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:11.484783 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14602 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109117 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14601 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109155 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14593 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109165 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14592 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109173 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14590 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109181 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14588 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109208 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14587 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109217 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14429 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109225 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14589 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109233 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14586 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:02:12.109242 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14406 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Thu Sep 29 15:02:20.611310 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14643 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Thu Sep 29 15:02:24.578744 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14656 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.264630 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14678 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654424 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14680 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654449 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14677 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654458 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14679 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654465 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14675 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654473 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14671 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654481 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14674 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654489 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14676 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654497 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14673 graceful kill fail, sending SIGKILL
[Thu Sep 29 15:03:03.654516 2016] [fcgid:warn] [pid 14364] mod_fcgid: process 14672 graceful kill fail, sending SIGKILL
how do I reverse the changes I made when I installed mcrypt? how do I resolve this issue and get my site running again?
Submitted by andreychek on Thu, 09/29/2016 - 14:39 Comment #8
mytechnerdca, my best guess is that you're seeing a DoS of some kind. Or maybe just an overzealous spidering of your site.
It could also be a misbehaving WordPress module.
I believe it's unlikely to be related to mcrypt though. You may want to run "uptime", "top", and "ps auxw" to get an idea of what's going on there. The command "mailq | tail -1" would show if there's a lot of email in your mail queue (which can cause load problems).
If you continue to have problems there -- you can certainly get help, though since it looks like you're using Virtualmin GPL, you'd want to ask your question in the Forums. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!