VPN not working after reboot

toluquilla
Posts: 2
Joined: Mon Jan 12, 2015 1:24 pm

VPN not working after reboot

Postby toluquilla » Mon Jan 12, 2015 1:31 pm

Yesterday I purchase and installed the OpenVPN app and open the UDP port tested and everything was working fine, today I rebooted the HDA and the VPN service wont start anymore, I follow the steps in this 2 post:

https://bugs.amahi.org/issues/1204

viewtopic.php?f=3&t=5162


But got nothing, When I use the comand

Code: Select all

systemctl status openvpn\@amahi.service
this happends

Code: Select all

[root@localhost system]# 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 Mon 2015-01-12 14:17:35 CST; 1s ago Process: 4716 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf (code=exited, status=1/FAILURE) Jan 12 14:17:35 localhost.localdomain openvpn[4716]: Options error: In [CMD-LINE]:1: Error opening config...onf Jan 12 14:17:35 localhost.localdomain openvpn[4716]: Use --help for more information. Jan 12 14:17:35 localhost.localdomain systemd[1]: openvpn@amahi.service: control process exited, code=ex...us=1 Jan 12 14:17:35 localhost.localdomain systemd[1]: Failed to start OpenVPN Robust And Highly Flexible Tun...ahi. Jan 12 14:17:35 localhost.localdomain systemd[1]: Unit openvpn@amahi.service entered failed state.
I also tried to uninstall the OpenVPN app from the dashbord, but it keeps "Preparing to uninstall ..." forever and never does anything
Does anybody knows what can I do?

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

Re: VPN not working after reboot

Postby bigfoot65 » Mon Jan 12, 2015 2:20 pm

Please submit a bug report. Include the details from the post. We will do our best to help you resolve this problem.
ßîgƒσστ65
Applications Manager

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

toluquilla
Posts: 2
Joined: Mon Jan 12, 2015 1:24 pm

Re: VPN not working after reboot

Postby toluquilla » Mon Jan 12, 2015 7:35 pm

Thank you for the fast response!

I cant post it as a bug, it doesnt let me log in :s

It should be the same user/pass as in the Amahi.org right?

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

Re: VPN not working after reboot

Postby bigfoot65 » Mon Jan 12, 2015 7:43 pm

That is correct. BTW, have you installed OS updates? Is the app still installed? Did you check the install log at /var/log/amahi-app-installer.log?

You can email support at amahi dot org about access to the issue tracker.
ßîgƒσστ65
Applications Manager

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

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

Re: VPN not working after reboot

Postby wyldeone » Sun Feb 22, 2015 4:20 pm

Hi Guys

Sorry to Hi-Jack this thread but no point starting another.

Has this issue been resolved?

I know a bug fix has been issues over a year ago and few people have had the same issue but can't find a conclusion to this problem.

running "chmod 755 -R /var/run/openvpn" fix's the issue but is there some way of adding the command to the ExecStartPre= of the systemd file openvpn@.service?

Cheers

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

Re: VPN not working after reboot

Postby bigfoot65 » Sun Feb 22, 2015 4:57 pm

This should have been fixed for Amahi 7. I have had no issues.

If not, a bug needs to be submitted or we cannot do much to diagnose.
ßîgƒσστ65
Applications Manager

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

knightpd2
Posts: 3
Joined: Wed Apr 29, 2015 3:43 am

Re: VPN not working after reboot

Postby knightpd2 » Thu Aug 27, 2015 2:40 pm

I've just had the same problem. couldn't connect via VPN, server status in dashboard shown as not running but
systemctl status openvpn\@amahi.service
shows status as active,
Ran
chmod 755 -R /var/run/openvpn
Now dashboard status running after refresh status.
This is a brand new install of 7.1 express only 2 weeks ago.

PS I'm a learning newbie, so explain please how I submit logs etc. :-)

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

Re: VPN not working after reboot

Postby bigfoot65 » Thu Aug 27, 2015 4:09 pm

You can submit logs using fpaste:

Code: Select all

fpaste /var/log/amahi-app-installer.log
It will provide a URL that you can include in the bug.
ßî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 61 guests