What did you change "web.port" to?
I try to change as follows :
<entry key='web.port'>5055</entry>
for testing on local server.. The server running well and indicating no error.
That's incorrect. Web port is only for web interface. Traccar Client uses different port:
<entry key='osmand.port'>5055</entry>
Before i change, the config like that :
<!-- SERVER CONFIG -->
<entry key='web.enable'>true</entry>
<entry key='web.port'>8082</entry>
<entry key='web.path'>C:\Program Files\Traccar\web</entry>
I can access page server and login with this config, but i think it is for only localhost:8082 (local).
Then i need to try with IP public with port 5055 based the device client, then i change the config :
<!-- SERVER CONFIG -->
<entry key='web.enable'>true</entry>
<entry key='web.port'>5055</entry>
<entry key='web.path'>C:\Program Files\Traccar\web</entry>
with this config, i can access the page and login successfully, but i have the problem like mentioned above, no response for client (on map).
I'v tried your advice,
<!-- SERVER CONFIG -->
<entry key='web.enable'>true</entry>
<entry key='osmand.port'>5055</entry>
<entry key='web.path'>C:\Program Files\Traccar\web</entry>
but i got the blank page when i access the page --> http://ip_public:5055. i have restarted the server. Whether there are other configurations are incorrect ?
For info, i have tried successfully to connect the demo server (demo.traccar.org) and map the device.
Thanks alot for response
Why are changing the config in the first place? There are two ports:
It's the default config. I'm not sure what you are trying to achieve by changing those ports.
Oh...i understad now. Thanks a lot for guidance.
<entry key='osmand.port'>5055</entry>
Can I change the port to 8084
<entry key='osmand.port'>8084</entry>
Will the client work
Yes, you can.
Hi, a problem in my 5055 port... : 2018-05-15 03:02:16 WARN: [7945B51C] error - empty text - IllegalArgumentException (...)
How can I review this..? I can access Traccar without problems but does not recognize the devices in port 5055..! Thanks for your help...
tracker-server.log:
2018-05-15 02:26:46 INFO: [AC625045] connected
2018-05-15 02:26:46 DEBUG: [AC625045: 5055 < 190.24.77.93] HEX: 504f5354202f3f69643d64656c74612d34372674696d657374616d703d31353236313239343333266c61743d342e363635313731363636363636363637266c6f6e3d2d37342e30363534343030303030303030312673706565643d302e302662656172696e673d302e3026616c7469747564653d323536342e332661636375726163793d302e3026626174743d39382e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e303b204c472d4b343330204275696c642f4d524135384b290d0a486f73743a203134322e342e31372e3232353a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-05-15 02:27:41 INFO: Operating system name: Linux version: 2.6.32-696.28.1.el6.x86_64 architecture: amd64
2018-05-15 02:27:41 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.171-b10
2018-05-15 02:27:41 INFO: Memory limit heap: 241mb non-heap: 0mb
2018-05-15 02:27:41 INFO: Character encoding: UTF-8 charset: UTF-8
2018-05-15 02:27:41 INFO: Version: 3.16-SNAPSHOT
2018-05-15 02:27:55 INFO: Starting server...
2018-05-15 02:29:58 INFO: user: 2, action: login
2018-05-15 03:00:54 INFO: [7945B51C] connected
2018-05-15 03:02:11 DEBUG: [7945B51C: 5055 < 142.4.17.225] HEX: fff4fffd06
2018-05-15 03:02:12 DEBUG: [7945B51C: 5055 < 142.4.17.225] HEX: ffedfffd06
2018-05-15 03:02:16 DEBUG: [7945B51C: 5055 < 142.4.17.225] HEX: 717569740d0a
2018-05-15 03:02:16 WARN: [7945B51C] error - empty text - IllegalArgumentException (...)
2018-05-15 03:02:16 INFO: [7945B51C] disconnected
wrapper.log.20180515:
INFO|wrapper|Service traccar|18-05-15 02:26:47|waitpid 15822 15
INFO|wrapper|Service traccar|18-05-15 02:26:47|exit code posix process: 15 application(status/signal): 0/15
INFO|wrapper|Service traccar|18-05-15 02:26:48|killing 15822
INFO|wrapper|Service traccar|18-05-15 02:26:49|process exit code: 0
WARNING|wrapper|Service traccar|18-05-15 02:27:31|YAJSW: yajsw-stable-12.12
WARNING|wrapper|Service traccar|18-05-15 02:27:31|OS : Linux/2.6.32-696.28.1.el6.x86_64/amd64
WARNING|wrapper|Service traccar|18-05-15 02:27:31|JVM : Oracle Corporation/1.8.0_171//usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-3.b10.el6_9.x86_64/jre/64
INFO|wrapper|Service traccar|18-05-15 02:27:32|exec:java -classpath /opt/traccar/wrapperApp.jar:/opt/traccar/tracker-server.jar:/opt/traccar/lib/log4j-1.2.17.jar:/opt/traccar/lib/joda-time-2.9.9.jar:/opt/traccar/lib/commons-codec-1.11.jar:/opt/traccar/lib/h2-1.4.196.jar:/opt/traccar/lib/mysql-connector-java-5.1.45.jar:/opt/traccar/lib/postgresql-42.2.1.jre7.jar:/opt/traccar/lib/mssql-jdbc-6.4.0.jre7.jar:/opt/traccar/lib/HikariCP-java7-2.4.13.jar:/opt/traccar/lib/slf4j-api-1.7.21.jar:/opt/traccar/lib/netty-3.10.6.Final.jar:/opt/traccar/lib/async-http-client-1.9.40.jar:/opt/traccar/lib/slf4j-simple-1.7.25.jar:/opt/traccar/lib/javax.json-1.0.4.jar:/opt/traccar/lib/jetty-server-9.2.24.v20180105.jar:/opt/traccar/lib/javax.servlet-api-3.1.0.jar:/opt/traccar/lib/jetty-http-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-io-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-servlet-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-security-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-webapp-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-xml-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-jndi-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-util-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-proxy-9.2.24.v20180105.jar:/opt/traccar/lib/jetty-client-9.2.24.v20180105.jar:/opt/traccar/lib/websocket-server-9.2.24.v20180105.jar:/opt/traccar/lib/websocket-common-9.2.24.v20180105.jar:/opt/traccar/lib/websocket-api-9.2.24.v20180105.jar:/opt/traccar/lib/websocket-client-9.2.24.v20180105.jar:/opt/traccar/lib/websocket-servlet-9.2.24.v20180105.jar:/opt/traccar/lib/jersey-container-servlet-2.25.1.jar:/opt/traccar/lib/jersey-container-servlet-core-2.25.1.jar:/opt/traccar/lib/javax.inject-2.5.0-b32.jar:/opt/traccar/lib/jersey-common-2.25.1.jar:/opt/traccar/lib/javax.annotation-api-1.2.jar:/opt/traccar/lib/jersey-guava-2.25.1.jar:/opt/traccar/lib/hk2-api-2.5.0-b32.jar:/opt/traccar/lib/hk2-utils-2.5.0-b32.jar:/opt/traccar/lib/aopalliance-repackaged-2.5.0-b32.jar:/opt/traccar/lib/hk2-locator-2.5.0-b32.jar:/opt/traccar/lib/javassist-3.20.0-GA.jar:/opt/traccar/lib/osgi-resource-locator-1.0.1.jar:/opt/traccar/lib/jersey-server-2.25.1.jar:/opt/traccar/lib/jersey-client-2.25.1.jar:/opt/traccar/lib/jersey-media-jaxb-2.25.1.jar:/opt/traccar/lib/validation-api-1.1.0.Final.jar:/opt/traccar/lib/javax.ws.rs-api-2.0.1.jar:/opt/traccar/lib/jersey-media-json-jackson-2.25.1.jar:/opt/traccar/lib/jersey-entity-filtering-2.25.1.jar:/opt/traccar/lib/jackson-jaxrs-base-2.8.4.jar:/opt/traccar/lib/jackson-core-2.8.4.jar:/opt/traccar/lib/jackson-databind-2.8.4.jar:/opt/traccar/lib/jackson-jaxrs-json-provider-2.8.4.jar:/opt/traccar/lib/jackson-module-jaxb-annotations-2.8.4.jar:/opt/traccar/lib/jackson-annotations-2.8.4.jar:/opt/traccar/lib/liquibase-core-3.5.5.jar:/opt/traccar/lib/snakeyaml-1.17.jar:/opt/traccar/lib/mail-1.4.7.jar:/opt/traccar/lib/activation-1.1.jar:/opt/traccar/lib/jxls-2.4.4.jar:/opt/traccar/lib/commons-jexl-2.1.1.jar:/opt/traccar/lib/commons-beanutils-1.9.2.jar:/opt/traccar/lib/jcl-over-slf4j-1.7.12.jar:/opt/traccar/lib/logback-core-1.1.3.jar:/opt/traccar/lib/jxls-poi-1.0.14.jar:/opt/traccar/lib/poi-3.17.jar:/opt/traccar/lib/poi-ooxml-3.17.jar:/opt/traccar/lib/poi-ooxml-schemas-3.17.jar:/opt/traccar/lib/xmlbeans-2.6.0.jar:/opt/traccar/lib/stax-api-1.0.1.jar:/opt/traccar/lib/curvesapi-1.04.jar:/opt/traccar/lib/velocity-1.7.jar:/opt/traccar/lib/commons-collections-3.2.1.jar:/opt/traccar/lib/commons-lang-2.4.jar:/opt/traccar/lib/velocity-tools-2.0.jar:/opt/traccar/lib/commons-digester-1.8.jar:/opt/traccar/lib/commons-chain-1.1.jar:/opt/traccar/lib/commons-logging-1.1.jar:/opt/traccar/lib/servlet-api-2.3.jar:/opt/traccar/lib/commons-validator-1.3.1.jar:/opt/traccar/lib/dom4j-1.1.jar:/opt/traccar/lib/oro-2.0.8.jar:/opt/traccar/lib/sslext-1.2-0.jar:/opt/traccar/lib/struts-core-1.3.8.jar:/opt/traccar/lib/antlr-2.7.2.jar:/opt/traccar/lib/struts-taglib-1.3.8.jar:/opt/traccar/lib/struts-tiles-1.3.8.jar:/opt/traccar/lib/commons-collections4-4.1.jar:/opt/traccar/lib/ical4j-2.0.5.jar:/opt/traccar/lib/commons-lang3-3.6.jar:/opt/traccar/lib/threetenbp-1.3.6.jar:/opt/traccar/lib/ch-smpp-5.0.9.jar:/opt/traccar/lib/ch-commons-util-6.0.2.jar:/opt/traccar/lib/ch-commons-charset-3.0.2.jar -Dfile.encoding=UTF-8 -Xrs -Dwrapper.service=true -Dwrapper.console.visible=false -Dwrapper.port=15003 -Dwrapper.key=-3296380573008833198 -Dwrapper.teeName=-3296380573008833198$1526369251335 -Dwrapper.tmp.path=/opt/traccar/tmp -Djna_tmpdir=/opt/traccar/tmp -Dwrapper.config=/opt/traccar/conf/wrapper.conf -Dwrapper.visible=false -Dwrapper.pidfile=/var/run/wrapper.traccar.pid org.rzo.yajsw.app.WrapperJVMMain
INFO|wrapper|Service traccar|18-05-15 02:27:32|posix_spawn pid 1442
INFO|wrapper|Service traccar|18-05-15 02:27:32|started process 1442
INFO|wrapper|Service traccar|18-05-15 02:27:32|started process with pid 1442
INFO|1442/0|Service traccar|18-05-15 02:27:38|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|1442/0|Service traccar|18-05-15 02:27:44|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|1442/0|Service traccar|18-05-15 02:27:45|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|1442/0|Service traccar|18-05-15 02:27:47|INFO 5/15/18 2:27 AM: liquibase: Clearing database change log checksums
INFO|1442/0|Service traccar|18-05-15 02:27:47|INFO 5/15/18 2:27 AM: liquibase: Successfully acquired change log lock
INFO|1442/0|Service traccar|18-05-15 02:27:47|INFO 5/15/18 2:27 AM: liquibase: Successfully released change log lock
INFO|1442/0|Service traccar|18-05-15 02:27:47|INFO 5/15/18 2:27 AM: liquibase: Successfully acquired change log lock
INFO|1442/0|Service traccar|18-05-15 02:27:50|INFO 5/15/18 2:27 AM: liquibase: Reading from enintern_ticket.DATABASECHANGELOG
INFO|1442/0|Service traccar|18-05-15 02:27:51|INFO 5/15/18 2:27 AM: liquibase: Reading from enintern_ticket.DATABASECHANGELOG
INFO|1442/0|Service traccar|18-05-15 02:27:51|INFO 5/15/18 2:27 AM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false. Error: Can't DROP 'uk_user_token'; check that column/key exists [Failed SQL: ALTER TABLE enintern_ticket.users DROP KEY uk_user_token]
INFO|1442/0|Service traccar|18-05-15 02:27:51|INFO 5/15/18 2:27 AM: liquibase: Successfully released change log lock
INFO|1442/0|Service traccar|18-05-15 02:27:51|[main] INFO org.eclipse.jetty.util.log - Logging initialized @18533ms
INFO|1442/0|Service traccar|18-05-15 02:27:55|[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.24.v20180105
INFO|1442/0|Service traccar|18-05-15 02:27:58|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@64387c17{/api,null,AVAILABLE}
INFO|1442/0|Service traccar|18-05-15 02:27:58|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.t.w.@70d77826{/,null,AVAILABLE}
INFO|1442/0|Service traccar|18-05-15 02:27:58|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@eb21b1e{HTTP/1.1}{0.0.0.0:8082}
INFO|1442/0|Service traccar|18-05-15 02:27:58|[main] INFO org.eclipse.jetty.server.Server - Started @25561ms
Please don't comment on 2 year old thread. If you want to ask something create a new thread.
Another problem: when I run "sudo ./stopDaemon.sh" in /opt/traccar/bin show error:
sudo: unable to execute /opt/traccar/bin/stopDaemonNoPriv.sh: No such file or directory ( even when the file stopDaemonNoPriv.sh has a rwxr-xr-x root attribute)
++++++++++ YAJSW SET ENV ++++++++++
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
---------- YAJSW SET ENV ----------
sudo: unable to execute /opt/traccar/bin/stopDaemonNoPriv.sh: No such file or directory
Hi Anton...
I have installed traccar windows -32-3.5 and run the server. I use an IP public for testing and set the open port : 5055, changed the config file traccar.xml (for web.port), and success to login.
The client also has been activated with the suitable server IP and port.
But, why the server is not responding the client or its position ?
Is there incorrect configuration ?.
Thanks