[systemd-devel] failed to start openvpn

Parlin Tampubolon parlintampubolon at gmail.com
Wed Jan 3 08:20:28 UTC 2018


dear sir reindl,

thank you very much for your reply and the gooood advise,
now my service is already running.

openvpn at server.service - OpenVPN Robust And Highly Flexible Tunneling
Application On server
   Loaded: loaded (/lib/systemd/system/openvpn at .service; enabled; vendor
preset: disabled)
   Active: active (running) since Wed 2018-01-03 13:52:07 WIB; 6s ago
 Main PID: 28900 (openvpn)
   Status: "Initialization Sequence Completed"
   CGroup: /system.slice/system-openvpn.slice/openvpn at server.service
           └─28900 /usr/sbin/openvpn --cd /etc/openvpn/ --config server.conf


*for this error Options error: --tls-auth fails with 'ta.key': No such file
or directory (errno=2)*
I dont have file for ta.key, so I set comment for this code, and now my
service. running.

thank you thank you and thank you.



On Wed, Jan 3, 2018 at 2:47 PM, Reindl Harald <h.reindl at thelounge.net>
wrote:

>
>
> Am 03.01.2018 um 08:02 schrieb Parlin Tampubolon:
>
>> hi reindly,
>>
>> thank you for your reply,
>>
>> sorry forgot to attached the error file.
>> i attached again
>>
>
> are you kidding or what's difficult to understand in "No such file or
> directory" and what about specify full qualified paths?
>
> Jan 03 10:53:32 vpn-sysadminwom openvpn[25454]: Wed Jan  3 10:53:32 2018
> WARNING: cannot stat file 'vpn-sysadmin.key': No such file or directory
> (errno=2)
> Jan 03 10:53:32 vpn-sysadminwom openvpn[25454]: Options error: --key fails
> with 'vpn-sysadmin.key': No such file or directory (errno=2)
> Jan 03 10:53:32 vpn-sysadminwom openvpn[25454]: Wed Jan  3 10:53:32 2018
> WARNING: cannot stat file 'ta.key': No such file or directory (errno=2)
> Jan 03 10:53:32 vpn-sysadminwom openvpn[25454]: Options error: --tls-auth
> fails with 'ta.key': No such file or directory (errno=2)
> Jan 03 10:53:32 vpn-sysadminwom openvpn[25454]: Options error: Please
> correct these errors.
>
>
> On Wed, Jan 3, 2018 at 1:18 PM, Reindl Harald <h.reindl at thelounge.net
>> <mailto:h.reindl at thelounge.net>> wrote:
>>
>>     besides this is surely *not* a systemd problem you don't provide any
>>     useful information
>>
>>     "herewith i attached to the display error with file" was likely a
>>     image attachment, just post plain text copy&paste but anways:
>>     https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>>     <https://lists.freedesktop.org/mailman/listinfo/systemd-devel> is
>>     misleading just because service don't start and that URL is long
>>     removed in newer systemd releases
>>
>>     Am 03.01.2018 um 06:53 schrieb Parlin Tampubolon:
>>
>>         resend
>>
>>         On Wed, Jan 3, 2018 at 12:24 PM, Parlin Tampubolon
>>         <parlintampubolon at gmail.com <mailto:parlintampubolon at gmail.com>
>>         <mailto:parlintampubolon at gmail.com
>>         <mailto:parlintampubolon at gmail.com>>> wrote:
>>
>>              hi,
>>
>>              refer the error to
>>         https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>>         <https://lists.freedesktop.org/mailman/listinfo/systemd-devel>
>>                     <https://lists.freedesktop.org
>> /mailman/listinfo/systemd-devel
>>         <https://lists.freedesktop.org/mailman/listinfo/systemd-devel>>
>>
>>              could you please help which file i should edit for starting
>>         the vpn
>>              server.
>>              i have 2 eth (eth0 & eht1)
>>              eth0 : public
>>              eth1 : vpn
>>
>>              I follow the guide by youtube tutorial to setup vpn server,
>> but
>>              always having error. herewith i attached to the display
>>         error with file.
>>
>>              thank you for your helping
>>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180103/81c56c83/attachment.html>


More information about the systemd-devel mailing list