The instructions below assume traccar is running on the same host as the mysql server. Make sure the specified database and mysql user exist with adequate permissions. More config options are detailed at /configuration-file/Įnsure the database server is reachable. conf/default.xml jdbc:mysql://localhost:3306/traccar?allowMultiQueries=true &autoReconnect=true &useUnicode=yes &characterEncoding=UTF-8 &sessionVariables=sql_mode=ANSI_QUOTES &useSSL=false traccar password false true true true true 180 30 false 560 Lowering the socket timeout should also help mitigate the effects of intermittent device connectivity. If the device explicitly closes the connection, the marker will also turn red. After 1 minute with no contact, the connection is closed and its marker turns red. I like devices to promptly show as offline: If no message is received from a particular device for 30 seconds, that devices marker turns orange. All trackers I'm using are configured to send at 10 second intervals. Instead of traccar-linux-3.8.zip use traccar-other-3.8. I set short status timeout and port timeouts. Install systemd-sysv-generator if it is available for ArchLinux that enable SysVinit compatiblity for systemd. You can whittle these down later, once you have established those that you do need. If you are not sure which protocol your device uses or which port it attempts to connect to, leave all the ports enabled in default.xml. In my case, h02 (for the dog trackers) and osmand (for the android traccar client app). When i started the service i got the message 'Service traccar started'. I was able to load the localhost:8082 page but today when i had try, i couldn't. My problem is that i had install traccar on a Debian(server) system. Then, in traccar.xml, activate only those protocols I expect to use. I am trying to make an acount to the traccar forum but without any success. Once the process is complete, you should have. sudo apt install certbot python3-certbot-apache sudo certbot -apache. sudo a2dissite 000-default sudo a2ensite traccar sudo service apache2 restart. Since I'm using just two device protocols, I comment out all the protocol declarations in default.xml (nodes containing key=*.port). Traccar serves web interface and API using regular HTTP protocol, which does not use any encryption. I enable several filters to cut down on what I consider spurious or unhelpful locations making their way to the database. I disable the geocoder as I am not interested in address lookups. sudo systemctl daemon-reload sudo systemctl enable rvice sudo systemctl start rvice Delete Traccar installation files to save space: cd rm README. I added this to suppress warnings in MySQL server logs on Ubuntu 16.04. Note the useSSL=false parameter in database.url below. default.xml (a set of defaults, overwritten during upgrades, imported and overridden in traccar.xml).Traccar configuration files are in /opt/traccar/conf: Mar 11 16:58:04 ip-50-62-80-147.ip. traccar: WARNING: Use -illegal-access=warn to enable warnings of further illegal reflective access operations Mar 11 16:58:04 ip-50-62-80-147.ip. traccar: WARNING: Please consider reporting this to the maintainers of .re.$ReflectUtils$1 Mar 11 16:58:04 ip-50-62-80-147.ip. traccar: WARNING: Illegal reflective access by .re.$ReflectUtils$1 (file:/opt/traccar/lib/guic.tionDomain) Mar 11 16:58:04 ip-50-62-80-147.ip. traccar: WARNING: An illegal reflective access operation has occurred Continue with Amazon Linux 2 AMI (64-bit. Configuration Configuration File Notifications Configuration Server Troubleshooting Client Troubleshooting Reverse Geocoding LBS. Select ‘Instances’ and then ‘Launch Instance’. User Manual Quick Start Guide Identifying Protocols User Management Events and Notifications Geofences Motion, Trips and Stops Permissions and Groups Commands Map Layers Computed Attributes. Mar 11 16:57:56 ip-50-62-80-147.ip. systemd: Started traccar. Log in to your AWS Management Console and go to the EC2 service. └─16200 /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Thu 16:57:56 MST 5min ago Install Download and extract the installer package Run traccar-setup.exe and follow instructions Start traccar service from the system Services console. No, I have not opened any ports? Is there a simple way to do so - or should I just google track]$ sudo systemctl status rvice bash: -l: command not question! I was suspicious of something like that. Hint: Some lines were ellipsized, use -l to show in full. Jan 23 17:10:50 traccar: WARNING: All illegal acce. Jan 23 17:10:50 traccar: WARNING: Use -illegal-ac. Jan 23 17:10:50 traccar: WARNING: Please consider. Jan 23 17:10:50 traccar: WARNING: Illegal reflecti. Jan 23 17:10:50 traccar: WARNING: An illegal refle. Jan 23 17:10:44 systemd: Started traccar. └─1015 /opt/traccar/jre/bin/java -jar tracker-server.jar conf/trac. Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset:Īctive: active (running) since Thu 17:10:44 CST 27s ago CT-5ef7f4e3 /# sudo systemctl status rvice
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |