H2O
Can someone explain to me what this means and how to go about fixing it. This is tail end of the connection log from a failed attempt to connect to an OpenVPN server:
Fri May 30 22:30:19 2014 us=650229 OPTIONS IMPORT: route-related options modified
Fri May 30 22:30:19 2014 us=650280 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri May 30 22:30:19 2014 us=650563 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=enp4s0 HWADDR=00:e0:4c:68:73:6b
Fri May 30 22:30:19 2014 us=651378 TUN/TAP device tun0 opened
Fri May 30 22:30:19 2014 us=651569 TUN/TAP TX queue length set to 100
Fri May 30 22:30:19 2014 us=651650 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri May 30 22:30:19 2014 us=651749 /bin/ifconfig tun0 10.10.19.6 netmask 255.255.255.0 mtu 1500 broadcast 10.10.19.255
Fri May 30 22:30:19 2014 us=653802 /etc/openvpn/update-resolv-conf tun0 1500 1542 10.10.19.6 255.255.255.0 init
which: no resolvconf in ((null))
Fri May 30 22:30:19 2014 us=672021 WARNING: Failed running command (--up/--down): external program exited with error status: 1
Fri May 30 22:30:19 2014 us=672060 Exiting due to fatal error
Also, where can I find the instructions for making these logs go to a file in addition to the console, which is where this one appeared? I would like it to happen while running as a regular user, not as root. Thanks.
H2O
Okay, never mind about that last question about how to fix it. I figured it out. Nonetheless, I do still want to know the answer to this one:
Also, where can I find instructions for making these connection logs go to a file in addition to the console, which is where this one appeared? I would like it to happen while running as a regular user, not as root. If someone can point out a link to this, I would appreciate it immensely. Thanks.
H2O
Perfect!
I appreciate your thorough and helpful information.
lobi
H2O, please provide the fix you made to your original question so that others, like me, can benefit from it.
H2O
Hello, lobi.
It is interesting that you happened to recall this post of mine, which is about 18 months old now, because it bears on another inquiry I recently made but have not yet fully resolved. First, concerning the question you asked, if I remember correctly, I fixed the problem with the scripts failing to run by changing my "script-security" setting in the "openvpn.conf" file of my client from a level of 1 to level 2. On the other hand, if your question concerns the log file, which I also asked about, the answer is to put the "log /path/to/openvpn.log" option in the client config. I hope this helps.