hello .
I have problem with init program .
I add this config in /etc/init :
Code:
start on runlevel [2345]
start on started mysql
respawn
exec /etc/netbill/netbilld.pl >/dev/null 2>/dev/null
init can start it without any problem but when i force kill this process .
this process killed but not started again .
Note : I deliberately killed this program with a script . and after kill i stoped my script .
this is output of /var/log/message :
Code:
2011-11-24T14:38:18.052060-05:00 localhost init: netbill-daemon main process (10502) killed by KILL signal
2011-11-24T14:38:18.052078-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:18.268503-05:00 localhost init: netbill-daemon main process (10505) killed by KILL signal
2011-11-24T14:38:18.268519-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:18.462474-05:00 localhost init: netbill-daemon main process (10508) killed by KILL signal
2011-11-24T14:38:18.462490-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:18.762308-05:00 localhost init: netbill-daemon main process (10511) killed by KILL signal
2011-11-24T14:38:18.762325-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:19.033068-05:00 localhost init: netbill-daemon main process (10514) killed by KILL signal
2011-11-24T14:38:19.033134-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:19.228407-05:00 localhost init: netbill-daemon main process (10517) killed by KILL signal
2011-11-24T14:38:19.228473-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:19.458219-05:00 localhost init: netbill-daemon main process (10520) killed by KILL signal
2011-11-24T14:38:19.458237-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:19.697274-05:00 localhost init: netbill-daemon main process (10523) killed by KILL signal
2011-11-24T14:38:19.697291-05:00 localhost init: netbill-daemon main process ended, respawning
2011-11-24T14:38:20.214105-05:00 localhost init: netbill-daemon main process (10526) killed by KILL signal
2011-11-24T14:38:20.214121-05:00 localhost init: netbill-daemon respawning too fast, stopped
How can fix this problem ?
sorry for bad English !