1
tyhunter 2015-07-21 23:30:30 +08:00
不清楚,我的SS端口是12345,好记
|
2
XiaoxiaoPu 2015-07-21 23:34:52 +08:00
一个端口只能被一个程序绑定,ss 占用了 nginx 自然用不了了
|
3
maemual 2015-07-21 23:35:01 +08:00
既然你不准备看看错误信息,那我只能估计是443端口被占用了。
|
4
defia 2015-07-21 23:37:17 +08:00
两程序,监听的都是同一个tcp端口,那后面的肯定起不来啊。。。
|
5
49 2015-07-21 23:49:00 +08:00 via Android
不会,我就是把SSL,ss,ssh放在一个端口的。
关键词 端口复用 |
6
matrix32767 OP 貌似并不是端口问题...
|
7
matrix32767 OP ss 换端口之后仍有这样的问题...
$systemctl status nginx.service * nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled) Active: failed (Result: exit-code) since Tue 2015-07-21 11:45:00 EDT; 9s ago Process: 671 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS) Process: 538 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 679 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) Main PID: 541 (code=exited, status=0/SUCCESS) Jul 21 11:45:00 Trinity nginx[679]: nginx: [emerg] "listen" directive is no...24 Jul 21 11:45:00 Trinity nginx[679]: nginx: configuration file /etc/nginx/ng...ed Jul 21 11:45:00 Trinity systemd[1]: nginx.service: control process exited, ...=1 Jul 21 11:45:00 Trinity systemd[1]: Failed to start A high performance web ...r. Jul 21 11:45:00 Trinity systemd[1]: Unit nginx.service entered failed state. Hint: Some lines were ellipsized, use -l to show in full. |
9
kn007 2015-07-21 23:52:32 +08:00
提示你的配置有错啊,日志那么清楚了。
@matrix32767 |
10
matrix32767 OP - Logs begin at Tue 2015-07-21 11:41:13 EDT, end at Tue 2015-07-21 11:52:25 EDT
Jul 21 11:45:00 Trinity systemd[1]: nginx.service: control process exited, code= Jul 21 11:45:00 Trinity systemd[1]: Failed to start A high performance web serve -- Subject: Unit nginx.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit nginx.service has failed. -- -- The result is failed. Jul 21 11:45:00 Trinity systemd[1]: Unit nginx.service entered failed state. Jul 21 11:50:08 Trinity sshd[715]: Connection closed by 106.243.125.195 [preauth Jul 21 11:52:17 Trinity nginx[725]: nginx: [emerg] "listen" directive is not all Jul 21 11:52:17 Trinity nginx[725]: nginx: configuration file /etc/nginx/nginx.c Jul 21 11:52:17 Trinity systemd[1]: nginx.service: control process exited, code= Jul 21 11:52:17 Trinity systemd[1]: Failed to start A high performance web serve -- Subject: Unit nginx.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit nginx.service has failed. -- -- The result is failed. Jul 21 11:52:17 Trinity systemd[1]: Unit nginx.service entered failed state. |
11
kn007 2015-07-21 23:55:21 +08:00
|
12
matrix32767 OP @kn007
多谢提醒,改好了~ |
13
kn007 2015-07-22 00:08:46 +08:00
@matrix32767 不客气
|