Tuesday, April 26, 2016

opengts Error reading Account - "Install the JDBC jar file in one of the "

After Finishing installation process on Ubuntu for Opengts 2.6.1 , I cannot login to the syatem and the message "Error reading Account" keep showing every time , to solve this problem you cannot find a lot of solutions on google . unless you have a long time to search inside blogs and forums for any hint.

there is a file in tmp/log folder called "TrackWar.log", this is the place you start search in , and looking for messages . I found the error messages in my case caused by missing to install JDBC jar file into Tomcat folder.

So, the solution is to copy this file to tomcat bin folder:

sudo cp mysql-connector-java-5.1.38-bin.jar $CATALINA_HOME/lib 

Friday, April 22, 2016

Traccar not working after install on ubuntu

always  I did this mistake and go back to google asking for a solution for this problem , the main issue is that java jre is not installed , so execute the following command:

sudo apt-get install default-jre
 
Then start traccar.

Wednesday, April 20, 2016

Traccar windows service start then stop ,The Traccar service terminated with service-specific error Incorrect function..

This problem happened when I changed from H2 database to mysql didn't remove the old database the had been created by an old version of traccar.
to solve it : just remove the old database of traccar and create a new one.
Another Problem is when you have a no password database , and made a space in the password place in the configuration file traccar.xml
 
<entry key='database.user'>root</entry> 
<entry key='database.password'> </entry>

to solve it: remove the space in this field and start traccar service again.
 
<entry key='database.user'>root</entry> 
<entry key='database.password'></entry>

Monday, April 4, 2016

Using Postgres pgsql database without password

For developing reason you may need to install PostgreSQL database without password , this is useful when developing locally, but you have to change it for a production server:
 this when you install your server for the first time

initdb -U postgres -A password -E utf8 -W -D POSTGRESQL_ROOT\data

Now if you want the server to conncected to without paswword then  write it like this

initdb -U postgres   -E utf8  -D POSTGRESQL_ROOT\data

That's it