Problem:
All the URLs of the web site of the monitoring SMS are suddenly inaccessible.
First try to access several URL tests and test several of them. There is a problem in judging the program behind the scenes.
1. Check that the port is working:netstat -tunlp | grep 80
2. Check if the service is working:ps -ef | grep httpd
The ports and services are not running.
Try to run the service:/wdlinux/httpd/bin/apachectl start
Start error
[Email protected] lib64]#/wdlinux/httpd/bin/apachectl start
Httpd:syntax error on line of/wdlinux/httpd/conf/httpd.conf:cannot load modules/libphp5.so into Server:libmcrypt.s O.4:cannot open Shared object file:no such file or directory
View Libphp5.so Normal
[Email protected] modules]#ls -lh libphp5.so
-rwxr-xr-x 1 root root 42M Nov 10:23 libphp5.so
View Libmcrypt.so.4 Bright red error
[Email protected] modules]#ls -lh libmcrypt.so.4
lrwxrwxrwx 1 root root 5 19:16 libmcrypt.so.4-/usr/lib64//usr/lib64/libmcrypt.so.4
Switch directory:/usr/lib64
View libmcrpt found file does not exist
[[Email protected] lib64]# ' LS-LH libmcrypt'
lrwxrwxrwx 1 root root 09:50 libmcrypt.so-libmcrypt.so.4.4.8
RPM Query file already installed
[Email protected] init.d]#rpm -qa libmcrypt*
Libmcrypt-devel-2.5.8-13.el7.x86_64
Libmcrypt-2.5.8-13.el7.x86_64
Make sure that the package is corrupted
Re-install Yum
[Email protected] ~]#yum reinstall libmcrypt -y
Launch Apache
/wdlinux/httpd/bin/apachectl start
Starting httpd: [OK]
Site cannot access the recovery process record