NetgearOs6 server start problem

fox2plus8 years ago

Install java 8 on my readynas, copy traccar-other config and start is working :)
next reboot my readynas and traccar no starting :(

log

root@ReadyNAS_K_Lis:/etc/java-8-oracle/security# java -jar /data/webtraccarserver/tracker-server.jar /data/webtraccarserver/conf/traccar.xml
Exception in thread "main" java.io.FileNotFoundException: .data/webtraccarserver/conf/default.xml (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at org.traccar.Config.load(Config.java:35)
        at org.traccar.Context.init(Context.java:168)
        at org.traccar.Main.main(Main.java:35)

before log

2017-02-07 13:39:49  INFO: Operating system name: Linux version: 4.1.30.x86_64.1 architecture: amd64
2017-02-07 13:39:49  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-02-07 13:39:49  INFO: Memory limit heap: 239mb non-heap: 0mb
2017-02-07 13:39:49  INFO: Character encoding: ANSI_X3.4-1968 charset: US-ASCII
2017-02-07 13:39:49  INFO: Version: 3.9-SNAPSHOT
2017-02-07 13:40:17  INFO: Starting server...
   
017-02-07 15:50:33 DEBUG: [8C531591: 5055 < 192.168.1.254] HEX: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2017-02-07 15:50:33 DEBUG: [8C531591: 5055 > 192.168.1.254] HEX: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2017-02-07 15:50:33  INFO: [8C531591] id: 981214, time: 2017-02-07 15:50:33, lat: xx.xxxxx, lon: x.xxxxx, speed: 0.0, course: 0.0
2017-02-07 15:51:03  INFO: [8C531591] disconnected
2017-02-07 15:51:18  INFO: Shutting down server...
Anton Tananaev8 years ago

Well, the error is that config file is not found.