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

安装完成之后提示:WARNING!!! ocserv service is NOT Running! ,查看systemctl status -l ocserv.service发现貌似是ocserv-genkey的问题 #21

Open
jewforice opened this issue Sep 30, 2015 · 3 comments

Comments

@jewforice
Copy link

日志如下:

ocserv.service - OpenConnect SSL VPN server
Loaded: loaded (/usr/lib/systemd/system/ocserv.service; enabled)
Active: failed (Result: exit-code) since Wed 2015-09-30 10:15:10 CST; 16s ago
Docs: man:ocserv(8)
Process: 7448 ExecStartPre=/usr/local/sbin/ocserv-genkey (code=exited, status=1/FAILURE)
Main PID: 2766 (code=killed, signal=KILL)

Sep 30 10:15:10 localhost.localdomain ocserv-genkey[7448]: /usr/local/sbin/ocserv-genkey -c [config]
Sep 30 10:15:10 localhost.localdomain ocserv-genkey[7448]: Use /usr/local/sbin/ocserv-genkey --help for more information.
Sep 30 10:15:10 localhost.localdomain systemd[1]: ocserv.service: control process exited, code=exited status=1
Sep 30 10:15:10 localhost.localdomain systemd[1]: Failed to start OpenConnect SSL VPN server.
Sep 30 10:15:10 localhost.localdomain systemd[1]: Unit ocserv.service entered failed state.
[root@localhost ~]#

@1a57danc3
Copy link

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

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

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

@oveshli
Copy link

oveshli commented May 20, 2018

Hi
this is not worked for me

@1a57danc3
Copy link

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