Jarl,
you may try to use run_kannel_box for smsbox...eg.
$ run_kannel_box --min-delay 30 smsbox /etc/kannel/kannel.conf
it will respawn the dead smsbox...

On Mon, 2004-01-26 at 20:54, Jarl Cornell wrote:
> Hi my name is Jarl, I've been trying to solve a problem that I've just 
> realised stops me from restarting kannel via http.
> 
> I'm sure you're all familiar with restarting the bearerbox and smsbox with:
> lynx -dump "http://localhost:12345/restart?password=bar";
> 
> Now the problem is that the smsbox doesn't wait long enough to restart, this 
> means the bearerbox hasn't loaded its port yet and therefore the smsbox 
> thinks there isn't any bearebox and thereby fails to load.
> 
> Now I'm no expert on programming, but would it be possible to change 
> something so that the smsbox waits another 5 or so seconds before 
> restarting, that way the bearerbox would have some more time and we could 
> all restart kannel via http without having to ssh in to the server and start 
> it up manually.
> 
> Cheers,
> Jarl
> 
> _________________________________________________________________
> Get a FREE online virus check for your PC here, from McAfee. 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-- 
Regards,
Yulianto W.
Senior Consultant
Limaxindo Intersistem
 Galaxy Bumi Permai F4-14
 Phones: +62315925300, +62315925533
 Fax: +62315925577
Contact:
 mobile: +628563025257
 mailto:[EMAIL PROTECTED]
 ICQ #14388169
 MSN [EMAIL PROTECTED]
 YPager sehari24jam
GPG fingerprint:
 E2BC 9029 F3FB 90C7 2FAB 9E42 421E F015 119E 0D5D
GPG Public key:
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x119E0D5D
-- 
Regards,
[cogito ergo sum]

GPG fingerprint:
 E2BC 9029 F3FB 90C7 2FAB 9E42 421E F015 119E 0D5D
GPG Public key:
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x119E0D5D

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to