Follow troubleshooting guide.
Hi,
I have tried to see Server Log but I am getting No such file or directory in Linux Server.Could you please help me out to solve this issue
Mine is Linux CentOs 7 VPS server
tail -f tracker-server.log
tail: cannot open ‘tracker-server.log’ for reading: No such file or directory
tail: no files remaining
This is what I get
Is your server even running?
server is running
Then there should be log file, unless you disabled it in the config.
Hi,
I had installed traccar into my SSD Cloud Ubuntu 19.04 Server using following this steps
user@server:~$ sudo apt-get install default-jre
user@server:~$ sudo apt-get install mysql-server
user@server:~$ mysql -u root -p
mysql> CREATE DATABASE [database name for traccar];
mysql> CREATE USER '[mysql database user]'@'localhost' IDENTIFIED BY '[password]';
mysql> GRANT ALL PRIVILEGES ON [database name for traccar].* TO '[mysql database user]'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
(i asume that traccar source is on /usr/src folder)
user@server:~$ cd /usr/src/
user@server:/usr/src$ sudo apt-get install zip
user@server:/usr/src$ sudo unzip traccar-linux-4.0.zip
user@server:/usr/src$ sudo ./traccar.run
user@server:/usr/src$ sudo nano /opt/traccar/conf/traccar.xml
(on this step, just follow the instruction from https://www.traccar.org/mysql/)
user@server:/usr/src$ sudo /opt/traccar/bin/startDaemon.sh
Ref:https://www.traccar.org/forums/topic/how-to-install-and-configure-traccar-mysql-database/
It works fine with MySql.
I tried the same with MS-SQL.(Replaced Config using https://www.traccar.org/ms-sql/)
MS-SQL Database is in another windows server.
When Installing with MS-SQL tables are also created into the database.
Whereas the same IP says This site can’t be reached.
Kindly help me out in this..
Is it possible install Traccar into Linux VPS and Database into another Windows Shared Server..
Note: MS-SQL tables are also created into the database and admin user values is also added into table tc_users
Here is my log:
@localhost:/usr/src# tail -f /opt/traccar/logs/wrapper.log.*
==> /opt/traccar/logs/wrapper.log.20190528 <==
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:757)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7347)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2713)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:224)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:204)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(SQLServerStatement.java:734)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:352)
FINEST|2643/0|Service traccar|19-05-28 14:04:39| ... 20 more
INFO|wrapper|Service traccar|19-05-28 14:04:39|waitpid 2643 59136
INFO|wrapper|Service traccar|19-05-28 14:04:39|exit code posix process: 59136 application(status/signal): 231/0
==> /opt/traccar/logs/wrapper.log.20190528.lck <==
Hi,
I tried into install Traccar into my Linux CentOs 7 VPS server and got everything done as per the tutorial.
My IP too is public.
I tried with demo traccar server demo5.traccar.org and got the location
but when i give my server IP i get Send Failed only in Traccar Client.
Device is getting added into the tc_devices table from my server Ip.
Data is not added into tc_positions table
Ports are open only.
Kindly guide me as am a newbie in this