Re: bearerbox and smsbox http restart, possible bug?

Yulianto Z <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAF+9rQh7wFRGeDV0RAraHAJ9YUC2Ecds+/MTrf2is9ZN+2zh86gCfXHDl
Dv5syDHGBtiBO3V/XCzNeSQ=
=9/XD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.