Project

General

Profile

Actions

Tasks #61668

open

Options error: In [CMD-LINE]:1: Error opening configuration file: sepia.conf

Added by Rongqi Sun 11 months ago. Updated 11 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
% Done:

0%

Tags:
Reviewed:
Affected Versions:

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.

Actions #1

Updated by adam kraitman 11 months ago

Please check any firewall/SELinux and disable it

Actions #2

Updated by adam kraitman 11 months ago

  • Status changed from New to In Progress
  • Assignee set to adam kraitman
Actions #3

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.

Actions #4

Updated by adam kraitman 11 months ago

Please verify that the files have those owners & groups configured

sudo ls l /etc/openvpn/client/
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-
. 1 root root 2737 Aug 6 2019 sepia-vpn-client.tar.gz

sudo ls l /etc/openvpn/client/sepia
total 20
-rw-r--r-
. 1 svelar svelar 1241 Mar 23 2015 ca.crt
----------. 1 root root 290 Aug 6 2019 client.conf
rwxr-xr-x. 1 svelar svelar 1737 Mar 23 2015 new-client
-rw------
. 1 root root 102 Aug 6 2019 secret
r--r----. 1 svelar svelar 636 Mar 23 2015 tlsauth

Actions

Also available in: Atom PDF