Koozali.org: home of the SME Server

[SOLVED] VPN connections stopped working.

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« on: December 29, 2006, 09:54:57 PM »
Hi.

I am running SME 7.0 and VPN connections were working without a problem from various XP boxes. In the last few days I've installed a few extras and suddenly the VPN connections are failing.

It doesn't make sense to me mainly becasue the additions were mostly email or virus specific. For example, I added the cron.daily for sa-update to keep the spamassasin database updated. I also added the mailstats.cron to update the spamassasin filter stats. The only other thing that I see in my history that I've doen that's a system change is removed the SARG package.

The error that I get happens after the MS machine authenticates and is trying to "log in to the network". It says Error 734: The PPP link control protocol was terminated. Here's an image with more info:


The only other thing I can think of that might be pertinent is that somewhere in the process prior to me removing the SARG package, I had installed Sme7admin and between it and SARG my root and admin password seemed to get fuddled so I had to do a password reset.

Can anyone shed any light on why or how this might have effected VPN logins. Nothing on the clients or my network structure has changed so I'm certain that the problem lies within the realm of the SME box.

I really don't want to setup a new box and migrate the users and email over to it to get VPN running again if I can help it.

Thanks.
Elliott

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #1 on: January 02, 2007, 11:03:09 PM »
Bump.


Really... no ideas or suggestions? Or Perhaps the holiday ham is still settling.
Elliott

Offline byte

  • *
  • 2,183
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #2 on: January 02, 2007, 11:14:15 PM »
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #3 on: January 02, 2007, 11:16:00 PM »
First thing to check is the logs directory, then if you still can't find the problem then please open a bug ticket so this can be resolved as it may be a potential bug
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #4 on: January 03, 2007, 12:25:43 AM »
Are you referring to /var/log?

I have looked at the /var/log/pptpd directory and found no useful files.

Thanks.
Elliott

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
[SOLVED] VPN connections stopped working.
« Reply #5 on: January 03, 2007, 12:52:26 AM »
Happened here also.
......

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[SOLVED] VPN connections stopped working.
« Reply #6 on: January 03, 2007, 01:55:53 AM »
What does the output of the following give..

Code: [Select]
uname -r

Code: [Select]
rpm -qa | grep kernel

Code: [Select]
rpm -qa | grep kmod
Regards,
William

IF I give advise.. It's only if it was me....

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #7 on: January 03, 2007, 02:42:58 PM »
Code: [Select]
uname -r
RETURNS
Code: [Select]
2.6.9-34.0.2.EL

Code: [Select]
rpm -qa | grep kernel
RETURNS
Code: [Select]
kernel-smp-2.6.9-34.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-smp-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-2.6.9-34.EL
kernel-utils-2.4-13.1.80
kernel-2.6.9-42.0.2.EL
kernel-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-module-slip-1.0-1_2.6.9_42.0.2.EL
kernel-smp-2.6.9-34.0.2.EL
kernel-2.6.9-34.0.2.EL
kernel-module-slip-1.0-1_2.6.9_42.0.2.EL


Code: [Select]
rpm -qa | grep kmod
RETURNS
nothing
Elliott

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #8 on: January 03, 2007, 02:44:13 PM »
And on that note (not related to the stoppage of VPN connections...) I thought I'd be running an SMP kernel since I'm running on a hyperthreaded Xeon.
Elliott

Offline byte

  • *
  • 2,183
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #9 on: January 03, 2007, 02:47:34 PM »
Quote from: "Elliott"
Code: [Select]
uname -r
RETURNS
Code: [Select]
2.6.9-34.0.2.EL

Code: [Select]
rpm -qa | grep kernel
RETURNS
Code: [Select]
kernel-smp-2.6.9-34.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-smp-module-ppp-1.0.2-2_2.6.9_42.0.2.EL
kernel-2.6.9-34.EL
kernel-utils-2.4-13.1.80
kernel-2.6.9-42.0.2.EL
kernel-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-module-appletalk-1.0-1_2.6.9_42.0.2.EL
kernel-smp-module-slip-1.0-1_2.6.9_42.0.2.EL
kernel-smp-2.6.9-34.0.2.EL
kernel-2.6.9-34.0.2.EL
kernel-module-slip-1.0-1_2.6.9_42.0.2.EL



From that it appears you are running the wrong kernel as you must have updated via yum and the latest you have is ...42.0.2 so you need to reboot and select the latest kernel. Watch out for the .EL and ELsmp looks like you need the .EL version
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #10 on: January 03, 2007, 02:48:30 PM »
Quote from: "Elliott"
And on that note (not related to the stoppage of VPN connections...) I thought I'd be running an SMP kernel since I'm running on a hyperthreaded Xeon.


OK then you need to select the SMP kernel.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #11 on: January 03, 2007, 03:00:44 PM »
I don't see any menu when I boot. I'm assuming this is something I should already know how to do but on my other *nix machines I usually see a quick menu that comes up on boot time. In fact I seem to remember that being the case with SME.

Perhaps this changed with the move to CentOs?
Elliott

Offline byte

  • *
  • 2,183
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #12 on: January 03, 2007, 03:28:56 PM »
if you reboot and you will see a white background press the up and down arrow key (maybe the "esc" key) and you should then see the list of kernels
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline brianr

  • *
  • 990
  • +2/-0
[SOLVED] VPN connections stopped working.
« Reply #13 on: January 03, 2007, 03:54:44 PM »
Don't you need to hit "return" at boot time to get the menu of kernels - you do on my test 7.1 system that I've just tried!

Just realised - the "any" key will probably work.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Elliott

  • ****
  • 150
  • +0/-0
[SOLVED] VPN connections stopped working.
« Reply #14 on: January 04, 2007, 06:47:31 PM »
So I finally got the menu up and rebooted and it looks like the VPN connections are being accepted again. How does using the SMP kernel or the standard one have anything to do with VPN or PPTP connections... and what would have caused my system to start booting into the standard kernel in the first place?

Thanks for the help!
Elliott