Skip to contentSkip to conversation

Help! It seems that pppd can't work properly when syslogd running on background

DISCUSSION [email protected] 3 participants 5 messages May 4, 2008 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

the syslog messege below:

Jan  1 00:03:09 (none) daemon.err pppoe-server[802]: PADT: Generic-Error: RP-PPPoE: System call error: Input/or
Jan  1 00:03:09 (none) daemon.info pppoe-server[802]: Sent PADT
Jan  1 00:03:09 (none) daemon.info pppd[814]: Terminating on signal 15
Jan  1 00:03:09 (none) user.notice Terminating on signal 15
Jan  1 00:03:09 (none) user.notice  
Jan  1 00:03:09 (none) daemon.warn pppd[814]: Child process /sbin/pppoe -n -I br0 -e 2:00:50:ba:fa:6d:e1 -S ''5
Jan  1 00:03:09 (none) user.notice Child process /sbin/pppoe -n -I br0 -e 2:00:50:ba:fa:6d:e1 -S '' (pid 815) 5
Jan  1 00:03:09 (none) user.notice  
Jan  1 00:03:14 (none) daemon.info pppoe-server[819]: Session 3 created for client 00:50:ba:fa:6d:e1 (192.168.'
Jan  1 00:03:14 (none) daemon.notice pppd[819]: pppd 2.4.3 started by root, uid 0
Jan  1 00:03:14 (none) daemon.info pppd[819]: Using interface ppp0
Jan  1 00:03:14 (none) user.notice Using interface ppp0
Jan  1 00:03:14 (none) user.notice  
Jan  1 00:03:14 (none) daemon.notice pppd[819]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:03:14 (none) user.notice Connect: ppp0 <--> /dev/pts/0
Jan  1 00:03:14 (none) user.notice  
Jan  1 00:03:15 (none) daemon.notice pppd[814]: Connection terminated.
Jan  1 00:03:15 (none) user.notice Connection terminated.
Jan  1 00:03:15 (none) user.notice  
Jan  1 00:03:15 (none) daemon.warn pppd[819]: Warning - secret file /etc/ppp/pap-secrets has world and/or grous
Jan  1 00:03:15 (none) user.notice Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jan  1 00:03:15 (none) user.notice  
Jan  1 00:03:15 (none) daemon.notice pppd[814]: Modem hangup
Jan  1 00:03:15 (none) user.notice Modem hangup
Jan  1 00:03:15 (none) user.notice  
Jan  1 00:03:15 (none) daemon.info pppd[814]: Exit.
Jan  1 00:03:15 (none) user.notice pppoe: 
Jan  1 00:03:15 (none) user.notice read (asyncReadFromPPP): Session 2: Input/output error
Jan  1 00:03:15 (none) user.notice  
Jan  1 00:03:15 (none) daemon.err pppoe[817]: read (asyncReadFromPPP): Session 2: Input/output error
Jan  1 00:03:15 (none) daemon.info pppoe-server[802]: Session 2 closed for client 00:50:ba:fa:6d:e1 (192.168.10
Jan  1 00:03:45 (none) daemon.err pppoe-server[802]: PADT: Generic-Error: RP-PPPoE: System call error: Input/or
Jan  1 00:03:45 (none) daemon.info pppoe-server[802]: Sent PADT
Jan  1 00:03:45 (none) daemon.info pppd[819]: Terminating on signal 15
Jan  1 00:03:45 (none) user.notice Terminating on signal 15
Jan  1 00:03:45 (none) user.notice  
Jan  1 00:03:45 (none) daemon.warn pppd[819]: Child process /sbin/pppoe -n -I br0 -e 3:00:50:ba:fa:6d:e1 -S ''5
Jan  1 00:03:45 (none) user.notice Child process /sbin/pppoe -n -I br0 -e 3:00:50:ba:fa:6d:e1 -S '' (pid 820) 5
Jan  1 00:03:45 (none) user.notice  
Jan  1 00:03:50 (none) daemon.info pppoe-server[824]: Session 4 created for client 00:50:ba:fa:6d:e1 (192.168.'
Jan  1 00:03:50 (none) daemon.notice pppd[824]: pppd 2.4.3 started by root, uid 0
Jan  1 00:03:50 (none) daemon.info pppd[824]: Using interface ppp1
Jan  1 00:03:50 (none) user.notice Using interface ppp1
Jan  1 00:03:50 (none) user.notice  
Jan  1 00:03:50 (none) daemon.notice pppd[824]: Connect: ppp1 <--> /dev/pts/1
Jan  1 00:03:50 (none) user.notice Connect: ppp1 <--> /dev/pts/1
Jan  1 00:03:50 (none) user.notice  
Jan  1 00:03:51 (none) daemon.notice pppd[819]: Connection terminated.
Jan  1 00:03:51 (none) user.notice Connection terminated.
Jan  1 00:03:51 (none) user.notice  
Jan  1 00:03:51 (none) daemon.warn pppd[824]: Warning - secret file /etc/ppp/pap-secrets has world and/or grous
Jan  1 00:03:51 (none) user.notice Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jan  1 00:03:51 (none) user.notice  
Jan  1 00:03:51 (none) daemon.notice pppd[819]: Modem hangup
Jan  1 00:03:51 (none) user.notice Modem hangup
Jan  1 00:03:51 (none) user.notice  
Jan  1 00:03:51 (none) user.notice pppoe: 
Jan  1 00:03:51 (none) user.notice read (asyncReadFromPPP): Session 3: Input/output error
Jan  1 00:03:51 (none) user.notice  
Jan  1 00:03:51 (none) daemon.err pppoe[822]: read (asyncReadFromPPP): Session 3: Input/output error
Jan  1 00:03:51 (none) daemon.info pppd[819]: Exit.
Jan  1 00:03:51 (none) daemon.info pppoe-server[802]: Session 3 closed for client 00:50:ba:fa:6d:e1 (192.168.10

but I can get a successful connection when I kill syslogd ,Why?

2008-05-04

#1 lore raw
Quoted 1 line · [email protected] writes:
Jan  1 00:03:09 (none) daemon.info pppd[814]: Terminating on signal 15

[...]

Quoted 1 line
Jan  1 00:03:09 (none) daemon.warn pppd[814]: Child process /sbin/pppoe -n -I br0 -e 2:00:50:ba:fa:6d:e1 -S ''5

[...]

Quoted 1 line
Jan  1 00:03:15 (none) daemon.notice pppd[814]: Connection terminated.

[...]

Quoted 1 line
Jan  1 00:03:45 (none) daemon.info pppd[819]: Terminating on signal 15

[...]

It looks to me like pppd is being terminated by rp-pppoe.

For what it's worth, I don't see anything in pppd that could reasonably be affected by whether syslogd is running or not, and certainly nothing that would _stop_ working simply because syslogd is there.

My guess would have to be a bug in the underlying operating system. Whatever it is, it's obscure.

Quoted 1 line

but I can get a successful connection when I kill syslogd ,Why?

There've been many postings about this problem over the past year or so. I don't think anyone knows how to fix the problem.

The common components seem to be Linux and rp-pppoe. Pppd works fine on other platforms and when PPPoE isn't in use.

Signature · 1 line
James Carlson         42.703N 71.076W         <[email protected]>
#2 lore raw

Re: Help! It seems that pppd can't work properly when syslogd

In reply to [email protected]
Quoted 2 lines · James Carlson

The common components seem to be Linux and rp-pppoe. Pppd works fine on other platforms and when PPPoE isn't in use.

I use pppd and pppoe on my system.

Linux firewall 2.4.18-3firewall #5 Sat Aug 24 20:33:10 EDT 2002 i586 unknown

#3 lore raw

Re: Help! It seems that pppd can't work properly when syslogd

In reply to [email protected]
Quoted 8 lines · Chris Fowler
Quoted 2 lines · James Carlson

The common components seem to be Linux and rp-pppoe. Pppd works fine on other platforms and when PPPoE isn't in use.

I use pppd and pppoe on my system.

Linux firewall 2.4.18-3firewall #5 Sat Aug 24 20:33:10 EDT 2002 i586 unknown

... and it doesn't happen on _all_ systems, just _some_ of them. Whatever it is, it's strange.

Signature · 1 line
James Carlson         42.703N 71.076W         <[email protected]>
#4 lore raw

Re: Help! It seems that pppd can't work properly when syslogd

In reply to [email protected]
Quoted 5 lines · James Carlson
Quoted 4 lines · Chris Fowler
Quoted 2 lines · James Carlson

The common components seem to be Linux and rp-pppoe. Pppd works fine on other platforms and when PPPoE isn't in use.

Quoted 8 lines
Quoted 4 lines

I use pppd and pppoe on my system.

Linux firewall 2.4.18-3firewall #5 Sat Aug 24 20:33:10 EDT 2002 i586 unknown

... and it doesn't happen on _all_ systems, just _some_ of them. Whatever it is, it's strange.

trace it. Use strace and see what is going on.