It is currently Fri Sep 20, 2019 11:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: FD for PPPoL2TP socket invalid
PostPosted: Thu Oct 22, 2009 2:23 pm 

Joined: Thu Oct 22, 2009 12:18 pm
Posts: 12
using the example in the INSTALL file:
/usr/bin/l2tpconfig
l2tp> system show version
l2tp> tunnel create tunnel_name=one dest_ipaddr=127.0.0.1
l2tp> tunnel list
l2tp> ppp profile create profile_name=one local_ipaddr=10.3.1.1 remote_ipaddr=10.3.1.2
l2tp> ppp profile modify profile_name=default auth_none=yes
l2tp> session create tunnel_name=one session_name=one ppp_profile_name=one
l2tp> session list tunnel_name=one
l2tp> session show tunnel_name=one session_name=one

I get the following error

Oct 22 12:37:32 lns02 pppd[30512]: Plugin pppol2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Plugin pppol2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Plugin openl2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Given FD for PPPoL2TP socket invalid (Bad file descriptor)
Oct 22 12:37:32 lns02 pppd[30511]: Exit.

any idea's as to why this should occure or how to debug


Top
 Profile  
 
 Post subject: Re: FD for PPPoL2TP socket invalid
PostPosted: Fri Oct 23, 2009 11:57 am 

Joined: Thu Oct 22, 2009 12:18 pm
Posts: 12
ok problem fixed
the problem was with selinux, no helpful warning in the /var/log/messages file
problem solved in file /etc/sysconfig/config, change and reboot

SELINUX=enforcing

to

SELINUX=permissive


Top
 Profile  
 
 Post subject: Re: FD for PPPoL2TP socket invalid
PostPosted: Fri Oct 30, 2009 10:54 am 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
neilf wrote:
using the example in the INSTALL file:
/usr/bin/l2tpconfig
l2tp> system show version
l2tp> tunnel create tunnel_name=one dest_ipaddr=127.0.0.1
l2tp> tunnel list
l2tp> ppp profile create profile_name=one local_ipaddr=10.3.1.1 remote_ipaddr=10.3.1.2
l2tp> ppp profile modify profile_name=default auth_none=yes
l2tp> session create tunnel_name=one session_name=one ppp_profile_name=one
l2tp> session list tunnel_name=one
l2tp> session show tunnel_name=one session_name=one

I get the following error

Oct 22 12:37:32 lns02 pppd[30512]: Plugin pppol2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Plugin pppol2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Plugin openl2tp.so loaded.
Oct 22 12:37:32 lns02 pppd[30511]: Given FD for PPPoL2TP socket invalid (Bad file descriptor)
Oct 22 12:37:32 lns02 pppd[30511]: Exit.

any idea's as to why this should occure or how to debug

Have you loaded the pppol2tp kernel module?

modprobe pppol2tp


Top
 Profile  
 
 Post subject: Re: FD for PPPoL2TP socket invalid
PostPosted: Fri Oct 30, 2009 5:54 pm 

Joined: Thu Oct 22, 2009 12:18 pm
Posts: 12
problem fixed, see my later post Fri Oct 23, 2009


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group