From: Aleksandr Stepanenko [mailto:[email protected]]
Sent: Thursday 19 December 2013 17:59
To: Tshimanga Minkoka
Subject: [SOLVED] bearerbox restart with parachute but not smsbox

Hello!
Can you please send me your bash panic-script that restart smsboxes?
I tried this:

#!/bin/sh
sudo /usr/local/kannel/sbin/smsbox -v 0 --parachute --daemonize --pid-file 
/var/run/kannel/kannel_smsbox.pid /etc/kannel/kannel.conf
exit 0

and added kannel user to sudoers to execute that bash script with no password, 
but nothing seems to work, I get:

ps -aukannel
  PID TTY          TIME CMD
 1730 ?        00:00:00 bearerbox
 1756 ?        00:00:00 rewivesmsboxes. <defunct>
 1762 ?        00:00:00 bearerbox
 1780 pts/0    00:00:00 ps
Although, it works when executing it as a kannel user manually.
So I read about <defunct>, it means that process becomes a zombie, but I'm not 
so good with linux, so please help me.
Thank you!



[cid:[email protected]]

Tshimanga Minkoka

Manager VAS  & Data Systems

Mobile: +243814443113



MEILLEUR RESEAU INTERNET EN RDC


This e-mail is classified C2 - Vodacom Restricted - Information to be used 
inside Vodacom but it may be shared with authorised partners.

Ce courriel est classifié C2 – Vodacom Restreint. Ce sont des informations dont 
la divulgation non autorisée, en particulier en dehors de l'organisation, 
serait inappropriée et inopportune

<<inline: image80a1f5.JPG>>

Reply via email to