Доброго! Не стартует openvpn запускаю командой
sudo systemctl start openvpn@server.service
Получаю ответ:
Job for openvpn@server.service failed because the control process exited with error code. See «systemctl status openvpn@server.service» and «journalctl -xe» for details.
jornalctl -xe дает вот так:
--
-- Unit NetworkManager-dispatcher.service has begun starting up.
Dec 18 15:28:41 localhost.localdomain dbus[4185]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 18 15:28:41 localhost.localdomain systemd[1]: Started Network Manager Script Dispatcher Service.
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit NetworkManager-dispatcher.service has finished starting up.
--
-- The start-up result is done.
Dec 18 15:28:41 localhost.localdomain nm-dispatcher[5005]: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
Dec 18 15:28:41 localhost.localdomain nm-dispatcher[5005]: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
Dec 18 15:29:48 localhost.localdomain sudo[5012]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/bin/journalctl -xe
Dec 18 15:29:48 localhost.localdomain sudo[5012]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Команда sudo systemctl status openvpn@server.service
Вот такой результат:
● openvpn@server.service - OpenVPN Robust And Highly Flexible Tunneling Application On server
Loaded: loaded (/usr/lib/systemd/system/openvpn@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-12-18 15:24:19 MSK; 3s ago
Process: 4984 ExecStart=/usr/sbin/openvpn --cd /etc/openvpn/ --config %i.conf (code=exited, status=1/FAILURE)
Main PID: 4984 (code=exited, status=1/FAILURE)
Dec 18 15:24:19 localhost.localdomain systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On server...
Dec 18 15:24:19 localhost.localdomain systemd[1]: openvpn@server.service: main process exited, code=exited, status=1/FAILURE
Dec 18 15:24:19 localhost.localdomain systemd[1]: Failed to start OpenVPN Robust And Highly Flexible Tunneling Application On server.
Dec 18 15:24:19 localhost.localdomain systemd[1]: Unit openvpn@server.service entered failed state.
Dec 18 15:24:19 localhost.localdomain systemd[1]: openvpn@server.service failed.
Всю голову сломал что не так