TK102/103 DCS server crashes every day

Help
khsoft
2013-04-18
2013-06-12
  • khsoft
    khsoft
    2013-04-18

    Hello. I try to use OpenGTS with TK103-2 tracker. After I start 'tk10x' Device Communication Server (DCS), the system works, but my TK103-2 is classified as TK102. Furthermore, each day the DCS crashes. The last tk10x.log rows are:

    [INFO_|04/14 17:02:21|ServerSocketThread.run:628] DatagramPacket.getAddress() = /46.227.184.108
    [INFO_|04/14 17:02:21|ServerSocketThread$ServerSessionThread.run:1753] Remote client port: /46.227.184.108:9989[31272]
    [INFO_|04/14 17:02:21|AbstractClientPacketHandler.printSessionStart:227] Begin UDP communication: 46.227.184.108
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.getHandlePacket:182] Receive: 130415010219,+77772617842,GPRMC,170219.00$
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:673] Parsing(TK102): 130415010219,+77772617842,$
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:789] IMEI     : 359772038126075
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:790] Timestamp: 1365958939 [Sun Apr 14 19:02:19$
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:791] GPS      : 43.23592/76.88546
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:792] Speed    : 0.0 kph 0.0
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:793] Altitude : 0.0 meters
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:794] Battery  : 0.0 Volts
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:805] UniqueID  : tk_359772038126075
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:806] DeviceID  : sysadmin/car
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.parseInsertRecord_TK102:832] OdometerKM: 32.4435836342576
    [INFO_|04/14 17:02:21|TrackClientPacketHandler.insertEventRecord:1140] Event: [0xF020] Location
    [INFO_|04/14 17:02:21|EventData.updateAddress:2421] [Account 'sysadmin'] PrivateLabel '*' does not define a ReverseGeo$
    [INFO_|04/14 17:02:21|ServerSocketThread$ServerSessionThread.run:1928] End of session ...
    [INFO_|04/14 17:02:21|AbstractClientPacketHandler.printSessionTerminated:523] End UDP communication: 46.227.184.108
    [INFO_|04/14 17:02:26|ServerSocketThread.run:628] DatagramPacket.getAddress() = /46.227.184.108
    [INFO_|04/14 17:02:26|ServerSocketThread$ServerSessionThread.run:1753] Remote client port: /46.227.184.108:9989[31272]
    [INFO_|04/14 17:02:26|AbstractClientPacketHandler.printSessionStart:227] Begin UDP communication: 46.227.184.108
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.getHandlePacket:182] Receive: 130415010224,+77772617842,GPRMC,170224.00$
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.parseInsertRecord_TK102:673] Parsing(TK102): 130415010224,+77772617842,$
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.parseInsertRecord_TK102:789] IMEI     : 359772038126075
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.parseInsertRecord_TK102:790] Timestamp: 1365958944 [Sun Apr 14 19:02:24$
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.parseInsertRecord_TK102:791] GPS      : 43.23592/76.88546
    [INFO_|04/14 17:02:26|TrackClientPacketHandler.parseInsertRecord_TK102:792] Speed    : 0.0 kph 0.0
    [INFO_|04/14 17:02:26|TrackClien
    

    As the last row is broken buring output process, what could be the source of the failure?

    When I try to kill tk10x process, I get:

    [root@vmi1772 OpenGTS_2.4.7]# bin/runserver.sh -s tk10x -kill
    Killing 'tk10x' PID: 13056 (via signal '-9')
    bin/runserver.sh: line 196: kill: (13056) - No such process
    Error killing server: 1
    

    Therefore, I have to restart tk10x process.