I'm not sure why it happens, but you are not the first one:
Can you tell me what the file size is so I can see if it's getting corrupted via download.
What is the source hash code supposed to be?
I would like to test these new 3G trackers with 3.11 server
Thanks
Here is the MD5 sum that I get:
$ md5 traccar-macos-3.11.zip MD5 (traccar-macos-3.11.zip) = 024bee353d3fb38008e73496c00dabe8
Darrens-iMac:desktop darrenolson$ md5 traccar-macos-3.11.zip
MD5 (traccar-macos-3.11.zip) = 024bee353d3fb38008e73496c00dabe8
We both get the same so no corruption in the download
I solved the MD5 checksum error.
I had the following in my ~/.bash_profile file:
export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH" export PATH="/usr/local/sbin:$PATH"
I removed export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH" and traccar installed no problem.
Verifying archive integrity... All good. Uncompressing traccar 100% ++++++++++ YAJSW SET ENV ++++++++++ java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) wrapper home : /opt/traccar configuration: /opt/traccar/conf/wrapper.conf java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) ---------- YAJSW SET ENV ---------- ++++++++++ YAJSW SET ENV ++++++++++ java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) wrapper home : /opt/traccar configuration: /opt/traccar/conf/wrapper.conf java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) ---------- YAJSW SET ENV ---------- YAJSW: yajsw-stable-12.08 OS : Mac OS X/10.12/x86_64 JVM : Oracle Corporation/1.8.0_91//Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/64 May 04, 2017 7:26:04 PM org.apache.commons.vfs2.VfsLog info INFO: Using "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/vfs_cache" as temporary files store. ************* INSTALLING traccar *********************** Service traccar installed
I suspect XAMPP has some outdated/incompatible command line classes that override your system ones.
Mac os filesystem is not case-sensitive, and both of these directories are in my PATH, there is a conflict
HEAD in /Applications/XAMPP/xamppfiles/bin/, which is related to libwww-perl.
The OS also has an unrelated program called 'head' in /usr/bin/
Good to know. Thanks for sharing this information.
I solved this problem with this command:
PATH=/bin:/usr/bin
root@ubuntu:~# ./traccar.run
Creating directory out
Verifying archive integrity... 100% All good.
Uncompressing traccar 100%
/usr/bin/java
shell-init: erro lendo diretório atual: getcwd: impossÃvel acessar diretórios pai: Arquivo ou diretório não encontrado
++++++++++ YAJSW SET ENV ++++++++++
pwd: erro lendo diretório atual: getcwd: impossÃvel acessar diretórios pai: Arquivo ou diretório não encontrado
chdir: erro lendo diretório atual: getcwd: impossÃvel acessar diretórios pai: Arquivo ou diretório não encontrado
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-stable-12.11
OS : Linux/4.4.0-104-generic/amd64
JVM : Oracle Corporation/1.8.0_161//usr/lib/jvm/java-8-oracle/jre/64
abr 27, 2018 3:31:45 PM org.apache.commons.vfs2.VfsLog info
INFORMAÃÃES: Using "/tmp/vfs_cache" as temporary files store.
************* INSTALLING traccar ***********************
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService getPid
INFORMAÃÃES: wrapper pid file: /run/wrapper.traccar.pid
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
ADVERTÃNCIA: created daemon script: /etc/init.d/traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc2.d/S20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc3.d/S20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc5.d/S20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc4.d/S20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc6.d/K20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc0.d/K20traccar
abr 27, 2018 3:31:46 PM org.rzo.yajsw.os.posix.PosixService install
INFORMAÃÃES: created link : /etc/rc1.d/K20traccar
Service traccar installed
Hi Anton,
I am getting the following checksum error:
Darrens-iMac:traccar-macos-3.11 darrenolson$ sudo chmod +x traccar.run Password: Darrens-iMac:traccar-macos-3.11 darrenolson$ sudo ./traccar.run Verifying archive integrity...Unknown option: n Usage: head [-options] <url>... -m <method> use method for the request (default is 'HEAD') -f make request even if head believes method is illegal -b <base> Use the specified URL as base -t <timeout> Set timeout value -i <time> Set the If-Modified-Since header on the request -c <conttype> use this content-type for POST, PUT, CHECKIN -a Use text mode for content I/O -p <proxyurl> use this as a proxy -P don't load proxy settings from environment -H <header> send this HTTP header (you can specify several) -u Display method and URL before any response -U Display request headers (implies -u) -s Display response status code -S Display response status chain -e Display response headers -d Do not display content -o <format> Process HTML content in various ways -v Show program version -h Print this message -x Extra debugging output Error in MD5 checksums: d41d8cd98f00b204e9800998ecf8427e is different from db0ea949f1727dd57d2fdd104de54f0f Darrens-iMac:~ darrenolson$ cd desktop Darrens-iMac:desktop darrenolson$ MD5 traccar-macos-3.11.zip MD5 (traccar-macos-3.11.zip) = 024bee353d3fb38008e73496c00dabe8I get the same error with the same hash when I download the server from here Sourceforge:
Server files sourceforge