- AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Administrator
解决办法:使用管理员身份打开cmd(命令行窗口)
2.AH00526: Syntax error on line 161 of D:/cluster/Apache24/conf/extra/httpd-ahssl.conf:SSLCertificateFile: file ‘D:/cluster/Apache24/conf/ssl/serverone.crt’ does not exist or is empty
解决办法:
1.打开Apache解压后文件夹,打开conf/httpd.conf文件 配置Define SRVROOT “Apache解压路径,即conf文件夹所在路径” 如:Define SRVROOT “D:\cluster\Apache24”;
2.如果第一个方法还不行,那么就打开Apache24\conf\ssl文件夹 ,在里面依次创建错误信息提示的文件,例如serverone.crt文件。(亲测有效,我一直提示serverone.crt,serverone.key,servertwo.crt,servertwo.key文件,所以我尝试着将里面已经存在的server.crt,server.key文件给复制了两份,然后更改了命名就成功了)
3.(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address [::]:443 (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address 0.0.0.0:443 AH00451: no listening sockets available, shutting down AH00015: Unable to open logs
解决办法:这是个端口占用的问题,主要通过查看占用端口进程,关闭该进程即可。(提醒:如果你的电脑安装了虚拟机那么一般就是虚拟机服务占用了该端口,找到虚拟机服务关闭即可)详见:https://blog.csdn.net/qq_43665602/article/details/104996759