Subject: openvpn requires vpn.conf to start service
Package: openvpn
Version: 2.3.4-3
Severity: important
Tags: upstream

The system seems to be looking for /etc/openvpn/vpn.conf instead of
client.conf  This seems to be after the upgrade. cp client.conf vpn.conf
seemed to solve the problem though this may not be the solution. Attached
the log files

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  initscripts            2.88dsf-57
ii  iproute2               3.16.0-2
ii  libc6                  2.19-12
ii  liblzo2-2              2.08-1
ii  libpam0g               1.1.8-3.1
ii  libpkcs11-helper1      1.11-2
ii  libssl1.0.0            1.0.1j-1

Versions of packages openvpn recommends:
ii  easy-rsa  2.2.2-1

Versions of packages openvpn suggests:
ii  openssl     1.0.1j-1
pn  resolvconf  <none>

-- debconf information:
  openvpn/create_tun: false
vikram@planethacker:/var/log$ sudo systemctl status openvpn@vpn.service
● openvpn@vpn.service - OpenVPN connection to vpn
   Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-11-12 16:23:17 IST; 4s ago
  Process: 2108 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status 
/run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf 
(code=exited, status=1/FAILURE)

Nov 12 16:23:17 planethacker ovpn-vpn[2108]: Options error: In [CMD-LINE]:1: 
Error opening configuration file: /etc/openvpn/vpn.conf
Nov 12 16:23:17 planethacker systemd[1]: openvpn@vpn.service: control process 
exited, code=exited status=1
Nov 12 16:23:17 planethacker systemd[1]: Failed to start OpenVPN connection to 
vpn.
Nov 12 16:23:17 planethacker systemd[1]: Unit openvpn@vpn.service entered 
failed state.



vikram@planethacker:/var/log$ sudo systemctl status openvpn@vpn.service
● openvpn@vpn.service - OpenVPN connection to vpn
   Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled)
   Active: active (running) since Wed 2014-11-12 16:43:40 IST; 5s ago
  Process: 2355 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status 
/run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf 
(code=exited, status=0/SUCCESS)
 Main PID: 2363 (openvpn)
   CGroup: /system.slice/system-openvpn.slice/openvpn@vpn.service
           └─2363 /usr/sbin/openvpn --daemon ovpn-vpn --status 
/run/openvpn/vpn.status 10 --cd /etc/openvpn --config /etc/openvpn/vpn.conf

Nov 12 16:43:33 planethacker ovpn-vpn[2355]: OpenVPN 2.3.4 x86_64-pc-linux-gnu 
[SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Oct 13 2014
Nov 12 16:43:33 planethacker ovpn-vpn[2355]: library versions: OpenSSL 1.0.1j 
15 Oct 2014, LZO 2.08
Nov 12 16:43:40 planethacker ovpn-vpn[2355]: NOTE: the current 
--script-security setting may allow this configuration to call user-defined 
scripts
Nov 12 16:43:40 planethacker ovpn-vpn[2355]: PLUGIN_INIT: POST 
/usr/lib/openvpn/openvpn-plugin-down-root.so 
'[/usr/lib/openvpn/openvpn-plug...GIN_DOWN
Nov 12 16:43:40 planethacker ovpn-vpn[2355]: WARNING: file 
'/etc/openvpn/keys/IITB_openvpn_client.key' is group or others accessible
Nov 12 16:43:40 planethacker ovpn-vpn[2355]: Socket Buffers: R=[87380->131072] 
S=[16384->131072]
Nov 12 16:43:40 planethacker ovpn-vpn[2363]: NOTE: UID/GID downgrade will be 
delayed because of --client, --pull, or --up-delay
Nov 12 16:43:40 planethacker ovpn-vpn[2363]: Attempting to establish TCP 
connection with [AF_INET]103.21.125.125:2194 [nonblock]
Hint: Some lines were ellipsized, use -l to show in full.

Reply via email to