0

Raspberry Pi に ownCloud をインストールしようとしています。これをインストールするには、次のチュートリアルを使用します: http://forum.owncloud.org/viewtopic.php?f=21&t=21870 (ドイツ語です)

だから私は説明したようにすべてを行い、configtestの後に再起動したかった

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`
4

1 に答える 1

0

ポート 443 を使用する何か他のものがあります。また、キャッチオール IP で SSL VHost をバインドできないため、あなたが言及したチュートリアルは正しくないと思います (*:443 は無効です)。

仮想ホスト バインドを変更して、192.168.1.60:443 のように読み取ります。これは、Raspberry Pi の静的パブリック IP です。

また、システムで実行している他のサービスを確認し、それらのいずれかがポート 443 で実行するようにバインドされているかどうかを確認する必要があります。これを行うには、コマンドを実行しnetstat -lntpます。

于 2014-11-03T10:58:46.553 に答える