Hi
Today I found Forbidden message when trying to access traccar portal (traccar-linux-64-6.5)
I checked /var/log/httpd/traccar.error-log
and found the following, (looks like this is the root cause), I'm stuck and don't have idea how to fix this?
I have reinstall but it keeps failing like that.
[Wed Oct 16 08:10:42.488113 2024] [proxy:error] [pid 3941] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8082 (localhost) failed
[Wed Oct 16 08:10:42.488215 2024] [proxy:error] [pid 3941] AH00959: ap_proxy_connect_backend disabling worker for (localhost) for 60s
[Wed Oct 16 08:10:42.488223 2024] [proxy_http:error] [pid 3941] [client 149.129.213.156:21689] AH01114: HTTP: failed to make connection to backend: localhost
[root@apps logs]# netstat -lantuep | grep ":8082"
tcp 0 0 0.0.0.0:8082 0.0.0.0:* LISTEN 0 52890 4745/java
tcp 1 0 127.0.0.1:54202 127.0.0.1:8082 CLOSE_WAIT 48 48397 4379/httpd
my /opt/traccar/logs/tracker-server.log
2024-10-16 09:36:38 INFO: Stopping server...
2024-10-16 09:36:39 INFO: Operating system name: Linux version: 3.10.0-1160.119.1.el7.x86_64 architecture: amd64
2024-10-16 09:36:39 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 21.0.4+7-LTS
2024-10-16 09:36:39 INFO: Memory limit heap: 948mb non-heap: 0mb
2024-10-16 09:36:39 INFO: Character encoding: UTF-8
2024-10-16 09:36:39 INFO: Version: 6.5
2024-10-16 09:36:39 INFO: Starting server...
2024-10-16 09:36:40 INFO: HikariPool-1 - Starting...
2024-10-16 09:36:40 INFO: HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@5ab9b447
2024-10-16 09:36:40 INFO: HikariPool-1 - Start completed.
2024-10-16 09:36:41 INFO: Set default schema name to public
2024-10-16 09:36:41 INFO: Clearing database change log checksums
my traccar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://pg.example.com/traccar</entry>
<entry key='database.user'>example</entry>
<entry key='database.password'>Example!!</entry>
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>https://nominatim.openstreetmap.org/reverse</entry>
<entry key='web.path'>./modern/build</entry>
</properties>
Hi
Today I found Forbidden message when trying to access traccar portal (traccar-linux-64-6.5)
I checked
/var/log/httpd/traccar.error-log
and found the following, (looks like this is the root cause), I'm stuck and don't have idea how to fix this?I have reinstall but it keeps failing like that.
my /opt/traccar/logs/tracker-server.log
my traccar.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'> <properties> <!-- Documentation: https://www.traccar.org/configuration-file/ --> <entry key='database.driver'>org.postgresql.Driver</entry> <entry key='database.url'>jdbc:postgresql://pg.example.com/traccar</entry> <entry key='database.user'>example</entry> <entry key='database.password'>Example!!</entry> <entry key='geocoder.enable'>true</entry> <entry key='geocoder.type'>nominatim</entry> <entry key='geocoder.url'>https://nominatim.openstreetmap.org/reverse</entry> <entry key='web.path'>./modern/build</entry> </properties>