我正在尝试在我的Raspberry Pi上安装ownCloud。要安装它,我使用本教程:http://forum.owncloud.org/viewtopic.php?f=21&t=21870(用德语)
所以我做了所描述的所有内容,在配置测试之后,我想用
重新启动 apache2ctl restart
我明白了:
httpd not running, trying to start
(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
Action 'restart' failed.
The Apache error log may have more information.
我在错误日志中找到了这些信息,但我不明白问题所在:
[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`
答案 0 :(得分:0)
你还有其他东西使用443端口。此外,我相信你提到的教程是不正确的,因为你无法在一个主要的IP上绑定SSL VHost(*:443无效)。
更改vhost绑定以读取类似于192.168.1.60:443的内容,其中这是您的Raspberry Pi的静态公共IP。
此外,您应该检查您在系统上运行的其他服务,并查看是否有任何服务在端口443上运行。您可以通过运行命令netstat -lntp
来执行此操作。