LINUX.ORG.RU
ФорумAdmin

ошибка при поднятии pptp соединения

 


0

1

здравствуйте. Фэйлюсь при попытке подключиться к pptpd. В логах сервер пишет:

Mar 14 16:06:21 CrossFire pptpd[14318]: CTRL: Client 37.17.112.170 control connection started
Mar 14 16:06:22 CrossFire pptpd[14318]: CTRL: Starting call (launching pppd, opening GRE)
Mar 14 16:06:23 CrossFire pppd[14319]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Mar 14 16:06:23 CrossFire kernel: [1162675.290000] ppp_generic: disagrees about version of symbol skb_copy_bits
Mar 14 16:06:23 CrossFire kernel: [1162675.310000] ppp_generic: Unknown symbol skb_copy_bits (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.350000] ppp_generic: disagrees about version of symbol skb_put
Mar 14 16:06:23 CrossFire kernel: [1162675.370000] ppp_generic: Unknown symbol skb_put (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.390000] ppp_generic: disagrees about version of symbol __netif_schedule
Mar 14 16:06:23 CrossFire kernel: [1162675.440000] ppp_generic: Unknown symbol __netif_schedule (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.460000] ppp_generic: disagrees about version of symbol unregister_netdev
Mar 14 16:06:23 CrossFire kernel: [1162675.470000] ppp_generic: Unknown symbol unregister_netdev (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.520000] ppp_generic: disagrees about version of symbol skb_dequeue
Mar 14 16:06:23 CrossFire kernel: [1162675.550000] ppp_generic: Unknown symbol skb_dequeue (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.580000] ppp_generic: disagrees about version of symbol skb_pull_rcsum
Mar 14 16:06:23 CrossFire kernel: [1162675.610000] ppp_generic: Unknown symbol skb_pull_rcsum (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.630000] ppp_generic: disagrees about version of symbol skb_copy_datagram_iovec
Mar 14 16:06:23 CrossFire kernel: [1162675.660000] ppp_generic: Unknown symbol skb_copy_datagram_iovec (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.690000] ppp_generic: disagrees about version of symbol netdev_err
Mar 14 16:06:23 CrossFire kernel: [1162675.740000] ppp_generic: Unknown symbol netdev_err (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.760000] ppp_generic: disagrees about version of symbol pskb_expand_head
Mar 14 16:06:23 CrossFire kernel: [1162675.780000] ppp_generic: Unknown symbol pskb_expand_head (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.800000] ppp_generic: disagrees about version of symbol alloc_netdev_mqs
Mar 14 16:06:23 CrossFire kernel: [1162675.850000] ppp_generic: Unknown symbol alloc_netdev_mqs (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.870000] ppp_generic: disagrees about version of symbol kfree_skb
Mar 14 16:06:23 CrossFire kernel: [1162675.900000] ppp_generic: Unknown symbol kfree_skb (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.930000] ppp_generic: disagrees about version of symbol __alloc_skb
Mar 14 16:06:23 CrossFire kernel: [1162675.950000] ppp_generic: Unknown symbol __alloc_skb (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162675.990000] ppp_generic: disagrees about version of symbol skb_queue_tail
Mar 14 16:06:23 CrossFire kernel: [1162676.040000] ppp_generic: Unknown symbol skb_queue_tail (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162676.060000] ppp_generic: disagrees about version of symbol skb_pull
Mar 14 16:06:23 CrossFire kernel: [1162676.080000] ppp_generic: Unknown symbol skb_pull (err -22)
Mar 14 16:06:23 CrossFire kernel: [1162676.120000] ppp_generic: disagrees about version of symbol netdev_printk
Mar 14 16:06:24 CrossFire kernel: [1162676.150000] ppp_generic: Unknown symbol netdev_printk (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.180000] ppp_generic: disagrees about version of symbol skb_push
Mar 14 16:06:24 CrossFire kernel: [1162676.200000] ppp_generic: Unknown symbol skb_push (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.230000] ppp_generic: disagrees about version of symbol register_netdev
Mar 14 16:06:24 CrossFire kernel: [1162676.270000] ppp_generic: Unknown symbol register_netdev (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.290000] ppp_generic: disagrees about version of symbol free_netdev
Mar 14 16:06:24 CrossFire kernel: [1162676.340000] ppp_generic: Unknown symbol free_netdev (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.360000] ppp_generic: disagrees about version of symbol unregister_pernet_device
Mar 14 16:06:24 CrossFire kernel: [1162676.380000] ppp_generic: Unknown symbol unregister_pernet_device (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.420000] ppp_generic: disagrees about version of symbol dev_alloc_skb
Mar 14 16:06:24 CrossFire kernel: [1162676.450000] ppp_generic: Unknown symbol dev_alloc_skb (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.470000] ppp_generic: disagrees about version of symbol skb_queue_purge
Mar 14 16:06:24 CrossFire kernel: [1162676.490000] ppp_generic: Unknown symbol skb_queue_purge (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.520000] ppp_generic: disagrees about version of symbol __pskb_pull_tail
Mar 14 16:06:24 CrossFire kernel: [1162676.550000] ppp_generic: Unknown symbol __pskb_pull_tail (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.590000] ppp_generic: disagrees about version of symbol netif_rx
Mar 14 16:06:24 CrossFire kernel: [1162676.620000] ppp_generic: Unknown symbol netif_rx (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.640000] ppp_generic: disagrees about version of symbol skb_trim
Mar 14 16:06:24 CrossFire kernel: [1162676.670000] ppp_generic: Unknown symbol skb_trim (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.700000] ppp_generic: disagrees about version of symbol register_pernet_device
Mar 14 16:06:24 CrossFire kernel: [1162676.740000] ppp_generic: Unknown symbol register_pernet_device (err -22)
Mar 14 16:06:24 CrossFire kernel: [1162676.760000] ppp_generic: disagrees about version of symbol skb_queue_head
Mar 14 16:06:24 CrossFire kernel: [1162676.780000] ppp_generic: Unknown symbol skb_queue_head (err -22)
Mar 14 16:06:24 CrossFire pppd[14319]: Couldn't open the /dev/ppp device: No such device or address
Mar 14 16:06:24 CrossFire pppd[14319]: Please load the ppp_generic kernel module.
Mar 14 16:06:24 CrossFire pptpd[14318]: GRE: read(fd=6,buffer=14cfc,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 14 16:06:24 CrossFire pptpd[14318]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Mar 14 16:06:24 CrossFire pptpd[14318]: CTRL: Reaping child PPP[14319]

Подскажите, что бы это могло значить?

P.S. к другому серверу, с точно такими же конфигами соединение проходит успешно

★★★

Подскажите, что бы это могло значить?

Это значит, что чьи-то кривые изжопные шаловливые ручки подсунули модуль от другой версии или сборки ядра.

no-dashi ★★★★★
()
Ответ на: комментарий от disee

Значит, плохо собирал. У тебя модуль ppp ругается на чуть не базовые функции сетевого стека. Может конечно depmod не сделан, илиследы от предыдущих.сборок не почистил

no-dashi ★★★★★
()
Ответ на: комментарий от no-dashi

илиследы от предыдущих.сборок не почистил

вот это возможно. имеется ввиду не сделал make-kpkg clean ?

disee ★★★
() автор топика
Ответ на: комментарий от no-dashi

скажите, а вот такой выхлоп что может значить

Mar 14 22:20:53 smarthouse pptpd[6618]: CTRL: Client 192.168.1.2 control connection started
Mar 14 22:20:54 smarthouse pptpd[6618]: CTRL: Starting call (launching pppd, opening GRE)
Mar 14 22:20:54 smarthouse pppd[6619]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Mar 14 22:20:54 smarthouse pppd[6619]: pppd 2.4.5 started by root, uid 0
Mar 14 22:20:54 smarthouse pppd[6619]: Couldn't set tty to PPP discipline: Invalid argument
Mar 14 22:20:54 smarthouse pppd[6619]: Exit.
Mar 14 22:20:54 smarthouse pptpd[6618]: GRE: read(fd=6,buffer=14cfc,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 14 22:20:54 smarthouse pptpd[6618]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Mar 14 22:20:54 smarthouse pptpd[6618]: CTRL: Client 192.168.1.2 control connection finished
Mar 14 22:21:00 smarthouse motion: [1] [NTC] [EVT] event_newfile: File of type 2 saved to: /srv/sh/cam/cam_1//snapshot.jpg
Mar 14 22:21:01 smarthouse /USR/SBIN/CRON[6623]: (smarthouse) CMD (php /srv/sh/cron/min.php)
Mar 14 22:21:08 smarthouse /USR/SBIN/CRON[6622]: (CRON) info (No MTA installed, discarding output)

disee ★★★
() автор топика

А почему у меня в логах он время не пишет?

Modem hangup
Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
peer from calling number xxx.xx.xx.xxx authorized
found interface eth0 for proxy arp
local IP address 192.168.0.102
remote IP address 192.168.0.181

Как сделать чтобы время писал?

Vitorrio
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.