Site cannot access the recovery process record

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.