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! #35

Open
0769559 opened this issue Sep 22, 2016 · 0 comments
Open

WARNING!!! ocserv service is NOT Running! #35

0769559 opened this issue Sep 22, 2016 · 0 comments

Comments

@0769559
Copy link

0769559 commented Sep 22, 2016

[root@ivpser ~]# systemctl status -l ocserv.service
● ocserv.service - OpenConnect SSL VPN server
Loaded: loaded (/usr/lib/systemd/system/ocserv.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 木 2016-09-22 12:40:07 JST; 10min ago
Docs: man:ocserv(8)
Process: 2560 ExecStart=/usr/local/sbin/ocserv --foreground --pid-file /var/run/ocserv.pid --config /usr/local/etc/ocserv/ocserv.conf (code=exited, status=203/EXEC)
Main PID: 2560 (code=exited, status=203/EXEC)

9月 22 12:40:07 ivpser systemd[1]: Started OpenConnect SSL VPN server.
9月 22 12:40:07 ivpser systemd[1]: Starting OpenConnect SSL VPN server...
9月 22 12:40:07 ivpser systemd[2560]: Failed at step EXEC spawning /usr/local/sbin/ocserv: No such file or directory
9月 22 12:40:07 ivpser systemd[1]: ocserv.service: main process exited, code=exited, status=203/EXEC
9月 22 12:40:07 ivpser systemd[1]: Unit ocserv.service entered failed state.
9月 22 12:40:07 ivpser systemd[1]: ocserv.service failed.
[root@ivpser ~]#

求解。。。
nano /etc/ocserv/ocserv.conf
isolate-workers = false

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

這個應該是升級 Ocserv 10.3 之後的鍋 2333
这个我试着直接在ocserv.conf开一行添加了isolate-workers = false 不过好像并没有用耶

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

1 participant