Server Installation Error

Vimal Tank6 years ago

Hello,

Kind of having trouble understanding the error.

Please help in finding the cause of the server not getting installed.

INFO|7831/0|Service traccar|18-07-23 03:04:30|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|7831/0|Service traccar|18-07-23 03:04:30|java.lang.reflect.InvocationTargetException
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at java.lang.reflect.Method.invoke(Method.java:498)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|7831/0|Service traccar|18-07-23 03:04:30|Caused by: java.lang.RuntimeException: Configuration file is not a valid XML document
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.traccar.Config.load(Config.java:49)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.traccar.Context.init(Context.java:318)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.traccar.Main.main(Main.java:35)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  ... 6 more
INFO|7831/0|Service traccar|18-07-23 03:04:30|Caused by: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.util.xml.PlatformXmlPropertiesProvider.load(PlatformXmlPropertiesProvider.java:80)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at java.util.Properties$XmlSupport.load(Properties.java:1201)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at java.util.Properties.loadFromXML(Properties.java:881)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at org.traccar.Config.load(Config.java:34)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  ... 8 more
INFO|7831/0|Service traccar|18-07-23 03:04:30|Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:994)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.util.xml.PlatformXmlPropertiesProvider.getLoadingDoc(PlatformXmlPropertiesProvider.java:106)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  at sun.util.xml.PlatformXmlPropertiesProvider.load(PlatformXmlPropertiesProvider.java:78)
INFO|7831/0|Service traccar|18-07-23 03:04:30|  ... 11 more

Thank You

Anton Tananaev6 years ago

Config is invalid.

Vimal Tank6 years ago

how do I identify which config is invalid, so that I can correct it.

Anton Tananaev6 years ago

It's one of the config files. It tells you exactly which line and column to look at.

Vimal Tank6 years ago

@Allen Soni

I dont see a solution on that link. For some reason I feel you are spamming.

Vimal Tank6 years ago

@Allen Soni

I dont see any useful solution in the link you gave. All it has is links to spammy sites. Dont expect yourself will be allowed to spam just because you name it as help and get a backlink from Traccar.org. I understand SEO really well.

@Anton

Thanks for pointing it out, What I have been doing is using a bunch of VPservers that I have bought with low config/price[Minimum 1GB RAM] and I have been trying to install Traccar on those servers, I have been following the easy install guide for VPS, what I want to highlight is the below mentioned.

Popular VPS providers work really well and easily Digital Ocean, Vultr, Linode, AWS, AWS Light etc are some of the examples.
Also what I have observed is it usually works easily with other service providers as well, provided the VPS is a KVM and not an OpenVZ.

Anton Tananaev6 years ago

Removed Allen Soni from forum. Thanks for pointing out that he's a spammer. I almost missed his posts.