最新消息:VPS服务器又从fzhost.net换回Linode了,主题仍用朋友推荐的大前端D8

【已解决】shadowsocks-libev.service: main process exited, code=exited, status=1/FAILURE

科学上网 crifan 49浏览 0评论
折腾:
【已解决】Linode的CentOS 7中搭建shadowsocks

期间,为了实现多账户,多用户,参数为:

[root@crifan ~]# cat /etc/shadowsocks-libev/config.json
{
        "server": "0.0.0.0",
        "port_password": {
                "3050" : "rGr0fe9ajjQsqXf",
                "3051" : "1lNxmxCCrpbba0tz",
                "3052" : "lZjvTaXV4ir3eD44",
                "3053" : "jPTez17nLdzg4a",
                "3054" : "baiPPQrbqf2Wmb8",
                "3055" : "9y9OQ1kio0DlkwI"
        },
        "method": "aes-256-cfb",
        "timeout": 300,
        "mode": "tcp_and_udp"
}

结果错误信息变了:

[root@crifan ~]# systemctl restart shadowsocks-libev
[root@crifan ~]# systemctl enable shadowsocks-libev
[root@crifan ~]# systemctl status shadowsocks-libev
[0m shadowsocks-libev.service - Shadowsocks-libev Default Server Service
   Loaded: loaded (/usr/lib/systemd/system/shadowsocks-libev.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-10-25 17:44:10 CST; 10s ago
     Docs: man:shadowsocks-libev(8)
Main PID: 29528 (code=exited, status=1/FAILURE)

Oct 25 17:44:10 crifan.com ss-server[29528]: [--mtu <MTU>]              MTU of your network interface.
Oct 25 17:44:10 crifan.com ss-server[29528]: [--mptcp]                  Enable Multipath TCP on MPTCP Kernel.
Oct 25 17:44:10 crifan.com ss-server[29528]: [--key <key_in_base64>]    Key of your remote server.
Oct 25 17:44:10 crifan.com ss-server[29528]: [--plugin <name>]          Enable SIP003 plugin. (Experimental)
Oct 25 17:44:10 crifan.com ss-server[29528]: [--plugin-opts <options>]  Set SIP003 plugin options. (Experimental)
Oct 25 17:44:10 crifan.com ss-server[29528]: [-v]                       Verbose mode.
Oct 25 17:44:10 crifan.com ss-server[29528]: [-h, --help]               Print this message.
Oct 25 17:44:10 crifan.com systemd[1]: shadowsocks-libev.service: main process exited, code=exited, status=1/FAILURE
Oct 25 17:44:10 crifan.com systemd[1]: Unit shadowsocks-libev.service entered failed state.
Oct 25 17:44:10 crifan.com systemd[1]: shadowsocks-libev.service failed.

shadowsocks-libev.service: main process exited, code=exited, status=1/FAILURE
debian 8.2 x64 配置多用户后无法启动服务端 · Issue #543 · shadowsocks/shadowsocks-libev
debian 8.2 x64 配置多用户后无法启动服务端 · Issue #543 · shadowsocks/shadowsocks-libev
好像是:shadowsocks-libev
就根本不支持这个port_password的写法。。。
没有这个功能。
service cannot start with a config file · Issue #1228 · shadowsocks/shadowsocks-libev
“Doc (man page) said you can’t do it. Please use multiple config files instead.”
让用多个配置文件
ss-manager支持port_password
ss-server不支持port_password
让用:
ss-manager -c config.json –manager-address 127.0.0.1:9090
试试。
shadowsocks/shadowsocks-libev: libev port of shadowsocks
还是看不懂。
【总结】
shadowsocks-libev不支持port_password
ss-manager才支持port_password -》 但是貌似用起来也不方便,至少没有方便的设置开机启动。

转载请注明:在路上 » 【已解决】shadowsocks-libev.service: main process exited, code=exited, status=1/FAILURE

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
19 queries in 0.158 seconds, using 9.64MB memory