Hi Ian,
I'll try to get some info on  the Windows SCM (Service Control Manager)
that's
controlling it. I'm sure bearer should be able to capture SCM signal,
otherwise,
I'll never know from log when it was stopped.
Thanks
Andrea

----- Original Message -----
From: "Ian Daly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 7:46 PM
Subject: RE: Log


I think this is okay - I guess this is the difference between running it
using cygrunsrv (as a service) and running it as a process? In the former
case it would be the Windows SCM (Service Control Manager) that's
controlling it.

Ian


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bjoern Buettner
> Sent: 25 February 2002 17:48
> To: Andrea Viscovich; [EMAIL PROTECTED]
> Subject: AW: Log
>
>
> I've used batch file to startup kannel on Win23
> run bearerbox.exe -v 1 smskannel.conf in Kannel root directory
>
> smskannel.conf
>
> core
> ...
> access-log = "access.log"
> log-file = "kannel.log"
> log-level = 0
> ...
>
> group = smsbox
> ...
> log-file = "smsbox.log"
> log-level = 0
> access-log = "access.log"
> ...
>
> following OUTput appears in the log $ screen:
> 2002-02-25 17:35:21 [0] INFO: Kannel bearerbox II version cvs starting
> 2002-02-25 17:35:21 [0] INFO: Started access logfile `access.log'.
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 1
> (gw/bb_store.c:store_cleanup)
> 2002-02-25 17:35:21 [0] DEBUG: HTTP: Opening server at port 13000.
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 3
> (gwlib/http.c:server_thread)
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 4
> (gw/bb_http.c:httpadmin_run)
> 2002-02-25 17:35:21 [0] DEBUG: starting smsbox connection module
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 6
> (gw/smsc_fake.c:fake_listener)
> 2002-02-25 17:35:21 [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 2002-02-25 17:35:21 [7] DEBUG: sms_router: time to sleep
> 2002-02-25 17:35:21 [0] INFO: Loading store file kannel.store
> 2002-02-25 17:35:21 [0] INFO: Store-file size 0, starting to unpack
> 2002-02-25 17:35:21 [0] INFO: Retrieved 0 messages, non-acknowledged
> messages: 0
> 2002-02-25 17:35:21 [0] INFO: MAIN: Start-up done, entering mainloop
> .....
>
> by pressing CTRL-C
>
> U see in the log & screen:
>
> 2002-02-25 17:35:24 [0] DEBUG: Shutting down Kannel...
> 2002-02-25 17:35:24 [0] DEBUG: shutting down smsc
> 2002-02-25 17:35:24 [0] DEBUG: shutting down udp
> 2002-02-25 17:35:24 [1] DEBUG: Dumping 0 messages and 0 acks to store
> 2002-02-25 17:35:25 [1] DEBUG: Thread 1 (gw/bb_store.c:store_cleanup)
> terminates
> .
> 2002-02-25 17:35:25 [6] DEBUG: Thread 6 (gw/smsc_fake.c:fake_listener)
> terminate
> s.
> 2002-02-25 17:35:25 [5] ERROR: wait_for_connections failed
> 2002-02-25 17:35:25 [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
> terminates
> .
> 2002-02-25 17:35:25 [0] INFO: All flow threads have died, killing core
> 2002-02-25 17:35:25 [0] DEBUG: Waiting for 3
> (gwlib/http.c:server_thread) to
> ter
> minate
> 2002-02-25 17:35:25 [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> terminates.
> 2002-02-25 17:35:25 [2] WARNING: gwthread_sleep: error in poll
> 2002-02-25 17:35:25 [4] DEBUG: HTTP: No clients with
> requests, quitting.
> 2002-02-25 17:35:25 [4] DEBUG: Thread 4 (gw/bb_http.c:httpadmin_run)
> terminates.
>
> 2002-02-25 17:35:25 [3] DEBUG: Thread 3 (gwlib/http.c:server_thread)
> terminates.
>
> 2002-02-25 17:35:25 [2] DEBUG: Thread 2
> (gwlib/fdset.c:poller) terminates.
> 2002-02-25 17:35:25 [0] DEBUG: final clean-up for SMSCConn
> 2002-02-25 17:35:25 [0] INFO: Total WDP messages: received 0, sent 0
> 2002-02-25 17:35:25 [0] INFO: Total SMS messages: received 0, sent 0
> 2002-02-25 17:35:25 [0] DEBUG: Immutable octet strings: 135.
> 2002-02-25 17:35:25 [0] DEBUG: Current allocations: 0 areas, 0 bytes
> 2002-02-25 17:35:25 [0] DEBUG: Highest number of allocations:
> 818 areas
> 2002-02-25 17:35:25 [0] DEBUG: Highest memory usage: 41563 bytes
> ....
>
>
> Bjoern
>
> kind regards
>
> Vodafone TeleCommerce GmbH
> Architecture & Engineering
> Bjoern Buettner
> Daniel Goldbach Str. 17-19
> 40880 Ratingen
>
> Tel. +49 (0) 21 02 / 97 20 13
> Fax +49 (0) 21 02 / 97 15 14
>
> mailto:[EMAIL PROTECTED]
> www.vodafone.com
> www.vodafone-telecommerce.de
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]Im Auftrag von Andrea Viscovich
> > Gesendet: Montag, 25. Februar 2002 18:13
> > An: [EMAIL PROTECTED]
> > Betreff: Log
> >
> >
> > I would like to know what do you get in the log,
> > (log-level 0) when stopping bearerbox and smsbox.
> > In windows (at least in my NT4.0 enviroment) it
> > seems it doesn't write anything,
> > except in bearerbox.log
> > [8] INFO: Connection closed by the box <127.0.0.1>
> >
> > But If I stop bearer I don't get any message.
> > Looking at bearerbox.c seems that with every signal
> > it should write something. So I don't understand
> > which signal I give stopping it :-)
> > Andrea
> >
> >
> >
> >
> > ---------------------------------------------------------
> > This Mail has been checked for Viruses
> > Attention: Encrypted mails can NOT be checked!
> >
> > **
> >
> > Diese Mail wurde auf Viren geprueft
> > Hinweis: Verschluesselte mails koennen NICHT auf Viren
> geprueft werden!
> > ---------------------------------------------------------
> >
>





Reply via email to