Your message dated Wed, 12 Nov 2014 13:12:23 +0100
with message-id <[email protected]>
and subject line Re: Bug#769275: openvpn requires vpn.conf to start service
has caused the Debian Bug report #769275,
regarding openvpn requires vpn.conf to start service
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
769275: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769275
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 [email protected]
● [email protected] - OpenVPN connection to vpn
Loaded: loaded (/lib/systemd/system/[email protected]; 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]: [email protected]: 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 [email protected] entered
failed state.
vikram@planethacker:/var/log$ sudo systemctl status [email protected]
● [email protected] - OpenVPN connection to vpn
Loaded: loaded (/lib/systemd/system/[email protected]; 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/[email protected]
└─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.
--- End Message ---
--- Begin Message ---
Try with systemctl status [email protected]
On Wed, Nov 12, 2014 at 04:59:27PM +0530, Vikram Vincent wrote:
> 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 [email protected]
> ● [email protected] - OpenVPN connection to vpn
> Loaded: loaded (/lib/systemd/system/[email protected]; 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]: [email protected]: 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 [email protected] entered
> failed state.
>
>
>
> vikram@planethacker:/var/log$ sudo systemctl status [email protected]
> ● [email protected] - OpenVPN connection to vpn
> Loaded: loaded (/lib/systemd/system/[email protected]; 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/[email protected]
> └─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.
>
--
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico
mailto/sip: [email protected] | en GNU/Linux y software libre
Encrypted mail preferred | http://inittab.com
Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55
--- End Message ---