1、关停显示(./apachectl -k stop)
- [Wed Jul 08 09:52:12.956469 2020] [core:error] [pid 25711:tid 140660888585984] (EAI 2)Name or service not known: AH00549: Failed to resolve server name for 10.3.14.123 (check DNS) – or specify an explicit ServerName
2、开启显示(./apachectl -k start)
- [Wed Jul 08 09:53:53.874360 2020] [core:error] [pid 25786:tid 140476722190080] (EAI 2)Name or service not known: AH00549: Failed to resolve server name for 10.3.14.123 (check DNS) – or specify an explicit ServerName
/opt/aspire/product/mmuc2/apache2.4.28/bin/rotatelogs: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
操作截图
Apache 中的rotatelogs
★ rotatelogs 这个是Apache 2.2 版本后才有的功能。
★ 这个是用于日志割接的功能,没有这个功能,Apache是不可以进行日志割接的