Page 1 of 1
ovpn-init failure
Posted: Wed Aug 02, 2017 5:06 pm
by carmonj
After running ovpn-init I am receiving the error "Could not initialize sa"
I installed openvpc-as.
My system is running fedora 26 as a server.
Any thoughts? I don't know where to begin.
Re: ovpn-init failure
Posted: Wed Aug 02, 2017 6:08 pm
by novaflash
I think it's not compatible with that version of fedora. You can try running an install on another supported OS, and then running ovpn-init on that system, and then copying the resulting files from the /usr/local/openvpn_as/etc/db/ folder to this installation and restart the Access Server service, to try to get around the initialization problem.
Re: ovpn-init failure
Posted: Tue Aug 15, 2017 8:34 pm
by carmonj
I was able to get it running. The issue turned out to be a missing 64 bit library. I'll have to dig though and find out specifically what one.
Re: ovpn-init failure
Posted: Fri Jan 11, 2019 6:11 am
by mayday
If anyone is running in this issue sa init actually depends on the internal sqlite3 binary.
On Amazon Linux 2 it was missing the libncurses.so.5 and libtinfo.so.5 provided by ncurses-compat-libs.
You can find the missing libs by using ldd sqlite3
Re: ovpn-init failure
Posted: Fri Oct 04, 2019 2:42 am
by adoublearonn
It's been a while since this was posted but for me
sudo apt install libncurses5
fixed it in Ubuntu 19.04
Re: ovpn-init failure
Posted: Fri Oct 04, 2019 9:38 pm
by novaflash
As for the libncurses5 dependency, we got rid of that with the next Access Server release, so that shouldn't be an issue anymore when that finally hits.