Re: WARNING: AT2[itegno]: trying to open device with not closed device!!! Please report!!!

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

please try 1.4.3 because 1.4.1 is really old and many bugs already  
fixed.

Thanks,
Alex

Am 15.04.2009 um 11:58 schrieb Ruth Marya:

> Dear Developers,
>
> I found the following error when I run #bearerbox /etc/kannel.conf
> Do anyone of you have any idea about the following issue?
>
>
> 2009-04-15 16:19:03 [4085] [0] INFO: Added logfile `/var/log/kannel/ 
> kannel.log' with level `0'.
> 2009-04-15 16:19:03 [4085] [0] INFO: Started access logfile `/var/ 
> log/kannel/access.log'.
> 2009-04-15 16:19:03 [4085] [0] INFO: HTTP: Opening server at port  
> 13000.
> 2009-04-15 16:19:03 [4085] [1] DEBUG: Thread 1 (gwlib/ 
> fdset.c:poller) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 1 (gwlib/ 
> fdset.c:poller)
> 2009-04-15 16:19:03 [4085] [2] DEBUG: Thread 2 (gwlib/ 
> http.c:server_thread) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 2 (gwlib/ 
> http.c:server_thread)
> 2009-04-15 16:19:03 [4085] [3] DEBUG: Thread 3 (gw/ 
> bb_http.c:httpadmin_run) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 3 (gw/ 
> bb_http.c:httpadmin_run)
> 2009-04-15 16:19:03 [4085] [0] DEBUG: starting smsbox connection  
> module
> 2009-04-15 16:19:03 [4085] [0] INFO: BOXC: 'smsbox-max-pending' not  
> set, using default (100).
> 2009-04-15 16:19:03 [4085] [4] DEBUG: Thread 4 (gw/ 
> bb_boxc.c:sms_to_smsboxes) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 4 (gw/ 
> bb_boxc.c:sms_to_smsboxes)
> 2009-04-15 16:19:03 [4085] [5] DEBUG: Thread 5 (gw/ 
> bb_boxc.c:smsboxc_run) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 5 (gw/ 
> bb_boxc.c:smsboxc_run)
> 2009-04-15 16:19:03 [4085] [0] INFO: Set SMS resend frequency to 60  
> seconds.
> 2009-04-15 16:19:03 [4085] [0] INFO: SMS resend retry set to  
> unlimited.
> 2009-04-15 16:19:03 [4085] [0] INFO: DLR rerouting for smsc id  
> <itegno> disabled.
> 2009-04-15 16:19:03 [4085] [0] INFO: AT2[itegno]: configuration  
> shows modemtype <wavecom>
> 2009-04-15 16:19:03 [4085] [0] DEBUG: AT2[itegno]: Reading modem  
> definitions from </etc/kannel.conf>
> 2009-04-15 16:19:03 [4085] [0] DEBUG: AT2[itegno]: Found <1> modems  
> in config
> 2009-04-15 16:19:03 [4085] [0] INFO: AT2[itegno]: modemtype not  
> found, revert to autodetect
> 2009-04-15 16:19:03 [4085] [6] DEBUG: Thread 6 (gw/smsc/ 
> smsc_at.c:at2_device_thread) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 6 (gw/smsc/ 
> smsc_at.c:at2_device_thread)
> 2009-04-15 16:19:03 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:03 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:03 [4085] [7] DEBUG: Thread 7 (gw/ 
> bb_smscconn.c:sms_router) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [7] DEBUG: sms_router: time to sleep  
> 30.00 secs.
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 7 (gw/ 
> bb_smscconn.c:sms_router)
> 2009-04-15 16:19:03 [4085] [0] INFO:  
> ----------------------------------------
> 2009-04-15 16:19:03 [4085] [0] INFO: Kannel bearerbox II version  
> 1.4.1 starting
> 2009-04-15 16:19:03 [4085] [0] INFO: Loading store file `/var/log/ 
> kannel/kannel.store'
> 2009-04-15 16:19:03 [4085] [0] INFO: Store-file size 0, starting to  
> unpack
> 2009-04-15 16:19:03 [4085] [0] INFO: Retrieved 0 messages, non- 
> acknowledged messages: 0
> 2009-04-15 16:19:03 [4085] [8] DEBUG: Thread 8 (gw/ 
> bb_store.c:store_dumper) maps to pid 4085.
> 2009-04-15 16:19:03 [4085] [8] DEBUG: Dumping 0 messages to store
> 2009-04-15 16:19:03 [4085] [0] DEBUG: Started thread 8 (gw/ 
> bb_store.c:store_dumper)
> 2009-04-15 16:19:03 [4085] [0] INFO: MAIN: Start-up done, entering  
> mainloop
> 2009-04-15 16:19:03 [4085] [0] DEBUG: AT2[itegno]: start called
> 2009-04-15 16:19:03 [4085] [7] DEBUG: sms_router: gwlist_len = 0
> 2009-04-15 16:19:03 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:04 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:04 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:05 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:05 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:09 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:09 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:09 [4085] [6] WARNING: AT2[itegno]: trying to open  
> device with not closed device!!! Please report!!!
> 2009-04-15 16:19:09 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:09 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:10 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:10 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:14 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:14 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:14 [4085] [6] WARNING: AT2[itegno]: trying to open  
> device with not closed device!!! Please report!!!
> 2009-04-15 16:19:14 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:14 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:15 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:15 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:19 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:19 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:19 [4085] [6] WARNING: AT2[itegno]: trying to open  
> device with not closed device!!! Please report!!!
> 2009-04-15 16:19:19 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:19 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:20 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:20 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:24 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:24 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:24 [4085] [6] WARNING: AT2[itegno]: trying to open  
> device with not closed device!!! Please report!!!
> 2009-04-15 16:19:24 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:24 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:25 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:25 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:29 [4085] [6] DEBUG: AT2[itegno]: detecting modem  
> type
> 2009-04-15 16:19:29 [4085] [6] INFO: AT2[itegno]: opening device
> 2009-04-15 16:19:29 [4085] [6] WARNING: AT2[itegno]: trying to open  
> device with not closed device!!! Please report!!!
> 2009-04-15 16:19:29 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:29 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: device opened
> 2009-04-15 16:19:30 [4085] [6] INFO: AT2[itegno]: speed set to 115200
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: --> ^M
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: --> AT^M
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: --> AT&F^M
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: <-- OK
> 2009-04-15 16:19:30 [4085] [6] DEBUG: AT2[itegno]: --> ATE0^M
> 2009-04-15 16:19:32 [4085] [0] WARNING: Killing signal or HTTP admin  
> command received, shutting down...
> 2009-04-15 16:19:32 [4085] [0] DEBUG: Shutting down Kannel...
> 2009-04-15 16:19:32 [4085] [0] DEBUG: shutting down smsc
> 2009-04-15 16:19:32 [4085] [0] DEBUG: AT2[itegno]: Shutting down  
> SMSCConn, slow
> 2009-04-15 16:19:32 [4085] [0] DEBUG: shutting down udp
> 2009-04-15 16:19:34 [4085] [6] INFO: AT2[itegno]: closing device
> 2009-04-15 16:19:34 [4085] [6] DEBUG: Thread 6 (gw/smsc/ 
> smsc_at.c:at2_device_thread) terminates.
> 2009-04-15 16:19:34 [4085] [7] DEBUG: Thread 7 (gw/ 
> bb_smscconn.c:sms_router) terminates.
> 2009-04-15 16:19:34 [4085] [4] DEBUG: Thread 4 (gw/ 
> bb_boxc.c:sms_to_smsboxes) terminates.
> 2009-04-15 16:19:34 [4085] [0] INFO: All flow threads have died,  
> killing core
> 2009-04-15 16:19:34 [4085] [3] DEBUG: HTTP: No clients with  
> requests, quitting.
> 2009-04-15 16:19:34 [4085] [3] DEBUG: Thread 3 (gw/ 
> bb_http.c:httpadmin_run) terminates.
> 2009-04-15 16:19:34 [4085] [2] DEBUG: Thread 2 (gwlib/ 
> http.c:server_thread) terminates.
> 2009-04-15 16:19:34 [4085] [1] DEBUG: Thread 1 (gwlib/ 
> fdset.c:poller) terminates.
> 2009-04-15 16:19:34 [4085] [8] DEBUG: Dumping 0 messages to store
> 2009-04-15 16:19:34 [4085] [8] DEBUG: Thread 8 (gw/ 
> bb_store.c:store_dumper) terminates.
> 2009-04-15 16:19:34 [4085] [0] INFO: Total WDP messages: received 0,  
> sent 0
> 2009-04-15 16:19:34 [4085] [0] INFO: Total SMS messages: received 0,  
> sent 0
> 2009-04-15 16:19:34 [4085] [0] DEBUG: Thread 5 (gw/ 
> bb_boxc.c:smsboxc_run) still running
> 2009-04-15 16:19:34 [4085] [0] DEBUG: Immutable octet strings: 208.
>
>
> Thank you
>
> I'm waiting for your response
> -- 
> regards,
> ruth
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.