Hello theap,
Well that explains why things don't work for you. I am not entirely sure how you managed to have an empty directory there. When I tried to remove the package openvpn-as-bundled-clients that contains the files that belong in that directory, it will also offer to automatically remove openvpn-as, the main OpenVPN Access Server package, as one depends on the other. Perhaps if the package was forcibly removed via rpm instead of yum that this situation could have occurred. It is not an expected situation in any case.
It might be superfluous to mention this but I would recommend you backup your Access Server files in /usr/local/openvpn_as/etc/db/ as it contains your important certificates and configurations and put that backup somewhere safe before you do anything else.
To try and reproduce your problem I just went ahead and wiped the files in /usr/local/openvpn_as/etc/exe to simulate this on my own CentOS7 installation. There's two things that I can think of that can be wrong. One is where the package 'openvpn-as-bundled-clients' is simply not present at all, which would be strange, but, then the fix is easy. And the other is that the directory was emptied for some reason, but the system still thinks the package is installed and won't allow installing it.
Just run this to try to install the package if it is somehow missing:
Code: Select all
yum install openvpn-as-bundled-clients
And then the files should come back in the etc/exe dir.
If it doesn't do anything and says you already have this installed, then you can try telling rpm to 'forget' this package without affecting dependencies, and then do the above command again, to force a reinstall of the package.
'Forget' the package openvpn-as-bundled-clients and try reinstalling again:
Code: Select all
rpm -e --justdb --nodeps openvpn-as-bundled-clients
yum install openvpn-as-bundled-clients
This resolved the issue on my CentOS7 machine.
Kind regards,
Johan