In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.229.152 for ServerName
(2) No such file or directory: httpd: could not open error log file / etc/httpd/logs/error_log.
Unable to open logs
Solution to the first problem:
Vi / etc/httpd/conf/httpd.conf add a sentence ServerName localhost:80
First, enter the directory:
Cd / etc/httpd
Looking at the directory file through ls, you can see that the logs directory is flashing all the time, indicating that there is something wrong with this (depending on my situation, there may be other situations, we'll talk about it later)
Through the ls-l view permissions, you can see the link corresponding to the logs directory:
Logs->.. /.. / var/log/httpd
Then enter: cd / var/log through the command
After entering, you find that the httpd directory does not exist, so create the httpd directory and create the errir_log file under its directory.
After the creation is complete, remember to execute the following command: chown root:monkey / var/log, and transfer its owner to root
Chown root:monkey / var/log
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.