Ocserv-install-script-for-CentOS-RHEL-7 icon indicating copy to clipboard operation
Ocserv-install-script-for-CentOS-RHEL-7 copied to clipboard

脚本跑完后,提示ocservr not running.

Open fydexx opened this issue 10 years ago • 6 comments

后用ocpasswd手动生成用户名和密码,再重新跑脚本就可以了。

fydexx avatar Jan 04 '15 00:01 fydexx

脚本跑完有没有执行 systemctl status -l ocserv.service 查看错误原因?

travislee89 avatar Jan 04 '15 05:01 travislee89

晚上回去,我再新建下,再测试。。。

fydexx avatar Jan 04 '15 09:01 fydexx

安装过程中,在生成签名后,提示如下信息: ./Ocserv-install-script-for-CentOS-RHEL-7.sh: line 195: ocpasswd:command not found.

安装完成后, Firewall is Fine!

Chenking ocserv service status... WARNING!!! ocserv service is NOT Running!

if there are NO WARNING above, then you can connect to
your ocserv VPN Server with the default user/password below:

fydexx avatar Jan 12 '15 00:01 fydexx

[root@open-ocserv ocserv]# find / -name 'ocpasswd' /usr/local/bin/ocpasswd

fydexx avatar Jan 12 '15 00:01 fydexx

我的解决方法是: 先手动安装ocserv,然后再跑一次脚本就可以了。

fydexx avatar Jan 12 '15 01:01 fydexx

nano /etc/ocserv/ocserv.conf isolate-workers = false

vps重啟之後啟動腳本重新設置即可

這個應該是升級 Ocserv 10.3 之後的鍋 2333

1a57danc3 avatar Jul 20 '16 17:07 1a57danc3