RE: Windows 2000 Kannel 1.1.6 port
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, after some digging, here's what I found out : your configuration file has no SMSC configured (not even a fake one), then kannel should by all means behaves as you have found out : after starting, it tries to run the smsc modules, and then waits until all the active threads (flow_threads) have finished running, at which time it exists. The reason that it doesn't happen it my configuration is that I'm using a store file. The store thread registers itself as a flow thread and keeps the system up even if no SMSCs are configured. I have not yet made up my mind if that implementation is correct or broken, but it does cause this very weird behaviour where even if no SMSCs are configured, Kannel stays up because it has a store file to take care of. As for a solution to your problem - if you want Kannel to do something useful, you must define an smsc group. otherwise, don't be surprised when it doesn't want to start :-) -- Oded Arbel m-Wise Mobile Solutions [email protected] Mobile: +972-67-340014 Tel: +972-9-9581711 (ext: 116) ::.. The soul would have no rainbow had the eye no tears. -- John Vance Cheney > -----Original Message----- > From: Ed Ng [mailto:[email protected]] > Sent: Thursday, June 20, 2002 12:07 PM > To: Oded Arbel > Subject: RE: Windows 2000 Kannel 1.1.6 port > > > Guess what, I tried it in RedHat 7.2, the same problem > occurs: Here's the error: > 2002-06-20 10:00:01 [0] INFO: Added logfile > `smskannel.conf' with level `0'. > 2002-06-20 10:00:01 [0] INFO: Debug_lvl = -1, log_file > = smskannel.conf, log_lvl = 0 > 2002-06-20 10:00:01 [0] WARNING: DLR: using default > 'internal' for storage type. > 2002-06-20 10:00:01 [0] DEBUG: Kannel bearerbox > version `1.1.6'. > System Linux, release 2.4.7-10, version #1 Thu Sep 6 > 17:27:27 EDT 2001, machine i686. > Hostname smsgateway, IP 127.0.0.1. > Libxml version 20402. > Using OpenSSL 0.9.6b [engine] 9 Jul 2001. > Using native malloc. > > 2002-06-20 10:00:01 [0] INFO: > ---------------------------------------- > 2002-06-20 10:00:01 [0] INFO: Kannel bearerbox II > version 1.1.6 starting > 2002-06-20 10:00:01 [0] DEBUG: HTTP: Opening server at > port 13000. > 2002-06-20 10:00:01 [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2002-06-20 10:00:01 [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2002-06-20 10:00:01 [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > 2002-06-20 10:00:06 [0] INFO: MAIN: Start-up done, > entering mainloop > 2002-06-20 10:00:06 [0] INFO: All flow threads have > died, killing core > 2002-06-20 10:00:06 [0] DEBUG: Waiting for 2 > (gwlib/http.c:server_thread) to terminate > 2002-06-20 10:00:06 [3] DEBUG: HTTP: No clients with > requests, quitting. > 2002-06-20 10:00:06 [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) terminates. > 2002-06-20 10:00:06 [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) terminates. > 2002-06-20 10:00:06 [1] DEBUG: Thread 1 > (gwlib/fdset.c:poller) terminates. > 2002-06-20 10:00:06 [0] DEBUG: final clean-up for > SMSCConn > 2002-06-20 10:00:06 [0] INFO: Total WDP messages: > received 0, sent 0 > 2002-06-20 10:00:06 [0] INFO: Total SMS messages: > received 0, sent 0 > 2002-06-20 10:00:06 [0] DEBUG: Immutable octet > strings: 62. > > and my conf file is attached. I think i am giving you > a real headache for an ignorance like me. I am really > new as you can see. > > Thanks > Eddie > > --- Oded Arbel <[email protected]> wrote: > I know > windows 2k ports are a huge headache (been > > there, done that). why don't you use Linux instead ? > > it's far more reliable and Kannel is working > > perfectly with it (there's still the modem openeing > > problem, but I got it covered). > > > > -- > > Oded Arbel > > m-Wise Mobile Solutions > > > > [email protected] > > Mobile: +972-67-340014 > > Tel: +972-9-9581711 (ext: 116) > > > > ::.. > > One measure of leadership is the caliber of people > > who choose to follow you. > > -- Dennis A. Peer > > > > > > > -----Original Message----- > > > From: Ed Ng [mailto:[email protected]] > > > Sent: Thursday, June 20, 2002 11:47 AM > > > To: Oded Arbel > > > Subject: RE: Windows 2000 Kannel 1.1.6 port > > > > > > > > > I am using the fake SMSC setting. If i were to use > > > mobile phone connection, the gwthread-poll can't > > > execute. I have been banging my head over this, > > and my > > > customer in UK is waiting for me for them to > > transfer > > > and terminate 10million msg a month over to me. I > > > really need some help here. > > > > > > Thanks > > > Eddie > > > > > > --- Oded Arbel <[email protected]> wrote: > > > > > > 2002-06-20 08:43:08 [0] INFO: MAIN: Start-up > > done, > > > > entering mainloop > > > > > 2002-06-20 08:43:08 [0] INFO: All flow threads > > > > have died, killing core > > > > > > > > That's weird - looks like bearerbox has started, > > and > > > > then immidietly got a signal to go down - before > > > > starting any SMSCs. do you have an SMSC > > configured ? > > > > > > > > -- > > > > Oded Arbel > > > > m-Wise Mobile Solutions > > > > > > > > [email protected] > > > > Mobile: +972-67-340014 > > > > Tel: +972-9-9581711 (ext: 116) > > > > > > > > ::.. > > > > Celine: I'd like to make a withdrawal. > > > > Robert: I thought we agreed there'd be no 'Bank > > > > Robing' cliches. > > > > -- from 'A life less ordinary' > > > > > > > > > > > > > -----Original Message----- > > > > > From: Ed Ng [mailto:[email protected]] > > > > > Sent: Thursday, June 20, 2002 11:22 AM > > > > > To: Oded Arbel > > > > > Subject: RE: Windows 2000 Kannel 1.1.6 port > > > > > > > > > > > > > > > Sorry, here's the attachment > > > > > > > > > > Thanks > > > > > Eddie > > > > > > > > > > --- Oded Arbel <[email protected]> wrote: > Of > > ? > > > > > > > > > > > > -- > > > > > > Oded Arbel > > > > > > m-Wise Mobile Solutions > > > > > > > > > > > > [email protected] > > > > > > Mobile: +972-67-340014 > > > > > > Tel: +972-9-9581711 (ext: 116) > > > > > > > > > > > > ::.. > > > > > > Yvonne: Will I see you tonight? > > > > > > Rick Blaine: I never make plans that far > > ahead. > > > > > > -- from "Casablanca" > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Ed Ng [mailto:[email protected]] > > > > > > > Sent: Thursday, June 20, 2002 10:00 AM > > > > > > > To: Oded Arbel; Stipe Tolj; Maria Turk > > > > > > > Cc: [email protected] > > > > > > > Subject: RE: Windows 2000 Kannel 1.1.6 > > port > > > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > Thanks for all your help, I finally got it > > > > > > compiled > > > > > > > and now when I execute this command > > > > "./bearerbox > > > > > > -v 0 > > > > > > > smskannel_gsm.conf" it gives me an error > > of: > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > Do You Yahoo!? > > > > > Everything you'll ever need on one web page > > > > > from News and Sport to Email and Music Charts > > > > > http://uk.my.yahoo.com > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Everything you'll ever need on one web page > > > from News and Sport to Email and Music Charts > > > http://uk.my.yahoo.com > > > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com >