Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache2重新启动失败_Apache_Restart_Owncloud - Fatal编程技术网

Apache2重新启动失败

Apache2重新启动失败,apache,restart,owncloud,Apache,Restart,Owncloud,我正在尝试在我的Raspberry Pi上安装ownCloud。要安装它,我使用本教程:(德语) 所以我做了所有我想重新启动的配置测试之后所描述的事情 apache2ctl重启 我明白了: httpd未运行,正在尝试启动 (98)已在使用的地址:make_sock:无法绑定到地址0.0.0.0:443 没有可用的侦听套接字,正在关闭 无法打开日志 操作“重新启动”失败。 Apache错误日志可能包含更多信息。 我在错误日志中找到了此信息,但我不明白问题是什么: [Mon Nov 03 09:17

我正在尝试在我的Raspberry Pi上安装ownCloud。要安装它,我使用本教程:(德语)

所以我做了所有我想重新启动的配置测试之后所描述的事情

apache2ctl重启

我明白了:

httpd未运行,正在尝试启动
(98)已在使用的地址:make_sock:无法绑定到地址0.0.0.0:443
没有可用的侦听套接字,正在关闭
无法打开日志
操作“重新启动”失败。
Apache错误日志可能包含更多信息。

我在错误日志中找到了此信息,但我不明白问题是什么:

[Mon Nov 03 09:17:46 2014] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations [Mon Nov 03 09:17:59 2014] [notice] caught SIGTERM, shutting down 
[Mon Nov 03 09:18:01 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u14 configured -- resuming normal operations 
[Mon Nov 03 09:18:46 2014] [notice] Graceful restart requested, doing restart apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName 
[Mon Nov 03 09:18:50 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u14 configured -- resuming normal operations 
[Mon Nov 03 09:24:37 2014] [notice] caught SIGTERM, shutting down [Mon Nov 03 09:24:39 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u14 configured -- resuming normal operations [Mon Nov 03 09:32:51 2014] [notice] Graceful restart requested, doing restart 
[Mon Nov 03 09:32:53 2014] [notice] Apache/2.2.22 (Debian) HP/5.4.4-14+deb7u14 configured -- resuming normal operations
[Mon Nov 03 09:36:33 2014] [notice] Graceful restart requested, doing restart 
[Mon Nov 03 09:36:35 2014] [notice] Apache/2.2.22 (Debian) HP/5.4.4-14+deb7u14 configured -- resuming normal operations [Mon Nov 03 10:21:15 2014] [notice] SIGHUP received.  Attempting to restart (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, shutting down Unable to open logs`

您还可以使用端口443执行其他操作。此外,我相信您提到的教程是不正确的,因为您无法在catchall IP上绑定SSL VHost(*:443无效)

将vhost绑定更改为192.168.1.60:443,其中这是Raspberry Pi的静态公共IP

此外,您应该检查系统上正在运行的其他服务,并查看是否有任何服务绑定在端口443上运行。您可以通过运行命令
netstat-lntp
来实现这一点