{"id":425,"date":"2013-10-09T18:17:43","date_gmt":"2013-10-09T23:17:43","guid":{"rendered":"http:\/\/bitc.bme.emory.edu\/~lzhou\/blogs\/?p=425"},"modified":"2013-10-09T18:17:43","modified_gmt":"2013-10-09T23:17:43","slug":"openvpn-client-start-return-failed-but-still-working","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=425","title":{"rendered":"Openvpn client start return failed but still working"},"content":{"rendered":"<p>linux version 2.1 &#8211; 2.3.2<\/p>\n<p>Openvpn client start failed (shown), but interestingly it is still working.<\/p>\n<p>Workaround:  Seems something is racing.<br \/>\nadd<br \/>\n; sleep 1<br \/>\nafter<br \/>\n$openvpn &#8211;daemon &#8211;writepid $piddir\/$bn.pid &#8211;config $c &#8211;cd $work $script_security<br \/>\nresolves this.<br \/>\nThis is to allow one more seconds for the daemon to return success signal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>linux version 2.1 &#8211; 2.3.2 Openvpn client start failed (shown), but interestingly it is still working. Workaround: Seems something is racing. add ; sleep 1 after $openvpn &#8211;daemon &#8211;writepid $piddir\/$bn.pid &#8211;config $c &#8211;cd $work $script_security resolves this. This is to allow one more seconds for the daemon to return success signal.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-425","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=425"}],"version-history":[{"count":1,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":426,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions\/426"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}