[clue] OpenVPN

Will will.sterling at gmail.com
Sun Nov 6 14:17:45 MST 2011


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.

On Sun, Nov 6, 2011 at 1:59 PM, Kevin Fenzi <kevin at scrye.com> wrote:

> On Sun, 6 Nov 2011 13:52:45 -0700
> Will <will.sterling at gmail.com> wrote:
>
> > I have an odd error occurring when I try to start OpenVPN using the
> > /etc/init.d/openvn script.  If I run it as root "/etc/init.d/openvpn
> > start" it fails to start.  If I run "bash /etc/init.d/openvpn start"
> > it starts just fine.  I've added -x to the #! line and I know it is
> > failing when starting the daemon but when I run the same command
> > manually it start just fine.
> >
> > I get the following error in syslog, but obviously the config file is
> > readable as it can be started manually.
> >
> > Nov  6 13:12:13 loki openvpn[1494]: Options error: In [CMD-LINE]:1:
> > Error opening configuration file: /etc/openvpn/pogo.conf
>
> What OS is this? If it's a RHEL/CentOS/Fedora variant, it could be a
> selinux issue.
>
> Try:
>
> restorecon -Rv /etc/openvpn/
>
> to give the config file the right context.
>
> kevin
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20111106/106d6ab5/attachment.html 


More information about the clue mailing list