Hi,
My apologies for posting this 'fairly common' error. I have been through a bunch of other similar posts but still cant nut the error out.
I am trying to get an ubuntu 18 server configured with openvpn client to vpn service provided whilst still retaining local access to my server (eg 22, 80 etc). The main issue is WARNING: Failed running command (--up/--down): could not execute external program
Mon Sep 3 21:07:18 2018 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6
Mon Sep 3 21:07:18 2018 WARNING: file 'pass.txt' is group or others accessible
Mon Sep 3 21:07:18 2018 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 10 2018
Mon Sep 3 21:07:18 2018 library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08
Mon Sep 3 21:07:18 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Mon Sep 3 21:07:18 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mon Sep 3 21:07:18 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Sep 3 21:07:18 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Sep 3 21:07:18 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]185.230.125.140:1195
Mon Sep 3 21:07:18 2018 Socket Buffers: R=[212992->425984] S=[212992->425984]
Mon Sep 3 21:07:18 2018 UDP link local: (not bound)
Mon Sep 3 21:07:18 2018 UDP link remote: [AF_INET]185.230.125.140:1195
Mon Sep 3 21:07:18 2018 TLS: Initial packet from [AF_INET]185.230.125.140:1195, sid=10bd1fca 69c3e9f5
Mon Sep 3 21:07:18 2018 VERIFY OK: depth=1, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=ExpressVPN CA, emailAddress=
support@expressvpn.com
Mon Sep 3 21:07:18 2018 VERIFY OK: nsCertType=SERVER
Mon Sep 3 21:07:18 2018 VERIFY X509NAME OK: C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-3152-0a, emailAddress=
support@expressvpn.com
Mon Sep 3 21:07:18 2018 VERIFY OK: depth=0, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-3152-0a, emailAddress=
support@expressvpn.com
Mon Sep 3 21:07:19 2018 Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Mon Sep 3 21:07:19 2018 [Server-3152-0a] Peer Connection Initiated with [AF_INET]185.230.125.140:1195
Mon Sep 3 21:07:20 2018 SENT CONTROL [Server-3152-0a]: 'PUSH_REQUEST' (status=1)
Mon Sep 3 21:07:21 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.175.0.1,route 10.175.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.175.0.106 10.175.0.105'
Mon Sep 3 21:07:21 2018 OPTIONS IMPORT: timers and/or timeouts modified
Mon Sep 3 21:07:21 2018 OPTIONS IMPORT: --ifconfig/up options modified
Mon Sep 3 21:07:21 2018 OPTIONS IMPORT: route options modified
Mon Sep 3 21:07:21 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Sep 3 21:07:21 2018 Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Sep 3 21:07:21 2018 Outgoing Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Sep 3 21:07:21 2018 Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Sep 3 21:07:21 2018 Incoming Data Channel: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Sep 3 21:07:21 2018 ROUTE_GATEWAY 10.20.0.1/255.255.255.0 IFACE=ens192 HWADDR=00:0c:29:83:84:21
Mon Sep 3 21:07:21 2018 TUN/TAP device tun0 opened
Mon Sep 3 21:07:21 2018 TUN/TAP TX queue length set to 100
Mon Sep 3 21:07:21 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Sep 3 21:07:21 2018 /sbin/ip link set dev tun0 up mtu 1500
Mon Sep 3 21:07:21 2018 /sbin/ip addr add dev tun0 local 10.175.0.106 peer 10.175.0.105
Mon Sep 3 21:07:21 2018 /etc/openvpn/iptables.sh tun0 1500 1606 10.175.0.106 10.175.0.105 init
Mon Sep 3 21:07:21 2018 WARNING: Failed running command (--up/--down): could not execute external program
Mon Sep 3 21:07:21 2018 Exiting due to fatal error