Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fydexx opened this issue Jan 4, 2015 · 6 comments
Open

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

fydexx opened this issue Jan 4, 2015 · 6 comments

Comments

@fydexx
Copy link

fydexx commented Jan 4, 2015

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

@travislee89
Copy link
Collaborator

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

@fydexx
Copy link
Author

fydexx commented Jan 4, 2015

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

@fydexx
Copy link
Author

fydexx commented Jan 12, 2015

安装过程中,在生成签名后,提示如下信息:
./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
Copy link
Author

fydexx commented Jan 12, 2015

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

@fydexx
Copy link
Author

fydexx commented Jan 12, 2015

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

@1a57danc3
Copy link

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants