sudo systemctl status openvpn
● openvpn.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
However, I was doing this last night, but with the following command which I thought was correct:
Code: Select all
sudo systemctl status openvpn@amahi.service
Running this command currently returns the following:
●
openvpn@amahi.service - OpenVPN Robust And Highly Flexible Tunneling Application On amahi
Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; enabled)
Active: active (running) since Mon 2017-05-15 23:15:13 PDT; 8h ago
Process: 1102 ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf (code=exited, status=0/SUCCESS)
Main PID: 1103 (openvpn)
CGroup: /system.slice/system-openvpn.slice/
openvpn@amahi.service
├─1103 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/amahi.pid --cd /etc/openvpn/ --config amahi.conf
└─1104 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/amahi.pid --cd /etc/openvpn/ --config amahi.conf
May 15 23:44:33 localhost.localdomain openvpn[1103]: 208.115.201.202:49764 PUSH: Received control message: 'PUSH_REQUEST'
May 15 23:44:33 localhost.localdomain openvpn[1103]: 208.115.201.202:49764 Delayed exit in 5 seconds
May 15 23:44:33 localhost.localdomain openvpn[1103]: 208.115.201.202:49764 SENT CONTROL [Amahi-Client-OpenVPN]: 'AUTH_FAILED' (status=1)
May 15 23:44:34 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
May 15 23:44:34 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 [Amahi-Client-OpenVPN] Peer Connection Initiated with [AF_INET]208.115.201.202:36638
May 15 23:44:35 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 PUSH: Received control message: 'PUSH_REQUEST'
May 15 23:44:35 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 Delayed exit in 5 seconds
May 15 23:44:35 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 SENT CONTROL [Amahi-Client-OpenVPN]: 'AUTH_FAILED' (status=1)
May 15 23:44:38 localhost.localdomain openvpn[1103]: 208.115.201.202:49764 SIGTERM[soft,delayed-exit] received, client-instance exiting
May 15 23:44:40 localhost.localdomain openvpn[1103]: 208.115.201.202:36638 SIGTERM[soft,delayed-exit] received, client-instance exiting
Interesting... that IP address isn't familiar to me. Is that the Amahi OpenVPN checker tool trying to connect?
apaste --sysinfo
Gathering system info..............................Uploading (11.2KiB)...
Error: Server did not return a correct JSON response
Check the /var/log/amahi-app-installer.log for errors.
I see no errors below. Just me uninstalling and re-installing. Do I need to wipe out that cache?
======= app uninstall begin @ 2017-05-15 20:57:20 -0700 ==========
Uninstalling app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
App: OpenVPN uninstalled
======= app uninstall end @ 2017-05-15 20:57:22 -0700 ==========
======= app install begin @ 2017-05-15 20:57:54 -0700 ==========
Installing app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
file /var/hda/tmp/amahi-download-cache/ebb40d5724a72ffdd5f9e23d10d6432087225ba8 written in cache
App: OpenVPN installed
======= app install end @ 2017-05-15 20:58:01 -0700 ==========
======= app uninstall begin @ 2017-05-15 21:00:08 -0700 ==========
Uninstalling app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
App: OpenVPN uninstalled
======= app uninstall end @ 2017-05-15 21:00:09 -0700 ==========
======= app install begin @ 2017-05-15 21:01:54 -0700 ==========
Installing app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
file /var/hda/tmp/amahi-download-cache/ebb40d5724a72ffdd5f9e23d10d6432087225ba8 picked up from cache.
App: OpenVPN installed
======= app install end @ 2017-05-15 21:02:00 -0700 ==========
======= app uninstall begin @ 2017-05-15 22:13:35 -0700 ==========
Uninstalling app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
App: OpenVPN uninstalled
======= app uninstall end @ 2017-05-15 22:13:37 -0700 ==========
======= app install begin @ 2017-05-15 22:22:07 -0700 ==========
Installing app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
file /var/hda/tmp/amahi-download-cache/ebb40d5724a72ffdd5f9e23d10d6432087225ba8 picked up from cache.
App: OpenVPN installed
======= app install end @ 2017-05-15 22:22:16 -0700 ==========
======= app uninstall begin @ 2017-05-15 23:13:21 -0700 ==========
Uninstalling app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
/var/hda/apps/wzjcdmbnqp/elevated/uninstall: line 1: cd: /etc/openvpn/: No such file or directory
App: OpenVPN uninstalled
======= app uninstall end @ 2017-05-15 23:13:23 -0700 ==========
======= app install begin @ 2017-05-15 23:15:05 -0700 ==========
Installing app id wzjcdmbnqp under /var/hda/platform/html/script/.. ENV=production
file /var/hda/tmp/amahi-download-cache/ebb40d5724a72ffdd5f9e23d10d6432087225ba8 picked up from cache.
App: OpenVPN installed
======= app install end @ 2017-05-15 23:15:13 -0700 ==========
Thanks for the help!