You can ignore those warnings.
Ok that is good to know, can I ask what it is causing it? It looks a bit like google prying?
I am not using google for geocoding, the default is openstreetmap, so just wondering?
I should also ask how to stop it is it install default-jre and point to that?
Adrian
We use Google Guice (injection library) in some places in the code. It has nothing to do with mapping.
Is that a difference between the 32 bit and 64 bit installs, just wondering why I do not see the error on the 32 bit machine only on the 64.
Adrian
There is no 32-bit installer.
On the manual install where one has to unzip the files and place them in to a directory on the computer.
Manual doesn't come with Java VM, which means it uses VM available on your system and it likely doesn't report those warnings. Probably because older Java versions don't report them.
OK, as normal just trying to understand a bit more on the where and why things happen.
I often think I have made an error.
Thank you
Adrian
Hello @Anton, I have also see that warning after I install mod_security, mod_evasive and mod_qos. I also see that in logs:
Feb 2 18:06:15 OpenVPN systemd[1]: traccar.service: Watchdog timeout (limit 10min)!
Feb 2 18:06:16 OpenVPN systemd[1]: traccar.service: Killing process 22735 (java) with signal SIGABRT.
Feb 2 18:06:16 OpenVPN systemd[1]: traccar.service: Main process exited, code=killed, status=6/ABRT
Feb 2 18:06:16 OpenVPN systemd[1]: traccar.service: Failed with result 'watchdog'.
Feb 2 18:06:26 OpenVPN systemd[1]: traccar.service: Service RestartSec=10s expired, scheduling restart.
Feb 2 18:06:26 OpenVPN systemd[1]: traccar.service: Scheduled restart job, restart counter is at 131.
Feb 2 18:06:26 OpenVPN systemd[1]: Stopped traccar.
Feb 2 18:06:26 OpenVPN systemd[1]: Started traccar.
Feb 2 18:06:27 OpenVPN traccar[22885]: Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Feb 2 18:06:37 OpenVPN traccar[22885]: WARNING: An illegal reflective access operation has occurred
Feb 2 18:06:37 OpenVPN traccar[22885]: WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/opt/traccar/lib/guice-4.2.3.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
Feb 2 18:06:37 OpenVPN traccar[22885]: WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
Feb 2 18:06:37 OpenVPN traccar[22885]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Feb 2 18:06:37 OpenVPN traccar[22885]: WARNING: All illegal access operations will be denied in a future release
Feb 2 18:26:47 OpenVPN systemd[1]: traccar.service: Service RestartSec=10s expired, scheduling restart.
Feb 2 18:26:47 OpenVPN systemd[1]: traccar.service: Scheduled restart job, restart counter is at 133.
Feb 2 18:26:47 OpenVPN systemd[1]: Stopped traccar.
Feb 2 18:26:47 OpenVPN systemd[1]: Started traccar.
[Tue Feb 02 18:53:34.186881 2021] [:error] [pid 27588:tid 140254052849408] [client 207.46.13.211:37195] [client 207.46.13.211] ModSecurity: Warning. Pattern match "^[\\\\d.:]+$" at REQUEST_HEADERS:Host. [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "792"] [id "920350"] [msg "Host header is a numeric IP address"] [data "217.61.63.183"] [severity "WARNING"] [ver "OWASP_CRS/3.1.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "217.61.63.183"] [uri "/robots.txt"] [unique_id "YBmfrgokaFEeE44wp6fUDQAAAAo"]
[Tue Feb 02 18:53:34.580116 2021] [:error] [pid 27588:tid 140253927024384] [client 207.46.13.211:37195] [client 207.46.13.211] ModSecurity: Warning. Pattern match "^[\\\\d.:]+$" at REQUEST_HEADERS:Host. [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "792"] [id "920350"] [msg "Host header is a numeric IP address"] [data "217.61.63.183"] [severity "WARNING"] [ver "OWASP_CRS/3.1.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "217.61.63.183"] [uri "/robots.txt"] [unique_id "YBmfrgokaFEeE44wp6fUDgAAABA"]
[Tue Feb 02 18:53:39.176552 2021] [:error] [pid 27588:tid 140253868275456] [client 13.66.139.146:65408] [client 13.66.139.146] ModSecurity: Warning. Pattern match "^[\\\\d.:]+$" at REQUEST_HEADERS:Host. [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "792"] [id "920350"] [msg "Host header is a numeric IP address"] [data "217.61.63.183"] [severity "WARNING"] [ver "OWASP_CRS/3.1.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "217.61.63.183"] [uri "/"] [unique_id "YBmfswokaFEeE44wp6fUDwAAABc"]
Can You tell me do I have to worry?
Regards Przemek
I had a chance to get hold of a 64 bit machine today so installed the 64 bit version 4.2 Linux install on a ubuntu 18.04 server operating system. I do not get this in the 32 bit computer running traccar. on ubuntu 16.04
The only differences I can think of is the version of java between the two, this 64 bit will ahve the version as installed with the install package and on the 32 bit machine I install from ubuntu.
Have added the mysql database, apache2 and made it https: all from following the installation guide, no devices yetone thing I noticed is the above warning message when I run:
sudo systemctl status traccar I get:-
I have run update and upgrade to make sure all is the latest patches. can anyone assist?
The server is working although I have not tried attaching any devices yet.
If one needs anymore information I will try to get it.
Adrian