Jump to content

linux terminal error message which I do not understand (shadowsocks setup failed)

mrchow19910319

I am following this guide to set up a shadowsocks server to bypass the GFW.

 

https://www.oilandfish.com/posts/shadowsocks-libev.html

 

Steps that I've done:

 

  1. install snap core
  2. install shadowsocks-libev using snap
  3. edited this file: ` vi /var/snap/shadowsocks-libev/common/etc/shadowsocks-libev/config.json`
    1. { 
      "server": (Question: is this the server address of my ss account? Or is it 0.0.0.0? )
      "server_port":(server port that my ss account comes with)
      "local_port":1080 (I think my ss account is using 1080 localport), 
      "mode":"tcp_and_udp"(I'm not sure so I just put both LOL),
      "password":"some password"(again,this is provided by the VPN provider),
      "timeout":300 (300 milliseconds?),
      "method":"chacha20-ietf-poly1305" (provided)
      }
  4. then I tried to use this command to start the service:  `systemctl start snap.shadowsocks-libev.ss-server-daemon`
    1. but I got this error : Failed to start snap.shadowsocks-libev.ss-server-daemon.service: Unit snap.shadowsocks-libev.ss-server-daemon.service not found.

 

so, what should I do now? Also Under /etc/systemd/system there is a file that's called: snap-shadowsocks\x2dlibev-508.mount

and inside that file it contains these commands:

 

[Unit]
Description=Mount unit for shadowsocks-libev, revision 508
Before=snapd.service
After=zfs-mount.service

[Mount]
What=/var/lib/snapd/snaps/shadowsocks-libev_508.snap
Where=/snap/shadowsocks-libev/508
Type=squashfs
Options=nodev,ro,x-gdu.hide,x-gvfs-hide
LazyUnmount=yes

[Install]
WantedBy=default.target multi-user.target

 

does it have anything to do with my settings? Do I have to change it or ???

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

i'm gonna look past all that is software specific because i dont know what the sotfware is or what it does..

 

but your error message when starting the service, is because the service doesnt exist.

'doesnt exist' here means the service file isnt where it needs to be, it has a typo in the name, or you made a typo in the command.

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, manikyath said:

i'm gonna look past all that is software specific because i dont know what the sotfware is or what it does..

 

but your error message when starting the service, is because the service doesnt exist.

'doesnt exist' here means the service file isnt where it needs to be, it has a typo in the name, or you made a typo in the command.

I'll try to look into it when I have time. Thanks for the info .

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×