Tasks #61668
openOptions error: In [CMD-LINE]:1: Error opening configuration file: sepia.conf
0%
Description
Hi,
After my access had been granted, I tried to restart the unit by sudo systemctl restart openvpn-client@sepia
. But the output is
Starting OpenVPN tunnel for sepia...
-- Subject: Unit openvpn-client@sepia.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit openvpn-client@sepia.service has begun starting up.
Jun 14 10:27:38 server8 openvpn40282: Options error: In [CMD-LINE]:1: Error opening configuration file: sepia.conf
Jun 14 10:27:38 server8 openvpn40282: Use --help for more information.
Jun 14 10:27:38 server8 systemd1: openvpn-client@sepia.service: Main process exited, code=exited, status=1/FAILURE
Jun 14 10:27:38 server8 systemd1: openvpn-client@sepia.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit openvpn-client@sepia.service has entered the 'failed' state with result 'exit-code'.
Jun 14 10:27:38 server8 systemd1: Failed to start OpenVPN tunnel for sepia.
-- Subject: Unit openvpn-client@sepia.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit openvpn-client@sepia.service has failed.
--
-- The result is failed.
But there is sepia.conf in /etc/openvpn. Could you help to solve it, thanks.
Updated by adam kraitman 11 months ago
Please check any firewall/SELinux and disable it
Updated by adam kraitman 11 months ago
- Status changed from New to In Progress
- Assignee set to adam kraitman
Updated by Rongqi Sun 11 months ago
adam kraitman wrote:
Please check any firewall/SELinux and disable it
HI, thanks for response. They were already disabled before I submitted this ticket.
Updated by adam kraitman 11 months ago
Please verify that the files have those owners & groups configured
sudo ls l /etc/openvpn/client/. 1 root root 2737 Aug 6 2019 sepia-vpn-client.tar.gz
total 8
drwxrwxr-x. 2 svelar svelar 4096 Sep 9 2019 sepia
lrwxrwxrwx. 1 root root 17 Aug 6 2019 sepia.conf -> sepia/client.conf
-rw-r--r-
sudo ls l /etc/openvpn/client/sepia. 1 svelar svelar 1241 Mar 23 2015 ca.crt
total 20
-rw-r--r-
----------. 1 root root 290 Aug 6 2019 client.confrwxr-xr-x. 1 svelar svelar 1737 Mar 23 2015 new-client. 1 root root 102 Aug 6 2019 secret
-rw------r--r----. 1 svelar svelar 636 Mar 23 2015 tlsauth