Edit your /etc/inittab
Add: "dd:2345:respawn: /usr/sbin/diald -daemon"
Then remove your entry where you kick over diald on reboot (probably
/etc/rc.d/rc.local or something like that)
----------
From: Ivan Kuznetsov [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, October 28, 1999 4:16 AM
To: Diald mailing list
Subject: Diald dies without a reason?
Hello!
I have successfully run diald for a monthes but about a week ago
it
began to die periodically (about 1/day) while closing down the
link. I
didn't change diald.conf for a long time
Here is a diald.log example:
Oct 28 01:13:12 comhost diald[279]: Closing down idle link.
Oct 28 01:13:12 comhost diald[279]: running '/sbin/ifconfig sl0
195.242.31.25 pointopoint 193.242.93.97 netmask 255.255.255.0
mtu 1064
up'
Oct 28 01:13:12 comhost diald[279]: SIGCHLD[158]: pid 4837
system,
status 0
Oct 28 01:13:12 comhost diald[279]: Setting pointopoint route
for sl0
Oct 28 01:13:12 comhost diald[279]: running '/sbin/route add
193.242.93.97 metric 1 window 3192 dev sl0'
Oct 28 01:13:12 comhost diald[279]: SIGCHLD[159]: pid 4843
system,
status 0
Oct 28 01:13:12 comhost diald[279]: Establishing routes for sl0
Oct 28 01:13:12 comhost diald[279]: running '/sbin/route add
default
metric 1 window 3192 dev sl0'
Oct 28 01:13:13 comhost diald[279]: SIGCHLD[160]: pid 4844
system,
status 0
Oct 28 01:13:13 comhost diald[279]: Removing routes for ppp2
Oct 28 01:13:13 comhost diald[279]: running '/sbin/route del
default
metric 0 dev ppp2'
Oct 28 01:13:13 comhost diald[279]: SIGCHLD[161]: pid 4845
system,
status 0
That's all. No any messages more. No coredump. It looks like
diald be
killed but nobody kill it.
I examined diald source code and found that the last 3 lines are
produced by del_routes function from route.c. But del_routes has
lineral
algorythm! The statement after the system call '/sbin/route del
default
metric 0 dev ppp2' is another syslog write which is not logged!
diald 0.16 compiled by gcc 2.7.2.3
pppd 2.3.5
Linux kernel 2.0.36
Hardware works fine
Any hints?
Yours, Ivan Kuznetsov
System administrator
JSC PetroLesPort
E-Mail [EMAIL PROTECTED]
Fidonet 2:5030/792
-
To unsubscribe from this list: send the line "unsubscribe
linux-diald" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]