Linux Web Service restart-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Yesterday, we found that 155 servers had crashed. On-site inspection: There are already two fault warning lights on the six hard disks. Fortunately, it is a logical fault that has been ruled out today.
After the server is restarted, the webpage service is abnormal. This is an old problem. Every time you restart the server, you need to disable httpd-k stop and then enable httpd-k start. The Web Service will work normally.
But today, I am sending an httpd command to the server, so I have no response! -Bash: httpd: command not found. This command has been used for a long time and has been used for many times!
After many twists and turns, we found that the problem lies in su. If su is converted to root, the operating environment inherits the environment of common users, and many commands are unavailable. Only by su-to root can the root work environment be fully obtained.
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.