Koozali.org: home of the SME Server

pptp vpn problem

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #15 on: December 25, 2006, 05:22:23 AM »
Quote from: "byte"
Quote from: "p-jones"
I have two PIII-600Mhz server-gateways both booting  CentOS 2.6.9-42.0.2.EL kernel and both have lost the pptp with the same error as reported in this post.


Because you have a newer kernel 2.6.9-42.0.3 you would need to boot use the correct smp or el version, then pptp should work as normal.

That won't work.  p-jones has the 2.6.9-42.0.2 modules and needs to use the corrisponding kernel for pptp to work.

p-jones, it looks like your yum problem may have installed a newer kernel but not the related modules.

What do you get with:

# uname -r
In life, you must either "Push, Pull or Get out of the way!"

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #16 on: December 25, 2006, 09:54:37 AM »
Alright, so which is the correct kernel version ?

Why is there now a mismatch. I only have SME updates selected (except development options). It is a very standard setup with no addons.
...

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #17 on: December 25, 2006, 06:05:54 PM »
Quote from: "p-jones"
Alright, so which is the correct kernel version ?

Why is there now a mismatch. I only have SME updates selected (except development options). It is a very standard setup with no addons.


At one time you must have had the smeupdates-testing enabled because the 2.6.9-42.0.3 kernel is from there.

what is the output of:

#uname -r

and

rpm -qa kmod*
In life, you must either "Push, Pull or Get out of the way!"

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #18 on: December 25, 2006, 08:49:59 PM »
[root@vserv1 ~]# uname -r
2.6.9-42.0.3.EL
[root@vserv1 ~]# rpm -qa kmod*
[root@vserv1 ~]#
...

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #19 on: December 25, 2006, 09:02:11 PM »
Quote from: "p-jones"
[root@vserv1 ~]# uname -r
2.6.9-42.0.3.EL
[root@vserv1 ~]# rpm -qa kmod*
[root@vserv1 ~]#


There is your problem.  You have the 2.6.9-42.0.3 kernel installed and the 2.6.9-42.0.2 modules installed.  This won't work.

Either revert back to the 2.6.9-42.0.2 kernel (reboot and pick the correct kernel on the penguin screen) OR install the 2.6.9-42.0.3 modules.  To install the 2.6.9-42.0.3 modules you can:

# yum install kmod*

The 2.6.9-42.0.3 kernel and modules are NOT in the "standard" repos.  You must have the smeupdates-testing repo enabled.  If this is a production server then you are not advised to use the testing repos, there are some unstable packages in there.
In life, you must either "Push, Pull or Get out of the way!"

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #20 on: December 25, 2006, 09:36:43 PM »
Thanks Paul. I will give that a go later today and post back for the benefit of others.

Rgds
Peter
...

Offline p-jones

  • *
  • 594
  • +0/-0
pptp vpn problem
« Reply #21 on: December 25, 2006, 09:40:05 PM »
[root@vserv1 ~]# yum install kmod*
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  56 kB    00:01
http://mirror.contribs.org/smeserver/releases/7/smeupdate                                              s/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|  54 kB    00:01
smeupdates: ################################################## 90/90
Added 0 new packages, deleted 3 old in 1.30 seconds
Parsing package install arguments
No Match for argument: kmod*
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
...

Offline pfloor

  • *****
  • 889
  • +1/-0
pptp vpn problem
« Reply #22 on: December 25, 2006, 09:51:40 PM »
WARNING: It apears thet you have installed some packages (including your current kernel) from the testing repos.  This is highly discouraged on a production server.

That being said, if you still want to install the corrisponding modules from the testng repo then you need to do the following:

# yum --enablerepo=smeupdates-testing install kmod*
# signal-event post-upgrade
# signal-event reboot

Or just reboot and choose the correct kernel (2.6.9-42.0.2)
In life, you must either "Push, Pull or Get out of the way!"