L2tpIPsecVpnControlDaemon is either not started or connection to it failed

Asked by Rene van Dalen on 2012-11-21

Hi,

Am trying version 1.0.9 on Redhat 6.3

When trying to launch a connection I get the error:
[ERROR 99] L2tpIPsecVpnControlDaemon is either not started or connection to it failed

Checking /var/log/messages I see the following errors:
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/1/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/10/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/11/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/110/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/12/comm"
.
. removed multiple lines....repeating with different numbers
.
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/79/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/8/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/9/comm"
Nov 21 18:19:47 xxxxx L2tpIPsecVpn: Failed to open proc command line file "/proc/971/comm"
Nov 21 18:20:32 xxxxx L2tpIPsecVpn: L2tpIPsecVpn : listen on local socket failed; QLocalServer::listen: Address in use
Nov 21 18:20:32 xxxxx L2tpIPsecVpn: Warning: VPNControlTask: Failed to open pipe /var/log/l2tpipsecvpn.pipe
Nov 21 18:20:32 xxxxx L2tpIPsecVpn: QSocketNotifier: Invalid socket specified

I also noticed that the file /var/log/l2tpipsecvpn.pipe is only generated when I launch as root
Seems a normal user doesn't have the rights to create it... I tried giving write access to /var/log for normal users, but that also didn't help.

Any idea what this could be ?

Regards,

Rene

Question information

Language:
English Edit question
Status:
Solved
For:
L2TP over IPsec VPN Manager Edit question
Assignee:
No assignee Edit question
Solved by:
Rene van Dalen
Solved:
2012-11-22
Last query:
2012-11-22
Last reply:
2012-11-22
Werner Jaeger (werner-jaeger) said : #1

I assume you downloaded it from my ubuntu ppa or compiled it from the source. If so, try to install the Fedora packkage:

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:wejaeger/Fedora_16/home:wejaeger.repo
yum install l2tp-ipsec-vpn

This should be more compatible to Redhat 6.3, but not sure if this really works.

Regards

Werner

Werner,

I indeed compiled from source. Your Fedora Package doesn't work on Redhat 6.3 as it requires libc 2.14 (RH 6.3 has 2.12).
However there was one thing I noticed when looking at your repos.... that there is a separate daemon that needs to be installed as well... After I compiled and installed also the daemon the above messages went away.
So in the end it turned out to be an incomplete install on my side.....

Thanks a lot for your help !