出现如下错误
[mpm_event:notice] AH00493: SIGUSR1 received. Doing graceful restart
[ssl:warn] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[lbmethod_heartbeat:notice] AH02282: No slotmem from mod_heartmonitor
[mpm_event:notice] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1b configured -- resuming normal operations
[core:notice]AH00094: Command line: '/www/server/apache/bin/httpd'
解决方法
-
找到并打开文件
httpd.conf
find / -name httpd.conf
-
找到下面这句话,并删除前面的注释符,如果没有找到,那么添加这一行:
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
-
找到并打开
/www/server/apache/conf/extra/httpd-ssl.conf
在文中寻找是否有这一行,如果没有就添加
SSLSessionCache "shmcb:/www/server/apach/logs/ssl_scache(512000)"
-
保存文件并重启
apach
:
systemctl restart httpd