Home > OS >  Issue of ss5 centos7 erection
Issue of ss5 centos7 erection

Time:10-15

I am using centos7.3, according to the baidu to a few posts set up ss5, start the service can be seen after 1080 port is enabled, but the connection is not on, firewall close connection, also after the reboot, in open ss5 service, even the port 1080 can't see! Excuse me, how to troubleshoot, usually in what is going wrong, the pure system

CodePudding user response:

View the ss5 log files, generally able to find out why, baidu basic solved a wave again,

CodePudding user response:

I found the problem, because ss5 pid file, the default path is located in the/var/run/ss5 ss5, pid, but some VPS after restart this directory disappeared for no reason, every time to restart the system requires to be rebuilt this directory:/var/run/ss5,

The solution is: change the pid path,
Modified method: in the file/etc/sysconfig/ss5 modify parameters, pid specified path, file content after the modification of configuration is as follows:
# Add startup option here
# SS5_OPTS="-u root"
SS5_OPTS="-p/var/run/ss5 pid"
  • Related