Ubuntu server 18.04, OpenVPN server failed to start












0















ubuntu@ip-10-20-1-154:/etc/openvpn$ sudo openvpn server.conf



Tue Feb 19 20:51:31 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)]
[LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018



Tue Feb 19 20:51:31 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08



Tue Feb 19 20:51:31 2019 Diffie-Hellman initialized with 2048 bit key



Tue Feb 19 20:51:31 2019 ROUTE_GATEWAY 10.20.1.129/255.255.255.128 IFACE=eth0 HWADDR=06:83:82:d2:c8:b8



Tue Feb 19 20:51:31 2019 TUN/TAP device tun1 opened



Tue Feb 19 20:51:31 2019 TUN/TAP TX queue length set to 100



Tue Feb 19 20:51:31 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0



Tue Feb 19 20:51:31 2019 /sbin/ip link set dev tun1 up mtu 1500



Tue Feb 19 20:51:31 2019 /sbin/ip addr add dev tun1 local 10.8.0.1 peer 10.8.0.2
Tue Feb 19 20:51:31 2019 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2



Tue Feb 19 20:51:31 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET



Tue Feb 19 20:51:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]



Tue Feb 19 20:51:31 2019 TCP/UDP: Socket bind failed on local address [AF_INET][undef]:1194: Address already in use (errno=98)



Tue Feb 19 20:51:31 2019 Exiting due to fatal error



Tue Feb 19 20:51:31 2019 /sbin/ip route del 10.8.0.0/24



Tue Feb 19 20:51:31 2019 Closing TUN/TAP interface



Tue Feb 19 20:51:31 2019 /sbin/ip addr del dev tun1 local 10.8.0.1 peer 10.8.0.2



ubuntu@ip-10-20-1-154:/etc/openvpn$



ubuntu@ip-10-20-1-154:/etc/openvpn$ ip a



1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000



link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever


2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000



link/ether 06:83:82:d2:c8:b8 brd ff:ff:ff:ff:ff:ff

inet 10.20.1.154/25 brd 10.20.1.255 scope global dynamic eth0
valid_lft 2705sec preferred_lft 2705sec
inet6 fe80::483:82ff:fed2:c8b8/64 scope link
valid_lft forever preferred_lft forever


3: tun0: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none



ubuntu@ip-10-20-1-154:/etc/openvpn$



any suggestion ?



thanks much










share|improve this question







New contributor




mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    ubuntu@ip-10-20-1-154:/etc/openvpn$ sudo openvpn server.conf



    Tue Feb 19 20:51:31 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)]
    [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018



    Tue Feb 19 20:51:31 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08



    Tue Feb 19 20:51:31 2019 Diffie-Hellman initialized with 2048 bit key



    Tue Feb 19 20:51:31 2019 ROUTE_GATEWAY 10.20.1.129/255.255.255.128 IFACE=eth0 HWADDR=06:83:82:d2:c8:b8



    Tue Feb 19 20:51:31 2019 TUN/TAP device tun1 opened



    Tue Feb 19 20:51:31 2019 TUN/TAP TX queue length set to 100



    Tue Feb 19 20:51:31 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0



    Tue Feb 19 20:51:31 2019 /sbin/ip link set dev tun1 up mtu 1500



    Tue Feb 19 20:51:31 2019 /sbin/ip addr add dev tun1 local 10.8.0.1 peer 10.8.0.2
    Tue Feb 19 20:51:31 2019 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2



    Tue Feb 19 20:51:31 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET



    Tue Feb 19 20:51:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]



    Tue Feb 19 20:51:31 2019 TCP/UDP: Socket bind failed on local address [AF_INET][undef]:1194: Address already in use (errno=98)



    Tue Feb 19 20:51:31 2019 Exiting due to fatal error



    Tue Feb 19 20:51:31 2019 /sbin/ip route del 10.8.0.0/24



    Tue Feb 19 20:51:31 2019 Closing TUN/TAP interface



    Tue Feb 19 20:51:31 2019 /sbin/ip addr del dev tun1 local 10.8.0.1 peer 10.8.0.2



    ubuntu@ip-10-20-1-154:/etc/openvpn$



    ubuntu@ip-10-20-1-154:/etc/openvpn$ ip a



    1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000



    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever


    2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000



    link/ether 06:83:82:d2:c8:b8 brd ff:ff:ff:ff:ff:ff

    inet 10.20.1.154/25 brd 10.20.1.255 scope global dynamic eth0
    valid_lft 2705sec preferred_lft 2705sec
    inet6 fe80::483:82ff:fed2:c8b8/64 scope link
    valid_lft forever preferred_lft forever


    3: tun0: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
    link/none



    ubuntu@ip-10-20-1-154:/etc/openvpn$



    any suggestion ?



    thanks much










    share|improve this question







    New contributor




    mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      ubuntu@ip-10-20-1-154:/etc/openvpn$ sudo openvpn server.conf



      Tue Feb 19 20:51:31 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)]
      [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018



      Tue Feb 19 20:51:31 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08



      Tue Feb 19 20:51:31 2019 Diffie-Hellman initialized with 2048 bit key



      Tue Feb 19 20:51:31 2019 ROUTE_GATEWAY 10.20.1.129/255.255.255.128 IFACE=eth0 HWADDR=06:83:82:d2:c8:b8



      Tue Feb 19 20:51:31 2019 TUN/TAP device tun1 opened



      Tue Feb 19 20:51:31 2019 TUN/TAP TX queue length set to 100



      Tue Feb 19 20:51:31 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0



      Tue Feb 19 20:51:31 2019 /sbin/ip link set dev tun1 up mtu 1500



      Tue Feb 19 20:51:31 2019 /sbin/ip addr add dev tun1 local 10.8.0.1 peer 10.8.0.2
      Tue Feb 19 20:51:31 2019 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2



      Tue Feb 19 20:51:31 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET



      Tue Feb 19 20:51:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]



      Tue Feb 19 20:51:31 2019 TCP/UDP: Socket bind failed on local address [AF_INET][undef]:1194: Address already in use (errno=98)



      Tue Feb 19 20:51:31 2019 Exiting due to fatal error



      Tue Feb 19 20:51:31 2019 /sbin/ip route del 10.8.0.0/24



      Tue Feb 19 20:51:31 2019 Closing TUN/TAP interface



      Tue Feb 19 20:51:31 2019 /sbin/ip addr del dev tun1 local 10.8.0.1 peer 10.8.0.2



      ubuntu@ip-10-20-1-154:/etc/openvpn$



      ubuntu@ip-10-20-1-154:/etc/openvpn$ ip a



      1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000



      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever


      2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000



      link/ether 06:83:82:d2:c8:b8 brd ff:ff:ff:ff:ff:ff

      inet 10.20.1.154/25 brd 10.20.1.255 scope global dynamic eth0
      valid_lft 2705sec preferred_lft 2705sec
      inet6 fe80::483:82ff:fed2:c8b8/64 scope link
      valid_lft forever preferred_lft forever


      3: tun0: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
      link/none



      ubuntu@ip-10-20-1-154:/etc/openvpn$



      any suggestion ?



      thanks much










      share|improve this question







      New contributor




      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      ubuntu@ip-10-20-1-154:/etc/openvpn$ sudo openvpn server.conf



      Tue Feb 19 20:51:31 2019 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)]
      [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018



      Tue Feb 19 20:51:31 2019 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08



      Tue Feb 19 20:51:31 2019 Diffie-Hellman initialized with 2048 bit key



      Tue Feb 19 20:51:31 2019 ROUTE_GATEWAY 10.20.1.129/255.255.255.128 IFACE=eth0 HWADDR=06:83:82:d2:c8:b8



      Tue Feb 19 20:51:31 2019 TUN/TAP device tun1 opened



      Tue Feb 19 20:51:31 2019 TUN/TAP TX queue length set to 100



      Tue Feb 19 20:51:31 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0



      Tue Feb 19 20:51:31 2019 /sbin/ip link set dev tun1 up mtu 1500



      Tue Feb 19 20:51:31 2019 /sbin/ip addr add dev tun1 local 10.8.0.1 peer 10.8.0.2
      Tue Feb 19 20:51:31 2019 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2



      Tue Feb 19 20:51:31 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET



      Tue Feb 19 20:51:31 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]



      Tue Feb 19 20:51:31 2019 TCP/UDP: Socket bind failed on local address [AF_INET][undef]:1194: Address already in use (errno=98)



      Tue Feb 19 20:51:31 2019 Exiting due to fatal error



      Tue Feb 19 20:51:31 2019 /sbin/ip route del 10.8.0.0/24



      Tue Feb 19 20:51:31 2019 Closing TUN/TAP interface



      Tue Feb 19 20:51:31 2019 /sbin/ip addr del dev tun1 local 10.8.0.1 peer 10.8.0.2



      ubuntu@ip-10-20-1-154:/etc/openvpn$



      ubuntu@ip-10-20-1-154:/etc/openvpn$ ip a



      1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000



      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever


      2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000



      link/ether 06:83:82:d2:c8:b8 brd ff:ff:ff:ff:ff:ff

      inet 10.20.1.154/25 brd 10.20.1.255 scope global dynamic eth0
      valid_lft 2705sec preferred_lft 2705sec
      inet6 fe80::483:82ff:fed2:c8b8/64 scope link
      valid_lft forever preferred_lft forever


      3: tun0: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
      link/none



      ubuntu@ip-10-20-1-154:/etc/openvpn$



      any suggestion ?



      thanks much







      openvpn






      share|improve this question







      New contributor




      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      mike0007mike0007

      1




      1




      New contributor




      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      mike0007 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          mike0007 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501748%2fubuntu-server-18-04-openvpn-server-failed-to-start%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          mike0007 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          mike0007 is a new contributor. Be nice, and check out our Code of Conduct.













          mike0007 is a new contributor. Be nice, and check out our Code of Conduct.












          mike0007 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501748%2fubuntu-server-18-04-openvpn-server-failed-to-start%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Entries order in /etc/network/interfaces

          新発田市

          Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)