[Beta] Traccar - GPS Trackingserver

frankricht

Benutzer
Mitglied seit
06. Mai 2015
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

ich versuche gerade traccar auf einer DS 213+ mit DSM 5.2 beta zum laufen zu bekommen.

ipkg habe ich bereits unter DSM 5.1 installiert

folgende Schritte erfolgten alle unter DSM 5.2:
- ipkg wieder flottgemacht (ln -s /volume1/@optware /opt und path variablen wieder setzen)
- gettext, coreutils, textutils mit ipgk installieren
- java über http://packages.pcloadletter.co.uk/ installieren (ejre-7u75-fcs-b13-linux-ppc-e500v2-headless-18_dec_2014.tar)
- traccar installieren (2.9.17)

Leider lässt es sich nicht starten. Im Logordner wird nur eine wrapper.log.** mit folgendem Inhalt angelegt:

Rich (BBCode):
WARN   | wrapper  | 2015/05/06 11:17:58 | The version of the script (3.5.22) doesn't match the version of this Wrapper (3.5.20). This might cause some problems
STATUS | wrapper  | 2015/05/06 11:17:58 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/05/06 11:17:58 | Java Service Wrapper Community Edition 32-bit 3.5.20
STATUS | wrapper  | 2015/05/06 11:17:58 |   Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2015/05/06 11:17:58 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2015/05/06 11:17:58 | 
STATUS | wrapper  | 2015/05/06 11:17:58 | Launching a JVM...
INFO   | jvm 1    | 2015/05/06 11:17:59 | WrapperManager: Initializing...
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager: WARNING - The Wrapper jar file currently in use is version "3.5.24"
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           while the version of the Wrapper which launched this JVM is
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           "3.5.20".
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           The Wrapper may appear to work correctly but some features may
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           not function correctly.  This configuration has not been tested
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           and is not supported.
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager: 
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager: WARNING - The version of the Wrapper which launched this JVM is
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           "3.5.20" while the version of the native library
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           is "3.5.24".
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           The Wrapper may appear to work correctly but some features may
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           not function correctly.  This configuration has not been tested
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager:           and is not supported.
INFO   | jvm 1    | 2015/05/06 11:18:00 | WrapperManager: 
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp: 
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 35; The content of elements must consist of well-formed character data or markup.
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:76)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.util.Properties.loadFromXML(Properties.java:868)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at org.traccar.ServerManager.init(ServerManager.java:93)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:27)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: Caused by: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 35; The content of elements must consist of well-formed character data or markup.
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2636)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2734)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:74)
INFO   | jvm 1    | 2015/05/06 11:18:01 | WrapperSimpleApp Error: 	... 9 more
STATUS | wrapper  | 2015/05/06 11:18:03 | <-- Wrapper Stopped

im thread habe ich gelesen, das die unterschiedlichen versionen beim wrapper nicht so das problem sind
aber weswegen läuft es nicht?

grüße
Frank
 
Zuletzt bearbeitet:

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Hi, leider habe ich bisher noch keine Rückinfo zu dieser Version bekommen. Du bist der erste. Es sieht so aus, als ob die Wrapperversionen vom startscript mit dem aus dem Ordner nicht überein stimmen. Leider hat meine Syno den Geist aufgegeben und ich kann im Moment in der Richtung nichts testen.
Du kannst folgendes probieren:

!den Traccar Ordner sichern!

lade die hier den Wrapper runter und überschreibe die Dateien in
Rich (BBCode):
/bin/wrapper
/lib/wrapper.jar
/lib/libwrapper.so
/conf/wrapper.conf

die Datei /conf/wrapper.conf mit diesen Zeilen ergänzen:
(diese sollten auch in der Sicherung nachzulesen seien)
Die Zeilen Stehen am Ende
Rich (BBCode):
echo "# Parameter setting by Synology installation Gui" >> Pfad zur Datei/conf/wrapper.conf
echo "wrapper.app.parameter.2=Pfad zur Datei/conf/traccar.cfg" >> Pfad zur Datei/conf/wrapper.conf
 

LoganMCV

Benutzer
Mitglied seit
15. Apr 2014
Beiträge
104
Punkte für Reaktionen
0
Punkte
16
@ 1sthandy

Bei meiner 213+ funzt die Version 2.9-017 wie es soll incl. Installation.
Sonst hätte ich schon berichtet.
Gruß LoganMCV
 
Zuletzt bearbeitet:

LoganMCV

Benutzer
Mitglied seit
15. Apr 2014
Beiträge
104
Punkte für Reaktionen
0
Punkte
16
@ 1sthandy

Das war bei der 213+ aber ist doch schon ne weile her. .
Bei der hats funktioniert 2.9-017

Gruß LoganMCV
 

frankricht

Benutzer
Mitglied seit
06. Mai 2015
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
Hi, leider habe ich bisher noch keine Rückinfo zu dieser Version bekommen. Du bist der erste. Es sieht so aus, als ob die Wrapperversionen vom startscript mit dem aus dem Ordner nicht überein stimmen. Leider hat meine Syno den Geist aufgegeben und ich kann im Moment in der Richtung nichts testen.
Du kannst folgendes probieren:
...

das funktioniert leider nicht
habe die wrapper-linux-ppc-32-3.5.26 runtergeladen, entpackt und folgendes probiert:

Rich (BBCode):
cd /volume1/@appstore/traccar/

cp ./bin/wrapper ./bin/wrapper.old
cp ./lib/wrapper.jar ./lib/wrapper.jar.old
cp ./lib/libwrapper.so ./lib/libwrapper.so.old
cp ./conf/wrapper.conf ./conf/wrapper.conf.old

cp /volume1/downloads/wrapper-linux-ppc-32-3.5.26/bin/wrapper ./bin/wrapper
chmod 0777 ./bin/wrapper
chown admin ./bin/wrapper
chgrp users ./bin/wrapper
ls -l ./bin

cp /volume1/downloads/wrapper-linux-ppc-32-3.5.26/conf/wrapper.conf ./conf/wrapper.conf
chmod 0777 ./conf/wrapper.conf
chown admin ./conf/wrapper.conf
chgrp users ./conf/wrapper.conf
ls -l ./conf
echo "# Parameter setting by Synology installation Gui" >> ./conf/wrapper.conf
echo "wrapper.app.parameter.2=Pfad zur Datei/conf/traccar.cfg" >> ./conf/wrapper.conf
ls -l ./conf

cp /volume1/downloads/wrapper-linux-ppc-32-3.5.26/lib/wrapper.jar ./lib/wrapper.jar
chmod 0777 ./lib/wrapper.jar
chown admin ./lib/wrapper.jar
chgrp users ./lib/wrapper.jar

cp /volume1/downloads/wrapper-linux-ppc-32-3.5.26/lib/libwrapper.so ./lib/libwrapper.so
chmod 0777 ./lib/libwrapper.so
chown admin ./lib/libwrapper.so
chgrp users ./lib/libwrapper.so
ls -l ./lib
wenn ich jetzt traccar über DSM starte, dann wird nix im logfile abgelegt

ich habe auch version 3.5.22 und 3.5.24 ohne erfolg probiert

nur version 3.5.20 legt ein log an und gibt dann folgendes aus:

Rich (BBCode):
WARN   | wrapper  | 2015/05/08 10:57:48 | The version of the script (3.5.22) doesn't match the version of this Wrapper (3.5.20). This might cause some problems
STATUS | wrapper  | 2015/05/08 10:57:48 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/05/08 10:57:48 | Java Service Wrapper Community Edition 32-bit 3.5.20
STATUS | wrapper  | 2015/05/08 10:57:48 |   Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2015/05/08 10:57:48 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2015/05/08 10:57:48 | 
STATUS | wrapper  | 2015/05/08 10:57:48 | Launching a JVM...
ERROR  | wrapper  | 2015/05/08 10:57:49 | JVM exited while loading the application.
INFO   | jvm 1    | 2015/05/08 10:57:49 | Error: Could not find or load main class org.tanukisoftware.wrapper.test.Main
STATUS | wrapper  | 2015/05/08 10:57:53 | Launching a JVM...
ERROR  | wrapper  | 2015/05/08 10:57:54 | JVM exited while loading the application.
INFO   | jvm 2    | 2015/05/08 10:57:54 | Error: Could not find or load main class org.tanukisoftware.wrapper.test.Main
STATUS | wrapper  | 2015/05/08 10:57:58 | Launching a JVM...
ERROR  | wrapper  | 2015/05/08 10:57:59 | JVM exited while loading the application.
INFO   | jvm 3    | 2015/05/08 10:57:59 | Error: Could not find or load main class org.tanukisoftware.wrapper.test.Main
STATUS | wrapper  | 2015/05/08 10:58:03 | Launching a JVM...
ERROR  | wrapper  | 2015/05/08 10:58:04 | JVM exited while loading the application.
INFO   | jvm 4    | 2015/05/08 10:58:04 | Error: Could not find or load main class org.tanukisoftware.wrapper.test.Main
STATUS | wrapper  | 2015/05/08 10:58:08 | Launching a JVM...
ERROR  | wrapper  | 2015/05/08 10:58:08 | JVM exited while loading the application.
INFO   | jvm 5    | 2015/05/08 10:58:08 | Error: Could not find or load main class org.tanukisoftware.wrapper.test.Main
FATAL  | wrapper  | 2015/05/08 10:58:09 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2015/05/08 10:58:09 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2015/05/08 10:58:09 | <-- Wrapper Stopped

ich finde es seltsam, das nicht mal was ins log geschrieben wird (der logpfad in der wrapper.conf ist überall identisch)
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Hi,

ich bin leider im Moment etwas eingeschränkt, da meine Syno den Geist aufgegeben hat.

kannst Du mal traccar über die Commandline starten und schauen, ob hier vielleicht noch ein Fehler angezeigt wird?

Rich (BBCode):
/volume1/@appstore/traccar/bin/traccar start

wie sieht deine wrapper.conf aus?
 

frankricht

Benutzer
Mitglied seit
06. Mai 2015
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
oh je, ich dachte die halten ewig ;)

version 32-3.5.20
Code:
Starting traccar...
Waiting for traccar.......................
WARNING: traccar may have failed to start.
und Logfile wie oben

32-3.5.26
Code:
Starting traccar...
Illegal instruction (core dumped)
Waiting for traccar.......................
WARNING: traccar may have failed to start.
und kein Logfile

Die wrapper.conf ist in den verschiedenen Versionen identisch, ich habe nur noch die beiden letzten Zeilen angefügt:
Code:
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
#  of the the file.

#********************************************************************
# Wrapper License Properties (Ignored by Community Edition)
#********************************************************************
# Professional and Standard Editions of the Wrapper require a valid
#  License Key to start.  Licenses can be purchased or a trial license
#  requested on the following pages:
# http://wrapper.tanukisoftware.com/purchase
# http://wrapper.tanukisoftware.com/trial

# Include file problems can be debugged by removing the first '#'
#  from the following line:
##include.debug

# The Wrapper will look for either of the following optional files for a
#  valid License Key.  License Key properties can optionally be included
#  directly in this configuration file.
#include ../conf/wrapper-license.conf
#include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf

# The following property will output information about which License Key(s)
#  are being found, and can aid in resolving any licensing problems.
#wrapper.license.debug=TRUE

#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the locale which the Wrapper should use.  By default the system
#  locale is used.
#wrapper.lang=en_US # en_US or ja_JP

# Specify the location of the Wrapper's language resources.  If these are
#  missing, the Wrapper will default to the en_US locale.
wrapper.lang.folder=../lang

#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
#  Locate the java binary on the system PATH:
wrapper.java.command=java
#  Specify a specific java binary:
#set.JAVA_HOME=/java/path
#wrapper.java.command=%JAVA_HOME%/bin/java

# Tell the Wrapper to log the full generated Java command line.
#wrapper.java.command.loglevel=INFO

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.test.Main

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=../lib/wrappertest.jar
wrapper.java.classpath.2=../lib/wrapper.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=../lib

# Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters
wrapper.java.additional.1=

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3

# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64

# Application parameters.  Add parameters as needed starting from 1
#wrapper.app.parameter.1=

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE

# Format of output for the console.  (See docs for formats)
wrapper.console.format=PM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=../logs/wrapper.log

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPTM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper General Properties
#********************************************************************
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE

# Do not start if the pid file already exists.
wrapper.pidfile.strict=TRUE

# Title to use when running as a console
wrapper.console.title=Test Wrapper Sample Application

#********************************************************************
# Wrapper JVM Checks
#********************************************************************
# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=10
wrapper.check.deadlock.action=RESTART
wrapper.check.deadlock.output=FULL

# Out Of Memory detection.
# (Ignore output from dumping the configuration to the console.  This is only needed by the TestWrapper sample application.)
wrapper.filter.trigger.999=wrapper.filter.trigger.*java.lang.OutOfMemoryError
wrapper.filter.allow_wildcards.999=TRUE
wrapper.filter.action.999=NONE
#  Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.

#********************************************************************
# Wrapper Email Notifications. (Requires Professional Edition)
#********************************************************************
# Common Event Email settings.
#wrapper.event.default.email.debug=TRUE
#wrapper.event.default.email.smtp.host=<SMTP_Host>
#wrapper.event.default.email.smtp.port=25
#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
#wrapper.event.default.email.sender=<Sender email>
#wrapper.event.default.email.recipient=<Recipient email>

# Configure the log attached to event emails.
#wrapper.event.default.email.attach_log=TRUE
#wrapper.event.default.email.maillog.lines=50
#wrapper.event.default.email.maillog.format=LPTM
#wrapper.event.default.email.maillog.loglevel=INFO

# Enable specific event emails.
#wrapper.event.wrapper_start.email=TRUE
#wrapper.event.jvm_prelaunch.email=TRUE
#wrapper.event.jvm_start.email=TRUE
#wrapper.event.jvm_started.email=TRUE
#wrapper.event.jvm_deadlock.email=TRUE
#wrapper.event.jvm_stop.email=TRUE
#wrapper.event.jvm_stopped.email=TRUE
#wrapper.event.jvm_restart.email=TRUE
#wrapper.event.jvm_failed_invocation.email=TRUE
#wrapper.event.jvm_max_failed_invocations.email=TRUE
#wrapper.event.jvm_kill.email=TRUE
#wrapper.event.jvm_killed.email=TRUE
#wrapper.event.jvm_unexpected_exit.email=TRUE
#wrapper.event.wrapper_stop.email=TRUE

# Specify custom mail content
wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
wrapper.name=testwrapper

# Display name of the service
wrapper.displayname=Test Wrapper Sample Application

# Description of the service
wrapper.description=Test Wrapper Sample Application Description

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false

# Parameter setting by Synology installation Gui
wrapper.app.parameter.2=/volume1/@appstore/traccar/conf/traccar.cfg
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Da gibt es Abweichungen...

Dies ist meine conf:

Rich (BBCode):
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
#  of the the file.

#********************************************************************
# Wrapper License Properties (Ignored by Community Edition)
#********************************************************************
# Professional and Standard Editions of the Wrapper require a valid
#  License Key to start.  Licenses can be purchased or a trial license
#  requested on the following pages:
# http://wrapper.tanukisoftware.com/purchase
# http://wrapper.tanukisoftware.com/trial

# Include file problems can be debugged by removing the first '#'
#  from the following line:
##include.debug

# The Wrapper will look for either of the following optional files for a
#  valid License Key.  License Key properties can optionally be included
#  directly in this configuration file.
#include ../conf/wrapper-license.conf
#include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf

# The following property will output information about which License Key(s)
#  are being found, and can aid in resolving any licensing problems.
#wrapper.license.debug=TRUE

#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the locale which the Wrapper should use.  By default the system
#  locale is used.
#wrapper.lang=en_US # en_US or ja_JP

# Specify the location of the Wrapper's language resources.  If these are
#  missing, the Wrapper will default to the en_US locale.
wrapper.lang.folder=../lang

#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
#  Locate the java binary on the system PATH:
wrapper.java.command=java
#  Specify a specific java binary:
#set.JAVA_HOME=/java/path
#wrapper.java.command=%JAVA_HOME%/bin/java

# Tell the Wrapper to log the full generated Java command line.
#wrapper.java.command.loglevel=INFO

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.2=../tracker-server.jar
wrapper.java.classpath.1=../lib/wrapper.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=../lib

# Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters
wrapper.java.additional.1=

# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3

# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64

# Application parameters.  Add parameters as needed starting from 1
#wrapper.app.parameter.2=/opt/traccar/conf/traccar.cfg
wrapper.app.parameter.1=org.traccar.Main

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE

# Format of output for the console.  (See docs for formats)
wrapper.console.format=PM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=../logs/wrapper.log.YYYYMMDD
wrapper.logfile.rollmode=DATE

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPTM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper General Properties
#********************************************************************
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE

# Do not start if the pid file already exists.
wrapper.pidfile.strict=TRUE

# Title to use when running as a console
wrapper.console.title=traccar

#********************************************************************
# Wrapper JVM Checks
#********************************************************************
# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=60
wrapper.check.deadlock.action=RESTART
wrapper.check.deadlock.output=FULL

# Out Of Memory detection.
#  Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.

#********************************************************************
# Wrapper Email Notifications. (Requires Professional Edition)
#********************************************************************
# Common Event Email settings.
#wrapper.event.default.email.debug=TRUE
#wrapper.event.default.email.smtp.host=<SMTP_Host>
#wrapper.event.default.email.smtp.port=25
#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
#wrapper.event.default.email.sender=<Sender email>
#wrapper.event.default.email.recipient=<Recipient email>

# Configure the log attached to event emails.
#wrapper.event.default.email.attach_log=TRUE
#wrapper.event.default.email.maillog.lines=50
#wrapper.event.default.email.maillog.format=LPTM
#wrapper.event.default.email.maillog.loglevel=INFO

# Enable specific event emails.
#wrapper.event.wrapper_start.email=TRUE
#wrapper.event.jvm_prelaunch.email=TRUE
#wrapper.event.jvm_start.email=TRUE
#wrapper.event.jvm_started.email=TRUE
#wrapper.event.jvm_deadlock.email=TRUE
#wrapper.event.jvm_stop.email=TRUE
#wrapper.event.jvm_stopped.email=TRUE
#wrapper.event.jvm_restart.email=TRUE
#wrapper.event.jvm_failed_invocation.email=TRUE
#wrapper.event.jvm_max_failed_invocations.email=TRUE
#wrapper.event.jvm_kill.email=TRUE
#wrapper.event.jvm_killed.email=TRUE
#wrapper.event.jvm_unexpected_exit.email=TRUE
#wrapper.event.wrapper_stop.email=TRUE

# Specify custom mail content
wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
wrapper.name=traccar

# Display name of the service
wrapper.displayname=traccar

# Description of the service
wrapper.description=traccar

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
# Parameter setting by Synology installation Gui
wrapper.app.parameter.2=/volume1/@appstore/traccar/conf/traccar.cfg
 
Zuletzt bearbeitet:

frankricht

Benutzer
Mitglied seit
06. Mai 2015
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
Die Meldungen auf der Konsole mit Deiner config sind exakt die selben wie vorher.

Nur das log für die version 32-3.5.20 ist anders:
Code:
WARN   | wrapper  | 2015/05/18 10:40:44 | The version of the script (3.5.22) doesn't match the version of this Wrapper (3.5.20). This might cause some problems
STATUS | wrapper  | 2015/05/18 10:40:44 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/05/18 10:40:44 | Java Service Wrapper Community Edition 32-bit 3.5.20
STATUS | wrapper  | 2015/05/18 10:40:44 |   Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2015/05/18 10:40:44 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2015/05/18 10:40:44 | 
STATUS | wrapper  | 2015/05/18 10:40:45 | Launching a JVM...
INFO   | jvm 1    | 2015/05/18 10:40:45 | WrapperManager: Initializing...
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp: 
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 35; The content of elements must consist of well-formed character data or markup.
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:76)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.util.Properties.loadFromXML(Properties.java:868)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at org.traccar.ServerManager.init(ServerManager.java:93)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:27)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: Caused by: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 35; The content of elements must consist of well-formed character data or markup.
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2636)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2734)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:74)
INFO   | jvm 1    | 2015/05/18 10:40:47 | WrapperSimpleApp Error: 	... 9 more
STATUS | wrapper  | 2015/05/18 10:40:49 | <-- Wrapper Stopped

ich habe auch mal version 32-3.5.22 und version 32-3.5.24 getestet. Diese verhalten sich wie die version 32-3.5.26. (gleiche fehler in der Kosole, kein logfile wird angelegt)
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Habe meine neue Synology bekommen, bin am einrichten.

Da ich nun eine Intel CPU habe werden meine Tests jetzt eher auf x86 und x64 ausgelegt sein.

Für x86 & x64 gibt es die Version 2.12

diese kann ich leider nicht auf cphub hochladen, ist wohl zu groß. Werde mir den Installer am Wochenende mal ansehen, vielleicht kann ich was auslagern.
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
14
Punkte
84
Für x86 & x64 gibt es die Version 2.12

diese kann ich leider nicht auf cphub hochladen, ist wohl zu groß. Werde mir den Installer am Wochenende mal ansehen, vielleicht kann ich was auslagern.
z.Z. liegt die Grenze bei 40Mb, Traccar für Linux x64 ist aber nur 23,1Mb groß, wo kommt der Rest her?
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
z.Z. liegt die Grenze bei 40Mb, Traccar für Linux x64 ist aber nur 23,1Mb groß, wo kommt der Rest her?

Die neuere WebUI hat schon alleine 37MB, ich hatte jetzt die Idee die Installation per wget aufzurufen, also entweder die original WebUI oder die erweiterte per wget. Würde das funktionieren?
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
14
Punkte
84
Die neuere WebUI hat schon alleine 37MB, ich hatte jetzt die Idee die Installation per wget aufzurufen, also entweder die original WebUI oder die erweiterte per wget. Würde das funktionieren?
naja an mir soll es nicht liegen, musst du wissen, ob du dir die Arbeit machen möchtest ;) Du musst das dann natürlich von deren Server laden, falls das die Frage von dir war. Du könntest per WIZARD_UIFILES einen Dialog erstellen und bei der Installation/Akualisierung aufrufen, der dann den Benutzer fragt welche WebUI er benutzen möchte.
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Genauso meinte ich das. Naja, dadurch wäre das Packet nur 23 MB groß. Die Fileurl scheint immer die gleiche zu sein.
Der Vorteil wäre auch, ich müßte mich nicht um dieses File kümmern.
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
14
Punkte
84

LoganMCV

Benutzer
Mitglied seit
15. Apr 2014
Beiträge
104
Punkte für Reaktionen
0
Punkte
16
Auch die anderen Versionen sind nun auf der 2.12, bitte testet diese und gebt mir eine Info, da ich leider diese Systeme nicht zum testen habe.

Version 2.12 ppc zum testen

Hallo habe diese Version installiert und musste wieder die wrapper von der alten Version reinkopieren .
Mit der neuen geht es leider nicht.
Warum ist das so ?

Gruß LoganMCV
 

1sthandy

Benutzer
Mitglied seit
27. Feb 2011
Beiträge
245
Punkte für Reaktionen
0
Punkte
16
Hallo habe diese Version installiert und musste wieder die wrapper von der alten Version reinkopieren .
Mit der neuen geht es leider nicht.
Warum ist das so ?

Gruß LoganMCV

Das ist eine gute Frage, welche Wrapperversion hast Du genommen?
 


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat