Page 1 of 1

SOLVED: OpenVPN doesnt appear to be installed

Posted: Tue Dec 23, 2014 12:01 pm
by leezard
Bought the one click openVPN app and installed it.
installed the client on my Windows 8.1 laptop
forwarded port 1194 UDP to the IP address of my hda

Tethered my laptop top my phone so I would not be on the same network as my HDA and tried to connect to VPN

The connection times out so I started trying to troubleshoot why.

[root@leezardlounge openvpn]# systemctl status openvpn@amahi.service
openvpn@amahi.service - OpenVPN Robust And Highly Flexible Tunneling Application On amahi
Loaded: loaded (/usr/lib/systemd/system/openvpn@amahi.service; enabled)
Active: failed (Result: exit-code) since Tue 2014-12-23 12:37:39 CST; 19min ago
Process: 678 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf (code=exited, status=1/FAILURE)

Dec 23 12:37:39 leezardlounge openvpn[678]: Options error: In [CMD-LINE]:1: Error opening configuration file: amahi.conf
Dec 23 12:37:39 leezardlounge openvpn[678]: Use --help for more information.
Dec 23 12:37:39 leezardlounge systemd[1]: openvpn@amahi.service: control process exited, code=exited status=1
Dec 23 12:37:39 leezardlounge systemd[1]: Failed to start OpenVPN Robust And Highly Flexible Tunneling Application On amahi.
Dec 23 12:37:39 leezardlounge systemd[1]: Unit openvpn@amahi.service entered failed state.


a find for amahi.conf returns nothing

Re: OpenVPN doesnt appear to be installed

Posted: Tue Dec 23, 2014 1:52 pm
by bigfoot65
Please check /var/log/amahi-app-installer.log file for errors and report here.

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 2:14 pm
by sxw123
I am going to add onto this thread rather than start a new one. I am having similar issue as OP. From logs its seems sha-1 sum check is failing on download:

======= app install begin @ 2016-01-31 08:59:25 -0600 ==========
Installing app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
/usr/bin/amahi-download:110:in `download_and_check_sha1': http://dl.amahi.org/openvpn-amahi-4.0.tar.bz2, 'e03ef1c484b21be7452a55215e6ec8c2b08c6749' vs. 'a4942e55e442d9958d172ec87b98a40d9490a2bc' (SHA1VerificationFailed)
from /usr/bin/amahi-download:125:in `main'
from /usr/bin/amahi-download:132:in `<main>'
tar (child): openvpn-amahi-4.0.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/var/hda/apps/wzjcdmbnqp/elevated/install-openvpn: line 1: cd: openvpn-amahi: No such file or directory
cannot open 'amahi.conf' for reading at /bin/hda-install-file line 117.
cp: cannot stat ‘amahi’: No such file or directory
cp: cannot stat ‘../amahi.up’: No such file or directory
cp: cannot stat ‘amahi.down’: No such file or directory
cp: cannot stat ‘amahi.down’: No such file or directory
cannot open 'amahi-dup-cn.conf.off' for reading at /bin/hda-install-file line 117.
App: OpenVPN installed
======= app install end @ 2016-01-31 08:59:35 -0600 ==========

bad package?

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 2:22 pm
by sxw123
looks like it doesnt exist.

The requested URL /openvpn-amahi-4.0.tar.bz2 was not found on this server.

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 2:28 pm
by sxw123
I just found the bug tracker and noticed that this issue seems reported already. I will await resolution there.

Please see bug #1927 for updates.

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 2:31 pm
by bigfoot65
We are working the server issue and hope to have service restored soon.

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 3:24 pm
by bigfoot65
Patch file has been changed to pull from a temporary location until we resolve our server issue.

Please uninstall the app, then reinstall and it should be working.

Let us know if this is resolved.

Re: OpenVPN doesnt appear to be installed

Posted: Sun Jan 31, 2016 8:09 pm
by sxw123
Thank you, installed and working.

Re: OpenVPN doesnt appear to be installed

Posted: Mon Feb 01, 2016 3:37 am
by bigfoot65
Great!

Closing this as solved.