0
我收到以下消息時,我嘗試啓動的Apache2:的Apache + WSGI:地址已在使用:make_sock:無法綁定解決
* Restarting web server apache2
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:2080
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
uwsgi被偵聽該端口:
sudo netstat -ltnp | grep ':2080'
tcp 0 0 0.0.0.0:2080 0.0.0.0:* LISTEN 884/uwsgi
此之前,我手動安裝WSGI
sudo apt-get install libapache2-mod-wsgi
,因爲我得到這個消息時,我試圖啓動Apache:
Syntax error on line 25 of /etc/apache2/sites-enabled/graphite:
Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
殺死進程不起作用,因爲它會自動重新啓動。我可以用命令
sudo a2dismod wsgi
但後來我再次獲得「無效的命令‘WSGIDaemonProcess’消息禁用它。
的Apache的error.log中不包含的任何信息。
任何想法,如果你有什麼可以解決這個因爲現在我在一家僵局是一種