Skip to main content
The right kind of formatting. Removed answer from question
Source Link
Chris Davies
  • 128k
  • 16
  • 178
  • 323

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn"systemctl status openvpn gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.serviceopenvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctlJun stop22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE
Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.
Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to multi-user.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-off time over, scheduling restart.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled restart job, restart counter is at 146.
Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.
Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user...
Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1:Error opening configuration file: /etc/openvpn/multi-user.conf
Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with result 'exit-code'.
Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to multi-user.
Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-off time over, scheduling restart.
Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled restart job, restart counter is at 147.
Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.
Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE2: Solved by disabling [email protected] (deprecated), removing all configuration files from the OpenVPN root sir and moving them to the server dir, as well as activating the respective [email protected].

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]

UPDATE2: Solved by disabling [email protected] (deprecated), removing all configuration files from the OpenVPN root sir and moving them to the server dir, as well as activating the respective [email protected].

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and systemctl status openvpn gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE
Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.
Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to multi-user.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-off time over, scheduling restart.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled restart job, restart counter is at 146.
Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.
Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user...
Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1:Error opening configuration file: /etc/openvpn/multi-user.conf
Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information.
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with result 'exit-code'.
Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to multi-user.
Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-off time over, scheduling restart.
Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled restart job, restart counter is at 147.
Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.
Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.
added 226 characters in body
Source Link
AlpayY
  • 51
  • 1
  • 6

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]

UPDATE2: Solved by disabling [email protected] (deprecated), removing all configuration files from the OpenVPN root sir and moving them to the server dir, as well as activating the respective [email protected].

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]

UPDATE2: Solved by disabling [email protected] (deprecated), removing all configuration files from the OpenVPN root sir and moving them to the server dir, as well as activating the respective [email protected].

added 133 characters in body
Source Link
AlpayY
  • 51
  • 1
  • 6

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and "systemctl status openvpn" gives me green. However, my syslog is being riddled with errors which seem to relate to a different service than openvpn.service. I am kind of unsettled by this since the server goes into use tomorrow and the only way to get access then is via openvpn.

Here is the syslog:

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:41 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:41 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 146.

Jun 22 15:30:47 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:47 localhost systemd[1]: Starting OpenVPN connection to multi-user. ..

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/multi-user.conf

Jun 22 15:30:47 localhost ovpn-multi-user[3046]: Use --help for more information .

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Main process e xited, code=exited, status=1/FAILURE

Jun 22 15:30:47 localhost systemd[1]: [email protected]: Failed with re sult 'exit-code'.

Jun 22 15:30:47 localhost systemd[1]: Failed to start OpenVPN connection to mult i-user.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Service hold-o ff time over, scheduling restart.

Jun 22 15:30:52 localhost systemd[1]: [email protected]: Scheduled rest art job, restart counter is at 147.

Jun 22 15:30:52 localhost systemd[1]: Stopped OpenVPN connection to multi-user.

Jun 22 15:30:52 localhost systemd[1]: Starting OpenVPN connection to multi-user.

UPDATE: I worked around the issue by putting the following line in my rc.local:

systemctl stop [email protected]
Source Link
AlpayY
  • 51
  • 1
  • 6
Loading