Shadowsocks-libev: unable to start ss-libev by using ss-server

Created on 21 Apr 2019  ·  6Comments  ·  Source: shadowsocks/shadowsocks-libev

the server can be launched as a service
but when i tried to start it by ss-server
it returns eror

What version of shadowsocks-libev are you using?

ss-libev 3.2.5

What operating system are you using?

ubuntu 14.04

What did you do?

trying to start server service in
ss-server -c /path to config -d start -v

What did you expect to see?

What did you see instead?

2019-04-21 08:59:15 ERROR: failed to set nameservers

What is your config in detail (with all sensitive info masked)?

{
"server":"0.0.0.0",
"server_port":9921,
"loacl_addrees":"127.0.0.1",
"local_port":1080,
"password":"meizifdc",
"timeout":10,
"method":"aes-128-cfb",

"fast_open":false,
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp"

}

Most helpful comment

Remove -d start from your command line.

All 6 comments

Remove 'local_address'.

well, the problem remains after i delete that line

Remove -d start from your command line.

THX. it works

Remove -d start from your command line.

Thanks, it works

Worked for me as well... to encourage detachment and logging use nohup and send to background with '&'.
`nohup ss-server -c /etc/shadowsocks-libev/config.json &'

Was this page helpful?
0 / 5 - 0 ratings