Hello,
I am new user and I can not make server working. Hosted at Oracle cloud free tier. Log:
2022-03-31 08:14:53 INFO: HikariPool-1 - Starting...
2022-03-31 08:14:55 INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@102cec62
2022-03-31 08:14:55 INFO: HikariPool-1 - Start completed.
2022-03-31 08:14:57 INFO: Clearing database change log checksums
2022-03-31 08:14:58 INFO: Successfully acquired change log lock
2022-03-31 08:14:58 INFO: Successfully released change log lock
2022-03-31 08:14:59 INFO: Successfully acquired change log lock
2022-03-31 08:14:59 INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-03-31 08:14:59 INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-03-31 08:15:05 INFO: Reading from traccarBD.DATABASECHANGELOG
2022-03-31 08:15:07 INFO: Reading from traccarBD.DATABASECHANGELOG
2022-03-31 08:15:07 INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-03-31 08:15:07 INFO: Successfully released change log lock
2022-03-31 08:15:13 INFO: Operating system name: Linux version: 5.13.0-1021-oracle architecture: amd64
2022-03-31 08:15:13 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Ubuntu version: 11.0.14.1+1-Ubuntu-0ubuntu1.20.04
2022-03-31 08:15:13 INFO: Memory limit heap: 233mb non-heap: 0mb
2022-03-31 08:15:13 INFO: Character encoding: UTF-8 charset: UTF-8
2022-03-31 08:15:13 INFO: Version: 4.15
2022-03-31 08:15:13 INFO: Starting server...
2022-03-31 08:15:14 INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.14.1+1-Ubuntu-0ubuntu1.20.04
2022-03-31 08:15:16 INFO: Started o.t.w.@2dac2e1b{/,null,AVAILABLE}
2022-03-31 08:15:16 INFO: Session workerName=node0
2022-03-31 08:15:18 WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-03-31 08:15:19 INFO: Started o.e.j.s.ServletContextHandler@44e08a7a{/,null,AVAILABLE}
2022-03-31 08:15:19 INFO: Started ServerConnector@6bbe50c9{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-03-31 08:15:19 INFO: Started Server@4c4c7d6c{STARTING}[10.0.7,sto=0] @29594ms
2022-03-31 08:15:20 INFO: Health check enabled with period 480000
What am I doing wrong?
Marysko
Based on the log it seems like it's working.
Hello,
I excactly have the same config. I run Oracle Cloud free.
I installed Canonical Ubuntu 20.04.
I followed the tutorial here : https://www.traccar.org/install-digitalocean/
I think the server is running, but I can't access to it.
Do you know how to configure ?
Thanks a lot and best regards
You think or you know that it's running? Check that the process is running and listening on the ports first. Then if you still can't access, probably you have a firewall or some other network issue.
Thanks a lot for your quick answer !!! It's very very apreciated !!!
I "think" the server is runnig. I have exactlys the same conf log as above.
I have installed for several years on an RPI at home, and it works really well. I have also installed it in my home assistant, and it works very well. I wanted to try the installation on oracle, but not knowing anything about it, I think the oracle firewall is blocking me (although I opened all the ports in TCP for the test).
I'm going to dive into the oracle config.
Last question, how can I check that traccar is listening to the ports? I haven't touched the config file.
Thanks a lot for all your work and best regards !!
You can check ports with something like netstat.
Ok thanks a lot for your quick help.
The problem was indeed with the ubuntu firewall.
I did this to make it work:
- Uninstalling the UFW firewall
sudo ufw disable
sudo apt-get remove ufw
sudo apt-get purge ufw
sudo reboot
- create IPTABLE's rules :
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 8082 -j ACCEPT
sudo netfilter-persistent save
And now it works !!!!
Thanks a lot.
Maybe it would help a lot of people if you could put a tutorial in the documentation for oracle-cloud installation.
This is only because oracle-cloud has an "always free" part and maybe this allows more people to run traccar on servers like this.
Thank you very much again.
Hello,
I am new user and I can not make server working. Hosted at Oracle cloud free tier. Log:
What am I doing wrong?
Marysko