Windows Server 2012 R2服务器,装了护卫神主机大师,Apache配置https后启动不了
回 1楼dongshan8的帖子
你好,之前,我又换了一个Phpstudy环境试试,在httpd文件引入Include conf/vhostssl.conf,
Listen 443
SSLStrictSNIVHostCheck off
SSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULL
SSLProtocol all -SSLv2 -SSLv3
DocumentRoot 'C:\phpStudy20161103\WWW\solo'
ServerName solo.uesto.com
ServerAlias solo.uesto.com
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
SSLEngine on
SSLCertificateFile 'C:\phpStudy20161103\Apache\conf\ssl\yun\public.pem'
SSLCertificateKeyFile 'C:\phpStudy20161103\Apache\conf\ssl\yun\phpStudy20161103.key'
-------------------------
回 1楼dongshan8的帖子
然后只要是引入了#Include conf/extra/httpd-ssl.conf
Include conf/vhostssl.conf这两个,apache就不能启动了,注释掉才可以启动。
-------------------------
回 1楼dongshan8的帖子
现在的环境是windows service 2012 R2 +phpstudy2016 +php5.6 +apache ,证书用的是阿里云免费的那个证书,不知啥原因,配置了就是启动不了。0-0
-------------------------
回 5楼dongshan8的帖子
error.log
[Mon Sep 04 23:04:15.711483 2017] [mpm_winnt:crit] [pid 1352:tid 500] AH02538: Child: Parent process exited abruptly. Child process is ending
Starting the 'Apache2a' service
The 'Apache2a' service is running.
core:warn] [pid 1140:tid 600] AH00098: pid file C:/phpStudy20161103/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Sep 05 09:52:55.008411 2017] [mpm_winnt:notice] [pid 1140:tid 600] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 configured -- resuming normal operations
[Tue Sep 05 09:52:55.008411 2017] [mpm_winnt:notice] [pid 1140:tid 600] AH00456: Server built: Jul 1 2016 16:42:20
[Tue Sep 05 09:52:55.008411 2017] [core:notice] [pid 1140:tid 600] AH00094: Command line: 'C:\\phpStudy20161103\\Apache\\bin\\httpd.exe -d C:/phpStudy20161103/Apache'
[Tue Sep 05 09:52:55.023977 2017] [mpm_winnt:notice] [pid 1140:tid 600] AH00418: Parent: Created child process 2988
[Tue Sep 05 09:52:55.586540 2017] [mpm_winnt:notice] [pid 2988:tid 500] AH00354: Child: Starting 150 worker threads.
[Tue Sep 05 09:57:39.274000 2017] [mpm_winnt:crit] [pid 2988:tid 500] AH02538: Child: Parent process exited abruptly. Child process is ending
-------------------------
回 5楼dongshan8的帖子
我进去Apache的bin 然后运行httpd.exe 结果
通常每个套接字地址只允许使用一次。:AH00072:make_sock:could not bind to address [ : : ] : 443
通常每个套接字地址只允许使用一次。: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
-------------------------
回 5楼dongshan8的帖子
这样的话我要把443端口改成442才行?但是这样我不是每次访问都要带442端口才可以进行访问?
-------------------------
ReWindows Server 2012 R2服务器,装了护卫神主机大师,Apache配置https后启动不
怎么样才可是配置了https,正常访问域名不带端口号访问
-------------------------
ReWindows Server 2012 R2服务器,装了护卫神主机大师,Apache配置https后启动不
查看了443被httpd.exe 1392 RDP-Tcp#7占用了,然后就不知道怎么整了
-------------------------
回 12楼dongshan8的帖子
我在cmd那里查看了,发现就httpd.exe这个,但是我去终止这个服务的话,我phpstudy会停止了apache
-------------------------
回 12楼dongshan8的帖子
发不了图片,不然上截图了,我在任务管理器那里,看了,有两个httpd.exe服务。但是都是属于phpstudy里面的apache的
-------------------------
回 12楼dongshan8的帖子
然后我试过关闭其中的一个,但是只要我的httpd-ssl.conf442端口改成443就不能启动了,
-------------------------
回 12楼dongshan8的帖子
我直接netstat -aon|findstr '443'
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 128
TCP [::]:443 [::]:0 LISTENING 128
然后tasklist|findstr '128'
phpstudy.exe 2128 RDP-Tcp#7 2
httpd.exe 128 RDP-Tcp#7 2
结果就这里了
-------------------------
ReWindows Server 2012 R2服务器,装了护卫神主机大师,Apache配置https后启动不
解决了。是多个文件重复监听了
赞0
踩0