Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: mgb on March 06, 2008, 04:33:27 PM

Title: help pptpd is stop to work sme 7.2
Post by: mgb on March 06, 2008, 04:33:27 PM
log top

 GRE: read(fd=6,buffer=804e5a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Mar  6 17:25:42 total pptpd[4471]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Mar  6 17:25:42 total pptpd[4471]: CTRL: Reaping child PPP[4472]
Mar  6 17:25:42 total pptpd[4471]: CTRL: Client 217.194.194.153 control connection finished
Mar  6 17:26:01 total pptpd[4506]: CTRL: Client 217.194.194.153 control connection started
Mar  6 17:26:01 total pptpd[4506]: CTRL: Starting call (launching pppd, opening GRE)
Mar  6 17:26:01 total pppd[4507]: Plugin radius.so loaded.
Mar  6 17:26:01 total pppd[4507]: RADIUS plugin initialized.
Mar  6 17:26:01 total pppd[4507]: pppd 2.4.4 started by root, uid 0
Mar  6 17:26:01 total kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Mar  6 17:26:01 total pppd[4507]: Using interface ppp0
Mar  6 17:26:01 total pppd[4507]: Connect: ppp0 <--> /dev/pts/1
Mar  6 17:26:04 total pptpd[4506]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Mar  6 17:26:04 total pppd[4507]: MPPE required, but kernel has no support.
Mar  6 17:26:04 total pppd[4507]: Connection terminated.
Mar  6 17:26:04 total pppd[4507]: Connect time 0.1 minutes.
Mar  6 17:26:04 total pppd[4507]: Sent 0 bytes, received 0 bytes.
Mar  6 17:26:04 total kernel: divert: no divert_blk to free, ppp0 not ethernet
Mar  6 17:26:04 total pptpd[4506]: CTRL: Reaping child PPP[4507]
Mar  6 17:26:04 total pppd[4507]: Exit.
Title: Re: help pptpd is stop to work sme 7.2
Post by: pfloor on March 06, 2008, 04:41:00 PM
This is your proplem:

> MPPE required, but kernel has no support.

Your server is missing the proper kmods.  Search the forums as this question has been posted/answered many times.
Title: Re: help pptpd is stop to work sme 7.2
Post by: mgb on March 07, 2008, 05:37:11 AM
I cant send what you ask for....because i'm not in place.
I will send it next week.
I want to know how to configure the vpn adresses in maual intead of
autumatic.

thanks for your reply

Title: Re: help pptpd is stop to work sme 7.2
Post by: pfloor on March 07, 2008, 07:31:59 AM
Show output of:

uname -a

rpm -qa kernel*

rpm -qa kmod*
Title: Re: help pptpd is stop to work sme 7.2
Post by: mgb on March 07, 2008, 08:16:55 AM
to config vpn Client ip address in sme 
pico /.../vpn.conf ?   to config the ip client


log
 divert: not allocating divert_blk for non-ethernet device ppp0

no divert_blk to  free ppp0 not ethernet

error= no .. free (ip)
Title: Re: help pptpd is stop to work sme 7.2
Post by: pfloor on March 07, 2008, 06:49:07 PM
This is your proplem:

> MPPE required, but kernel has no support.

Your server is missing the proper kmods.  Search the forums as this question has been posted/answered many times.

You need to fix this error first or you will not be able to connect at all.  To fix it, you need to provide the answers to these:

Show output of:

uname -a

rpm -qa kernel*

rpm -qa kmod*

Until you fix the MPPE requirement there is nothing else that you can/should do.
Title: Re: help pptpd is stop to work sme 7.2
Post by: mgb on March 08, 2008, 08:51:21 AM
 uname -r
2.6.9-42.0.3.EL
rpm -qa kmod*
kmod-ppp-1.0.2-2.2.6.9_55.EL
kmod-slip-1.0-2.2.6.9_55.EL
kmod-ppp-smp-1.0.2-2.2.6.9_55.EL
kmod-appletalk-1.0-2.2.6.9_55.EL
kmod-slip-smp-1.0-2.2.6.9_55.EL
kmod-appletalk-smp-1.0-2.2.6.9_55.EL
rpm -qa kernel*
kernel-utils-2.4-13.1.99
kernel-smp-2.6.9-55.EL
kernel-smp-2.6.9-42.0.3.EL
kernel-2.6.9-42.0.10.EL
kernel-2.6.9-55.EL
kernel-2.6.9-42.0.3.EL

edit grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/main/root
#          initrd /initrd-version.img
#boot=/dev/sda
default=4
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-55.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.EL.img
title CentOS (2.6.9-55.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.ELsmp.img
title CentOS (2.6.9-42.0.10.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.10.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.10.EL.img
title SME Server (2.6.9-42.0.3.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.3.ELsmp.img


rpm -qa ¦grep ppp
ppp-2.4.4-1.3.el4.sme
[root@total ~]# uname -r
2.6.9-42.0.3.EL


Title: Re: help pptpd is stop to work sme 7.2
Post by: Confucius on March 08, 2008, 12:47:14 PM
You need to update : yum -y update
Title: Re: help pptpd is stop to work sme 7.2
Post by: mgb on March 08, 2008, 01:27:21 PM
  yum update ppp*....                   ? only

i don't yum update to all
Title: Re: help pptpd is stop to work sme 7.2
Post by: raem on March 08, 2008, 01:43:13 PM
mgb

You should update your whole system, it is a coherent set of packages and kernel/kernel mods etc.
It also includes all security related fixes.

yum update
signal-event post-upgrade
reboot
Title: Re: help pptpd is stop to work sme 7.2
Post by: mgb on March 08, 2008, 03:57:44 PM
thanks for your reply
i do yum update is OK
is vpn work ok thanks