/opt/traccar/bin/startDaemon.sh: command not found

Roy3 years ago
root@hera:/opt/traccar# java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
root@hera:/opt/traccar# javac -version
javac 11.0.10
root@hera:/opt/traccar# ls
conf  data  jre  lib  logs  schema  templates  tracker-server.jar  web
root@hera:/opt/traccar# sudo /opt/traccar/bin/startDaemon.sh
sudo: /opt/traccar/bin/startDaemon.sh: command not found
root@hera:/opt/traccar# 

Hello Anton,
I installed java however when i try to run startdaemon it says command not found, and i noticed i don't have a bin folder inside my traccar folder, could this be the issue? and if yes, how can i get this folder.

Thanks a lot

Anton Tananaev3 years ago
  1. What version have you installed?
  2. Where did you get that command from?
Roy3 years ago

1- Linux x64 traccar-linux-64-4.12.zip
2- I followed this tutorial https://www.youtube.com/watch?v=erwB1myvzPk

Anton Tananaev3 years ago

The video is obviously outdated. Please check the official documentation.

Roy3 years ago

This page? https://www.traccar.org/install-digitalocean/

I don't use digitalocean, i use another vps provider, but i suppose they should be the same commands correct?

Anton Tananaev3 years ago

If you read till the end of that short page:

Note that you can use above commands on any Ubuntu server, not just DigitalOcean.

Roy3 years ago

Great, thanks a lot

Roy3 years ago

It seems i have a certain issue with the domain name so i cannot check if it really works, i need to follow up with my domain name provider, After running service traccar start, is there any command that i can type to make sure that it is running? until my domain issue is fixed

Slawek3 years ago

sudo systemctl status traccar.service;

http://ip_adress:8082
Roy3 years ago

Hello, i followed these steps https://www.traccar.org/install-digitalocean/
But my database is still empty, do we have to run any command so that the content of the database get created?

Thank you

Slawek3 years ago

this is new installation MySQL ? Do you have any other databases there ?