Openvpn server config shows event_wait : Interrupted system call (code=4)
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Mar 18, 2017 9:59 pm
Openvpn server config shows event_wait : Interrupted system call (code=4)
Hello Everyone,
I am trying to configure openvpn server but the command
openvpn server.conf runs indefinitely.If i kill it and view the logs (at verbosity 6)
the log file shows as follows(added below).How can i solve this problem:
openvpn.log
Sun Mar 19 03:22:24 2017 us=385011 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
Sun Mar 19 03:22:24 2017 us=385034 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Sun Mar 19 03:22:24 2017 us=385307 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Sun Mar 19 03:22:24 2017 us=385752 Diffie-Hellman initialized with 1024 bit key
Sun Mar 19 03:22:24 2017 us=386201 TLS-Auth MTU parms [ L:1542 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Mar 19 03:22:24 2017 us=386245 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Mar 19 03:22:24 2017 us=386375 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp1s0 HWADDR=1c:75:08:45:f5:35
Sun Mar 19 03:22:24 2017 us=387284 TUN/TAP device tun0 opened
Sun Mar 19 03:22:24 2017 us=387348 TUN/TAP TX queue length set to 100
Sun Mar 19 03:22:24 2017 us=387380 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Mar 19 03:22:24 2017 us=387429 /sbin/ip link set dev tun0 up mtu 1500
Sun Mar 19 03:22:24 2017 us=389366 /sbin/ip addr add dev tun0 local 172.16.1.1 peer 172.16.1.2
Sun Mar 19 03:22:24 2017 us=392407 /sbin/ip route add 172.16.1.0/24 via 172.16.1.2
Sun Mar 19 03:22:24 2017 us=394349 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:143 ET:0 EL:3 AF:3/1 ]
Sun Mar 19 03:22:24 2017 us=394422 UDPv4 link local (bound): [undef]
Sun Mar 19 03:22:24 2017 us=394441 UDPv4 link remote: [undef]
Sun Mar 19 03:22:24 2017 us=394462 MULTI: multi_init called, r=256 v=256
Sun Mar 19 03:22:24 2017 us=394506 IFCONFIG POOL: base=172.16.1.4 size=62, ipv6=0
Sun Mar 19 03:22:24 2017 us=394539 IFCONFIG POOL LIST
Sun Mar 19 03:22:24 2017 us=394577 Initialization Sequence Completed
Sun Mar 19 03:22:35 2017 us=690579 event_wait : Interrupted system call (code=4)
Sun Mar 19 03:22:35 2017 us=690891 TCP/UDP: Closing socket
Sun Mar 19 03:22:35 2017 us=691011 /sbin/ip route del 172.16.1.0/24
Sun Mar 19 03:22:35 2017 us=692608 Closing TUN/TAP interface
Sun Mar 19 03:22:35 2017 us=692718 /sbin/ip addr del dev tun0 local 172.16.1.1 peer 172.16.1.2
Sun Mar 19 03:22:35 2017 us=723845 SIGINT[hard,] received, process exiting
server.conf
port 1194
proto udp
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 172.16.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
client-to-client
keepalive 10 60
ping-timer-rem
cipher BF-CBC # Blowfish (default)
comp-lzo
max-clients 5
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 6
I am trying to configure openvpn server but the command
openvpn server.conf runs indefinitely.If i kill it and view the logs (at verbosity 6)
the log file shows as follows(added below).How can i solve this problem:
openvpn.log
Sun Mar 19 03:22:24 2017 us=385011 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
Sun Mar 19 03:22:24 2017 us=385034 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Sun Mar 19 03:22:24 2017 us=385307 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Sun Mar 19 03:22:24 2017 us=385752 Diffie-Hellman initialized with 1024 bit key
Sun Mar 19 03:22:24 2017 us=386201 TLS-Auth MTU parms [ L:1542 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Mar 19 03:22:24 2017 us=386245 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Mar 19 03:22:24 2017 us=386375 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp1s0 HWADDR=1c:75:08:45:f5:35
Sun Mar 19 03:22:24 2017 us=387284 TUN/TAP device tun0 opened
Sun Mar 19 03:22:24 2017 us=387348 TUN/TAP TX queue length set to 100
Sun Mar 19 03:22:24 2017 us=387380 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Mar 19 03:22:24 2017 us=387429 /sbin/ip link set dev tun0 up mtu 1500
Sun Mar 19 03:22:24 2017 us=389366 /sbin/ip addr add dev tun0 local 172.16.1.1 peer 172.16.1.2
Sun Mar 19 03:22:24 2017 us=392407 /sbin/ip route add 172.16.1.0/24 via 172.16.1.2
Sun Mar 19 03:22:24 2017 us=394349 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:143 ET:0 EL:3 AF:3/1 ]
Sun Mar 19 03:22:24 2017 us=394422 UDPv4 link local (bound): [undef]
Sun Mar 19 03:22:24 2017 us=394441 UDPv4 link remote: [undef]
Sun Mar 19 03:22:24 2017 us=394462 MULTI: multi_init called, r=256 v=256
Sun Mar 19 03:22:24 2017 us=394506 IFCONFIG POOL: base=172.16.1.4 size=62, ipv6=0
Sun Mar 19 03:22:24 2017 us=394539 IFCONFIG POOL LIST
Sun Mar 19 03:22:24 2017 us=394577 Initialization Sequence Completed
Sun Mar 19 03:22:35 2017 us=690579 event_wait : Interrupted system call (code=4)
Sun Mar 19 03:22:35 2017 us=690891 TCP/UDP: Closing socket
Sun Mar 19 03:22:35 2017 us=691011 /sbin/ip route del 172.16.1.0/24
Sun Mar 19 03:22:35 2017 us=692608 Closing TUN/TAP interface
Sun Mar 19 03:22:35 2017 us=692718 /sbin/ip addr del dev tun0 local 172.16.1.1 peer 172.16.1.2
Sun Mar 19 03:22:35 2017 us=723845 SIGINT[hard,] received, process exiting
server.conf
port 1194
proto udp
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 172.16.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
client-to-client
keepalive 10 60
ping-timer-rem
cipher BF-CBC # Blowfish (default)
comp-lzo
max-clients 5
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 6
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
Yes, it does.Shaunak_Kapoor wrote:I am trying to configure openvpn server but the command
openvpn server.conf runs indefinitely.
That is a bit old ..Shaunak_Kapoor wrote:openvpn.log
Sun Mar 19 03:22:24 2017 us=385011 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
Do you keep your unknown server operating system up to date ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Mar 18, 2017 9:59 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
Thanks for the previous reply.
Updated the open-vpn package to the 2.4.0 version and ran apt-get update and upgrade on my ubuntu 16.04
however the error still persists.Please help!!
Updated the open-vpn package to the 2.4.0 version and ran apt-get update and upgrade on my ubuntu 16.04
however the error still persists.Please help!!
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
What error ?Shaunak_Kapoor wrote:however the error still persists
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Mar 18, 2017 9:59 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
event_wait : Interrupted system call (code=4). THIS ERROR
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
This is not an error, it happens when you press control C ..Shaunak_Kapoor wrote:event_wait : Interrupted system call (code=4).
Please read the howto:
https://openvpn.net/index.php/open-sour ... howto.html
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Mar 18, 2017 9:59 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
Thanks a lot for the guidance.Really appreciate it.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Aug 19, 2022 7:11 am
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
how to solve the problem
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Openvpn server config shows event_wait : Interrupted system call (code=4)
All i can suggest is to try a higher --verb, like 9 and see if there are any other errors.