Openvpn client start return failed but still working

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

linux version 2.1 – 2.3.2

Openvpn client start failed (shown), but interestingly it is still working.

Workaround: Seems something is racing.
add
; sleep 1
after
$openvpn –daemon –writepid $piddir/$bn.pid –config $c –cd $work $script_security
resolves this.
This is to allow one more seconds for the daemon to return success signal.

Be the first to comment!

Leave a Reply