SOLVED: OpenVPN doesnt appear to be installed

leezard
Posts: 4
Joined: Sat Dec 20, 2014 8:56 pm

SOLVED: OpenVPN doesnt appear to be installed

Postby leezard » Tue Dec 23, 2014 12:01 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN doesnt appear to be installed

Postby bigfoot65 » Tue Dec 23, 2014 1:52 pm

Please check /var/log/amahi-app-installer.log file for errors and report here.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sxw123
Posts: 6
Joined: Mon Dec 28, 2015 11:06 pm

Re: OpenVPN doesnt appear to be installed

Postby sxw123 » Sun Jan 31, 2016 2:14 pm

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?

sxw123
Posts: 6
Joined: Mon Dec 28, 2015 11:06 pm

Re: OpenVPN doesnt appear to be installed

Postby sxw123 » Sun Jan 31, 2016 2:22 pm

looks like it doesnt exist.

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

sxw123
Posts: 6
Joined: Mon Dec 28, 2015 11:06 pm

Re: OpenVPN doesnt appear to be installed

Postby sxw123 » Sun Jan 31, 2016 2:28 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN doesnt appear to be installed

Postby bigfoot65 » Sun Jan 31, 2016 2:31 pm

We are working the server issue and hope to have service restored soon.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN doesnt appear to be installed

Postby bigfoot65 » Sun Jan 31, 2016 3:24 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

sxw123
Posts: 6
Joined: Mon Dec 28, 2015 11:06 pm

Re: OpenVPN doesnt appear to be installed

Postby sxw123 » Sun Jan 31, 2016 8:09 pm

Thank you, installed and working.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: OpenVPN doesnt appear to be installed

Postby bigfoot65 » Mon Feb 01, 2016 3:37 am

Great!

Closing this as solved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 37 guests