Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#42 logwtmp prevents pptpd from starting

kernel
open
nobody
Bug (28)
5
2012-09-17
2007-05-15
Tim Cary
No

System is CentOS 5, Kernel 2.6.18-8 ppp version 2.4.4-1

Downloaded pptpd from source, version 1.3.4. Built the RPM using the makepacakge script in the source files.

Configured pptpd.conf to my site settings. When a client connected, I got error:

--
May 14 11:52:25 cracker pptpd[11941]: CTRL: Client 216.x.x.x control connection started
May 14 11:52:28 cracker pptpd[11941]: CTRL: Starting call (launching pppd, opening GRE)
May 14 11:52:28 cracker pppd[11942]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
May 14 11:52:28 cracker pptpd[11941]: GRE: read(fd=6,buffer=8058f00,len=8196) from PTY failed: status = -1
error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and ppp
d logs
May 14 11:52:28 cracker pptpd[11941]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 14 11:52:28 cracker pptpd[11941]: CTRL: Client 216.x.x.x control connection finished
--

Running pptpd from the command line against the conf file did not produce any errors.

After a google search on the pptpd-logwtemp error, I commented out that directive in the conf file and my connections now complete successfully.

I had also tried version 1.3.3 and this issue was present there as well.

Discussion