Checking for errors in my logs

br2e6 years ago

Checking for errors in my logs I came across these two lines can help me?

2019-05-04 12:54:19  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2019-05-04 12:54:25  WARN: Failed to find a usable hardware address from the network interfaces; using random bytes: c8:12:**:.........:e0
simryc6 years ago

I also get such a info
and I get probably wrong version info - I have upgraded to 4.5 an get 4.4 info.

2019-05-05 12:23:34  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2019-05-05 12:23:34  INFO: Operating system name: Linux version: 3.16.0-6-amd64 architecture: amd64
2019-05-05 12:23:34  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 11.0.3-ojdkbuild+7
2019-05-05 12:23:34  INFO: Memory limit heap: 243mb non-heap: 0mb
2019-05-05 12:23:34  INFO: Character encoding: UTF-8 charset: UTF-8
2019-05-05 12:23:34  INFO: Version: 4.4
2019-05-05 12:23:34  INFO: Starting server...
2019-05-05 12:23:35  INFO: jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 11.0.3-ojdkbuild+7
2019-05-05 12:23:35  INFO: Started o.t.w.@101330ad{/,null,AVAILABLE}
Anton Tananaev6 years ago

That's not an error. You can safely ignore it.

br2e6 years ago
tail -f /opt/traccar/logs/tracker-server.log | grep "WAR"  
2019-05-21 12:50:48  WARN: Failed to find a usable hardware address from the network interfaces; using random bytes: e2:28:41:66:0d:e4:20:3d
2019-05-21 13:04:25  WARN: [6ca705ed] error - Connection reset by peer - IOException (...)
2019-05-21 13:11:42  WARN: [b9f563b1] error - Connection reset by peer - IOException (...)
2019-05-21 13:11:45  WARN: Event send error - javax.mail.SendFailedException: Invalid Addresses;
2019-05-21 13:11:56  WARN: [c50caca7] error - Connection reset by peer - IOException (...)
2019-05-21 13:12:13  WARN: Event send error - javax.mail.SendFailedException: Invalid Addresses;
2019-05-21 13:12:54  WARN: [a2fb38c3] error - Connection reset by peer - IOException (...)
2019-05-21 13:16:26  WARN: [878b9c3c] error - NullPointerException (CommandsManager:147 < ConnectionManager:144 < BaseProtocolDecoder:236 < ...)
2019-05-21 13:16:28  WARN: [526f0faf] error - NullPointerException (CommandsManager:147 < ConnectionManager:144 < BaseProtocolDecoder:231 < ...)
2019-05-21 13:16:40  WARN: [45ea9882] error - NullPointerException (CommandsManager:147 < ConnectionManager:144 < BaseProtocolDecoder:236 < ...)
2019-05-21 13:16:43  WARN: [2f80020a] error - NullPointerException (CommandsManager:147 < ConnectionManager:144 < BaseProtocolDecoder:236 < ...)
2019-05-21 13:16:44  WARN: [96bd0aa1] error - NullPointerException (CommandsManager:147 < ConnectionManager:144 < BaseProtocolDecoder:236 < ...)
2019-05-21 13:22:17  WARN: [e21bbe00] error - Connection reset by peer - IOException (...)
2019-05-21 13:22:18  WARN: [91001d7f] error - Connection reset by peer - IOException (...)
2019-05-21 13:36:08  WARN: [aec0be73] error - Connection reset by peer - IOException (...)
2019-05-21 13:45:09  WARN: [d7e06c17] error - Connection reset by peer - IOException (...)
2019-05-21 13:46:17  WARN: [50d74082] error - Connection reset by peer - IOException (...)
br2e6 years ago

what is this error about can help me Anton?

homa3 years ago

Hi!
How about it?

2021-09-16 12:57:21  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2021-09-16 12:57:23  WARN: JAXBContext implementation could not be found. WADL feature is disabled.

How I can fiw it?

Anton Tananaev3 years ago

Why do you need to fix it?

homa3 years ago

Internal perfectionism and love for error-free logs)

Anton Tananaev3 years ago

Those warnings should not affect any functionality. I haven't really investigated if it's possible to fix those. And I'm not sure if it even make sense to fix. One if them is just an informational message, not even warning.