› Forums › Network Management › ZeroShell › Sudden death on pppoe: tcflush failed: Bad file descriptor › Reply To: Sudden death on pppoe: tcflush failed: Bad file descriptor
Some people in the cloud say, that there is an issue with syslog in ppp-2.4.3 and ppp-2.4.4. Downgrading to ppp-2.4.2 should solve the problem.
Other people have a patch for ppp-2.4.4:
— ppp-2.4.4/pppd/main.c.orig 2006-06-04 07:52:50.000000000 +0400
+++ ppp-2.4.4/pppd/main.c 2007-11-09 14:47:20.000000000 +0300
@@ -1567,6 +1567,8 @@
if (errfd == 0 || errfd == 1)
errfd = dup(errfd);
/* dup the in, out, err fds to 0, 1, 2 */
if (infd != 0)
@@ -1575,7 +1577,6 @@
if (errfd != 2)
if (log_to_fd > 2)
To test if the syslog issue is the problem i need to disable syslog on ZS.
Is there a way to do so?
I tried to kill the prozesses but some magic starts syslogd/klogd again.