Open zazaluMonster opened 4 years ago
为什么会报下面的错,跟着步骤来的: Job for shadowsocks.service failed because the control process exited with error code. See "systemctl status shadowsocks.service" and "journalctl -xe" for details.
shadowsocks.service - Shadowsocks Client Service Loaded: loaded (/etc/systemd/system/shadowsocks.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2019-10-02 16:36:30 CEST; 22s ago Process: 16343 ExecStart=/usr/local/bin/sslocal -c /etc/shadowsocks.json -d start (code=exited, status=2)
Oct 02 16:36:30 wemii sslocal[16343]: --pid-file=PID_FILE pid file for daemon mode Oct 02 16:36:30 wemii sslocal[16343]: --log-file=LOG_FILE log file for daemon mode Oct 02 16:36:30 wemii sslocal[16343]: --user=USER username to run as Oct 02 16:36:30 wemii sslocal[16343]: -v, -vv verbose mode Oct 02 16:36:30 wemii sslocal[16343]: -q, -qq quiet mode, only show warnings/errors Oct 02 16:36:30 wemii sslocal[16343]: --version show version information Oct 02 16:36:30 wemii sslocal[16343]: Online help: https://github.com/shadowsocks/shadowsocks Oct 02 16:36:30 wemii systemd[1]: shadowsocks.service: Control process exited, code=exited status=2 Oct 02 16:36:30 wemii systemd[1]: shadowsocks.service: Failed with result 'exit-code'. Oct 02 16:36:30 wemii systemd[1]: Failed to start Shadowsocks Client Service.
@SZooo shadowsocks.service - Shadowsocks Client Service Loaded: loaded (/etc/systemd/system/shadowsocks.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2019-10-02 16:36:30 CEST; 22s ago Process: 16343 ExecStart=/usr/local/bin/sslocal -c /etc/shadowsocks.json -d start (code=exited, status=2)
Oct 02 16:36:30 wemii sslocal[16343]: --pid-file=PID_FILE pid file for daemon mode Oct 02 16:36:30 wemii sslocal[16343]: --log-file=LOG_FILE log file for daemon mode Oct 02 16:36:30 wemii sslocal[16343]: --user=USER username to run as Oct 02 16:36:30 wemii sslocal[16343]: -v, -vv verbose mode Oct 02 16:36:30 wemii sslocal[16343]: -q, -qq quiet mode, only show warnings/errors Oct 02 16:36:30 wemii sslocal[16343]: --version show version information Oct 02 16:36:30 wemii sslocal[16343]: Online help: https://github.com/shadowsocks/shadowsocks Oct 02 16:36:30 wemii systemd[1]: shadowsocks.service: Control process exited, code=exited status=2 Oct 02 16:36:30 wemii systemd[1]: shadowsocks.service: Failed with result 'exit-code'. Oct 02 16:36:30 wemii systemd[1]: Failed to start Shadowsocks Client Service.
journalctl -xe
一下, 把最新一次失败日志放出来
你这个只是配置客户端的吗?
@SZooo 你这个只是配置客户端的吗?
对啊,你看标题。 服务端不写
那我几天前搞错了,服务端现在搭好了,但是还有个问题请教你:我连上服务端几分钟后就不能连接了,再去看shadowsocks服务端提示 Connection reset by peer
@SZooo 为什么会报下面的错,跟着步骤来的: Job for shadowsocks.service failed because the control process exited with error code. See "systemctl status shadowsocks.service" and "journalctl -xe" for details.
乍一看,我觉得跟网络,防火墙有关, 仔细研究下详细日志.
由于这些东西时间久了, 我觉得我忘了差不多了(害羞害羞), 没法给你提供你想要的回答, 很抱歉.
不过我可以分享你我解决问题的方式, 你可以尝试在搜索引擎搜索Connection reset by peer site:github.com
, 我觉得应该会有很多可以参考的答案
@zazaluMonster
@SZooo 为什么会报下面的错,跟着步骤来的: Job for shadowsocks.service failed because the control process exited with error code. See "systemctl status shadowsocks.service" and "journalctl -xe" for details.
乍一看,我觉得跟网络,防火墙有关, 仔细研究下详细日志. 由于这些东西时间久了, 我觉得我忘了差不多了(害羞害羞), 没法给你提供你想要的回答, 很抱歉. 不过我可以分享你我解决问题的方式, 你可以尝试在搜索引擎搜索
Connection reset by peer site:github.com
, 我觉得应该会有很多可以参考的答案
ok,多谢
https://zazalu.space/2019/06/06/ubuntu18-04%E9%85%8D%E7%BD%AEshadowsocks%E5%AE%A2%E6%88%B7%E7%AB%AF/
一个普通人的博客,有时候写点IT,有时候写点生活