All,
Environment: SME 6.01 with smeplus installed
From time to time, the pppoe service terminates, apparently either because the bridged dsl modem resets (power failure) or the dsl service provider stops responding.
The server log contains the following entries:
pppoe[1734]: Session terminated -- received PADT from peer
pppd[1696]: Script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412 finished (pid 1734), status = 0x0
or
pppd[1695]: No response to 2 echo-requests
pppd[1695]: Serial link appears to be disconnected.
pppd[1695:] sent [LCP TermReq id=0x2 "Peer not responding"]
pppd[1695]: sent [LCP TermReq id=0x3 "Peer not responding"]
pppd[1695]: Connection terminated.
The pppoe service is supposed to be supervised, and be restarted automatically, according to the docs for daemontools - but it does not restart.
although the daemon appears to shut down, svstat /service/pppoe reports:
/service/pppoe: up (pid xxxx), xxxx seconds, normally down
The only ways I can get it to start again is to :
1) determine the supervised pid reported by svstat and manually kill it - it restarts almost immediately
2) restart the server
3) manually run the script /service/pppoe/run
All three restore order, but I would really like to figure out why the process is not terminating cleanly in the first place.
Any suggestions, anyone?
Peter