Thanks, that was it. I set Selinux to Permissive and it worked. I've fixed the contexts and set Selinux bask to Enforcing and it continues to work.<br><br><div class="gmail_quote">On Sun, Nov 6, 2011 at 1:59 PM, Kevin Fenzi <span dir="ltr"><<a href="mailto:kevin@scrye.com">kevin@scrye.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="HOEnZb"><div class="h5">On Sun, 6 Nov 2011 13:52:45 -0700<br>
Will <<a href="mailto:will.sterling@gmail.com">will.sterling@gmail.com</a>> wrote:<br>
<br>
> I have an odd error occurring when I try to start OpenVPN using the<br>
> /etc/init.d/openvn script. If I run it as root "/etc/init.d/openvpn<br>
> start" it fails to start. If I run "bash /etc/init.d/openvpn start"<br>
> it starts just fine. I've added -x to the #! line and I know it is<br>
> failing when starting the daemon but when I run the same command<br>
> manually it start just fine.<br>
><br>
> I get the following error in syslog, but obviously the config file is<br>
> readable as it can be started manually.<br>
><br>
> Nov 6 13:12:13 loki openvpn[1494]: Options error: In [CMD-LINE]:1:<br>
> Error opening configuration file: /etc/openvpn/pogo.conf<br>
<br>
</div></div>What OS is this? If it's a RHEL/CentOS/Fedora variant, it could be a<br>
selinux issue.<br>
<br>
Try:<br>
<br>
restorecon -Rv /etc/openvpn/<br>
<br>
to give the config file the right context.<br>
<span class="HOEnZb"><font color="#888888"><br>
kevin<br>
</font></span><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br>