Interesting problem using latest cvs (with CMTI patch) is that 
occassionally the wait_for_connections process fails and takes the smsbox 
with it.

Looks like the process fails to read from the serial port (either due to 
the phone or some other random process on my machine) and this takes the 
smsbox down (which I don't think it should do). Anyone fixed this?

Alex

2002-05-01 09:53:05 [5] DEBUG: AT2[Motorola1]: <-- OK
2002-05-01 13:50:17 [4] ERROR: wait_for_connections failed
2002-05-01 13:50:17 [5] ERROR: AT2[Motorola1]: error on select
2002-05-01 13:50:17 [5] ERROR: System error 13: Permission denied
2002-05-01 13:50:17 [4] ERROR: System error 13: Permission denied
2002-05-01 13:50:17 [5] WARNING: gwthread_sleep: error in poll
...
2002-05-01 13:50:18 [5] WARNING: gwthread_sleep: error in poll
2002-05-01 13:50:18 [5] WARNING: System error 13: Permission denied
2002-05-01 13:50:18 [5] ERROR: AT2[Motorola1]: error on select
2002-05-01 13:50:18 [5] ERROR: System error 13: Permission denied
2002-05-01 13:50:22 [0] ERROR: Error reading from fd 18:
2002-05-01 13:50:22 [0] ERROR: System error 104: Connection reset by peer
2002-05-01 13:50:22 [0] ERROR: Error reading from fd 18:
2002-05-01 13:50:22 [0] ERROR: System error 104: Connection reset by peer
2002-05-01 13:50:22 [0] INFO: Error reading from bearerbox, disconnecting
2002-05-01 13:50:22 [0] INFO: Received (and handled?) 2 requests in 72512 seconds 
(0.00 per second)
2002-05-01 13:50:22 [0] INFO: Kannel smsbox terminating.
2002-05-01 13:50:22 [6] DEBUG: Thread 6 (gw/heartbeat.c:heartbeat_thread) terminates.
2002-05-01 13:50:23 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2002-05-01 13:50:23 [2] WARNING: gwthread_sleep: error in poll
2002-05-01 13:50:23 [2] WARNING: System error 13: Permission denied
-- 
Alex Judd
http://www.skywire.co.uk


Reply via email to