Your screen dont show all informations.
when I run the command sudo systemctl status traccar.service
sudo systemctl status traccar.service
sudo: unable to resolve host ip-172-31-40-92: Resource temporarily unavailable
● traccar.service - traccar
Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2021-04-08 14:58:35 UTC; 6s ago
Process: 5825 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=exited, status=1/FAILURE)
Main PID: 5825 (code=exited, status=1/FAILURE)
Apr 08 14:58:35 ip-172-31-40-92 systemd[1]: traccar.service: Main process exited, code=exited, status=1/FAILURE
Apr 08 14:58:35 ip-172-31-40-92 systemd[1]: traccar.service: Failed with result 'exit-code'.
MY LOGS.
2021-04-06 15:54:15 INFO: [983ad19a: osmand > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a636f6 e74656e742d6c656e6774683a20300d0a0d0a
2021-04-06 15:54:15 INFO: [983ad19a] id: 953227, time: 2021-04-06 15:54:15, lat: 8.98187, lon: -79.51 010, speed: 0.3, course: 175.1, accuracy: 68.4
2021-04-06 15:54:16 INFO: [983ad19a: osmand < 127.0.0.1] HEX: 504f5354202f3f69643d3134343130342674696 d657374616d703d31363137373234343536266c61743d392e33333830383733266c6f6e3d2d37392e383837343738352673706 565643d302e3031303738353431323037383834363234352662656172696e673d3330352e33313833353933373526616c74697 47564653d31372e3737393138373735323631333634352661636375726163793d31302e3932303939393532363937373533392 6626174743d37332e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e757 83b20553b20416e64726f69642031303b20534d2d413230374d204275696c642f515031412e3139303731312e303230290d0a4 163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7 777772d666f726d2d75726c656e636f6465640d0a5669613a20312e312069702d3137322d33312d34302d39320d0a582d466f7 27761726465642d466f723a203230302e3130382e35352e380d0a582d466f727761726465642d50726f746f3a20687474700d0 a582d466f727761726465642d486f73743a20332e31352e32302e3233330d0a582d466f727761726465642d5365727665723a2 03137322e33312e34302e39320d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683 a20300d0a0d0a
...
2021-04-06 15:54:30 INFO: [983ad19a: osmand > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a636f6 e74656e742d6c656e6774683a20300d0a0d0a
2021-04-06 15:54:30 INFO: [983ad19a] id: 144104, time: 2021-04-06 15:54:30, lat: 9.33812, lon: -79.88 750, speed: 0.4, course: 320.8, accuracy: 11.0
2021-04-06 15:54:32 INFO: [983ad19a: osmand < 127.0.0.1] HEX: 504f5354202f3f69643d3134343130342674696 d657374616d703d31363137373234343732266c61743d392e333338313434266c6f6e3d2d37392e38383735303935267370656 5643d312e303738333234323139383337313838372662656172696e673d3332372e363336353335363434353331323526616c7 469747564653d31372e3134383831333037373630323036382661636375726163793d31312e323434303030343334383735343 83826626174743d37322e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696 e75783b20553b20416e64726f69642031303b20534d2d413230374d204275696c642f515031412e3139303731312e303230290 d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f7 82d7777772d666f726d2d75726c656e636f6465640d0a5669613a20312e312069702d3137322d33312d34302d39320d0a582d4 66f727761726465642d466f723a203230302e3130382e35352e380d0a582d466f727761726465642d50726f746f3a206874747 00d0a582d466f727761726465642d486f73743a20332e31352e32302e3233330d0a582d466f727761726465642d53657276657 23a203137322e33312e34302e39320d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e677 4683a20300d0a0d0a
2021-04-06 15:54:32 INFO: [983ad19a: osmand > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a636f6 e74656e742d6c656e6774683a20300d0a0d0a
2021-04-06 15:54:32 INFO: [983ad19a] id: 144104, time: 2021-04-06 15:54:32, lat: 9.33814, lon: -79.88 751, speed: 1.1, course: 327.6, accuracy: 11.2
traccar ver ?
You have to check console output. Try running server manually:
cd /opt/traccar
/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
doing what Anton says, I get the following
sudo: unable to resolve host ip-172-31-40-92: Resource temporarily unavailable
Error: Unable to access jarfile tracker-server.jar
ubuntu@ip-172-31-40-92:/opt/traccar/jre/bin$ cd ..
ubuntu@ip-172-31-40-92:/opt/traccar/jre$ cd ..
ubuntu@ip-172-31-40-92:/opt/traccar$ sudo /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
sudo: unable to resolve host ip-172-31-40-92: Resource temporarily unavailable
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.
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: No space left on device
at org.traccar.helper.Log$RollingFileHandler.publish(Log.java:82)
at java.logging/java.util.logging.Logger.log(Logger.java:979)
at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582)
at org.slf4j.impl.JDK14LoggerAdapter.error(JDK14LoggerAdapter.java:559)
at org.traccar.Main.run(Main.java:164)
at org.traccar.Main.main(Main.java:110)
Caused by: java.io.IOException: No space left on device
at java.base/java.io.FileOutputStream.writeBytes(Native Method)
at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
at java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)
at java.base/sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:303)
at java.base/sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:281)
at java.base/sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
at java.base/java.io.OutputStreamWriter.write(OutputStreamWriter.java:211)
at java.base/java.io.BufferedWriter.flushBuffer(BufferedWriter.java:120)
at java.base/java.io.BufferedWriter.flush(BufferedWriter.java:256)
at org.traccar.helper.Log$RollingFileHandler.publish(Log.java:80)
... 5 more
The error seems pretty self explanatory:
No space left on device
Thank you, Anton.
Hello everyone,
On April 5 my traccar server is down, checking the status of the service and the logs, it send me the following.
I have my server in AWS.
https://ibb.co/23R7sgS
https://ibb.co/PG2BMH0
I tried restarting the server but it doesn't work.
Does anyone have any idea what it can be?.
Thank you.