Hi, all.
I just got my Amahi system up and running. I purchased the OpenVPN app and installed it on the system, however, the service will not start. Every time I press Start or Restart in the web control panel it spins for a bit and then comes back with a red light, not running.
I can't find any logs that might tell me why it is refusing to start. Note, this is not connectivity related but just trying to start the process.
Any ideas on where I can look to see what's failing?
OpenVPN not starting
Re: OpenVPN not starting
Hello,
The dashboard server may not be accurately reporting the status. Recommend you try this from the command line as root:
If it reports all is ok, then don't worry about the dashboard status for now. Would also request that you add your experience to this bug report.
https://bugs.amahi.org/issues/1204
The dashboard server may not be accurately reporting the status. Recommend you try this from the command line as root:
Code: Select all
systemctl status openvpn\@amahi.service
https://bugs.amahi.org/issues/1204
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: OpenVPN not starting
BTW, it appears there is a permission issue that can be resolved by doing the following as root user:
Once you do that, the server will show as running. We are working on a permanent solution as a reboot is likely to cause the issue to reappear.
Code: Select all
chmod 755 -R /var/run/openvpn
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: OpenVPN not starting
Thank you for the advice. I did this and there doesn't appear to be any change:
OpenVPN service still shows as down in the control panel. However, I notice from the startup scripts that it is looking for interface tun0. I don't have a tun0:
Suggestion? This is after a reboot, BTW.
Code: Select all
[root@localhost ~]# chmod 755 -R /var/run/openvpn
[root@localhost ~]# systemctl status openvpn\@amahi.service
openvpn@amahi.service - OpenVPN Robust And Highly Flexible Tunneling Application On amahi
Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; disabled)
Active: inactive (dead)
Code: Select all
[root@localhost ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:25:22:b3:79:6a brd ff:ff:ff:ff:ff:ff
inet 192.168.XX.XXX/24 brd 192.168.11.255 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::225:22ff:feb3:796a/64 scope link
valid_lft forever preferred_lft forever
Re: OpenVPN not starting
Hmmmm. Please add this to the bug:
https://bugs.amahi.org/issues/1204
Not sure what else you can do other than uninstall, reboot, then reinstall. We will have to take a look at the app to see what the problem could be once we have your input.
Please provide as many details as possible. Also check /var/log/amahi-app-installer.log for errors.
https://bugs.amahi.org/issues/1204
Not sure what else you can do other than uninstall, reboot, then reinstall. We will have to take a look at the app to see what the problem could be once we have your input.
Please provide as many details as possible. Also check /var/log/amahi-app-installer.log for errors.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: OpenVPN not starting
Aha! I shoulda looked at the bug report earlier
As stated in the bug:
Got the service to start. I will install a client in the morning and see if I can connect.
Thanks for the assist.
As stated in the bug:
Code: Select all
cd /lib/systemd/system
cp openvpn\@.service openvpn\@amahi.service
systemctl --system daemon-reload
systemctl restart openvpn\@amahi.service
Thanks for the assist.
Re: OpenVPN not starting
Glad it is working for you now. Hopefully it will stay after reboot as well.
Please let us know if all is working correctly and update the bug accordingly.
Please let us know if all is working correctly and update the bug accordingly.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
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 2 guests