-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
OpenVPN won't start on CentOS 7 #73
Comments
Solution tests ok however I am unsure why I have to vagrant up the server, then the client instead of just doing
I'll close for now but if this is happening for everyone we'll need to work it out in a new issue. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If I switch to CentOS 7 (by changing to "config.vm.box = 'centos-7.2'" in the Vagrantfile) the server machine builds fine but the client machine fails with the error below. It is failing to start the OpenVPN service as it is trying to start [email protected] which in turn causes /etc/systemd/system/multi-user.target.wants/[email protected] file to look for a 'server.conf' OpenVPN config file but none exists as instead the recipe created a 'client.conf' file on the client machine.
I changed the references to "[email protected]" in service.rb file to "[email protected]" and was able to vagrant up the client machine successfully but that in turn breaks the server machine as service.rb is shared across both machines and in the server we create a 'server.conf' file for OpenVPN.
So, definitely a minor thing but I thought it was very cool of you to provide a working Vagrantfile and as it includes a lot of code to work on RHEL platforms I figured I'd try it on CentOS. Also this is basically the last step so fix this and we have RHEL working which would be nice. I'm not entirely certain how best to fix this but am happy to help out if I can.
Thanks all for the awesome recipe,
Paul
The text was updated successfully, but these errors were encountered: