-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP ERROR: 503 #1287
Comments
What version of Traccar server are you using? |
normaly the 2.10 |
I guess you need to ask MOD UI author because the problem seem to be in the web application. |
i replaced by the original file (traccar-web.war) and restarted the server. Now i've this erreor : Remote procedure call error" when i try to connect web version. Another strange thing : when i type : "restart traccar" it tell me : unknow job. I Don't know what to do (i'm not good in linux) |
You need to check logs (wrapper.log) for the actual error message. |
Here is the wrapper log of today STATUS | wrapper | 2015/07/03 11:09:36 | TERM trapped. Shutting down. STATUS | wrapper | 2015/07/03 11:10:32 | --> Wrapper Started as Daemon STATUS | wrapper | 2015/07/03 11:10:32 | Java Service Wrapper Community Edition 64-bit 3.5.25 STATUS | wrapper | 2015/07/03 11:10:32 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2015/07/03 11:10:32 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2015/07/03 11:10:32 | STATUS | wrapper | 2015/07/03 11:10:32 | Launching a JVM... INFO | jvm 1 | 2015/07/03 11:10:37 | WrapperManager: Initializing... INFO | jvm 1 | 2015/07/03 11:10:54 | 2015-07-03 11:10:54.350:INFO:oejs.Server:jetty-8.1.16.v20140903 INFO | jvm 1 | 2015/07/03 11:10:54 | 2015-07-03 11:10:54.659:INFO:oejw.WebInfConfiguration:Extract jar:file:/opt/traccar/traccar-web.war!/ to /tmp/jetty-0.0.0.0-8082-traccar-web.war-_-any-/webapp INFO | jvm 1 | 2015/07/03 11:11:03 | 2015-07-03 11:11:03.168:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet INFO | jvm 1 | 2015/07/03 11:11:03 | 2015-07-03 11:11:03.659:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8082 INFO | jvm 1 | 2015/07/03 11:15:37 | 2015-07-03 11:15:37.223:WARN:/:unavailable INFO | jvm 1 | 2015/07/03 11:15:37 | javax.persistence.PersistenceException: [PersistenceUnit: release] Unable to build EntityManagerFactory INFO | jvm 1 | 2015/07/03 11:15:37 | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890) ... INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.Server.handle(Server.java:370) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) INFO | jvm 1 | 2015/07/03 11:15:37 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) INFO | jvm 1 | 2015/07/03 11:15:37 | at java.lang.Thread.run(Thread.java:745) |
Looks like Traccar can't connect to the database. |
thanks for the answer. If u prefere I can give you the connection to look ;) |
You can try to connect to the database using any JDBC viewer and see if it gives you more detailed error message. |
I've made some search but i dont know how to do it. |
What database are you using? Default one that comes with Traccar? |
Mysql |
stange thing. I'v never edited the linux.cfg and it look wissing word at the firt line : tabase.driver">com.mysql.jdbc.Driver</entry> <entry key="database.dataSource">com.mysql.jdbc.jdbc2.optional.MysqlDataSource</entry> <entry key="database.url">jdbc:mysql://localhost/tracker?allowMultiQueries=true&autoReconnect=true</entry> <entry key='database.user'>myuser</entry> <entry key='database.password'>mypassword</entry> I've edited the first line like that <entry key="database.driver">com.mysql.jdbc.Driver</entry> restarted the server but same problem |
Try to connect to the database using SQuirrel SQL (http://squirrel-sql.sourceforge.net/). Use the same connection parameters as in Traccar and see what error message it would give you. |
thanks for your answer but i need it works today so i decided to reinstall all. |
and i failed... I tried to apply this method whith the video ############################################################# <entry key="database.driver">com.mysql.jdbc.Driver</entry> <entry key="database.dataSource">com.mysql.jdbc.jdbc2.optional.MysqlDataSource</entry> <entry key="database.url">jdbc:mysql://localhost/tracker?allowMultiQueries=true&autoReconnect=true</entry> <entry key='database.user'>tracker</entry> <entry key='database.password'>tracker</entry> ESC sudo apt-get install openjdk-7-jre As i'm bad at linux, does it exist a step by step tutorial ? (I start from an OVH VPS with ubuntu server 14.4 64 bits fresh install) |
stupid error from me. i missed apt-get upgrade and apt-get update before |
hello people, Im Use Official Version 3.2 stable and the last traccar-web.war As soon as I install the following book I get errors and wrapper.log says [WrapperSimpleAppMain] WARN org.eclipse.jetty.webapp.WebAppContext - Failed startup of context oejwWebAppContext @ 9a5514 {/, null, null} {/ opt / traccar / traccar-web.war} Browser says:
Thanks in advance |
@meitrackmvt800, are you sure your config is correct? |
Hello there, It really is just about the auto scroll function with GPS motion, and I do not get out. debian 6.0.10, 2.6.32-5-686 # 1 SMP, Oracle java9-installer |
First of all, this neither this thread nor issue tracker is related with my project. Please don't post questions about it in this tracker. Use it's own issue tracker https://github.com/vitalidze/traccar-web/issues instead. Regarding your issue the config file you provided is updated incorrectly. For example this query is not updated: <entry key="database.selectDevicesAll"> SELECT * FROM device; </entry> Then if after following the instructions http://traccar.litvak.su/installation.html it still does not work please provide more lines from |
Hi, all Settings and Options are checked and updated. This is the wrapper.log after restart: STATUS | wrapper | 2015/12/05 19:09:45 | TERM trapped. Shutting down. INFO | jvm 1 | 2015/12/05 19:09:46 | [Thread-14] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@fb803a{HTTP/1.1}{0.0.0.0:8082} INFO | jvm 1 | 2015/12/05 19:09:46 | [Thread-14] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.w.WebAppContext@fe9a4a{/,null,UNAVAILABLE}{/opt/traccar/traccar-web.war} INFO | jvm 1 | 2015/12/05 19:09:46 | [Thread-14] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@191223f{/api,null,UNAVAILABLE} STATUS | wrapper | 2015/12/05 19:09:46 | <-- Wrapper Stopped STATUS | wrapper | 2015/12/05 19:09:48 | --> Wrapper Started as Daemon STATUS | wrapper | 2015/12/05 19:09:48 | Java Service Wrapper Community Edition 32-bit 3.5.27 STATUS | wrapper | 2015/12/05 19:09:48 | Copyright (C) 1999-2015 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2015/12/05 19:09:48 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2015/12/05 19:09:48 | STATUS | wrapper | 2015/12/05 19:09:48 | Launching a JVM... INFO | jvm 1 | 2015/12/05 19:09:48 | WrapperManager: Initializing... INFO | jvm 1 | 2015/12/05 19:09:50 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging. INFO | jvm 1 | 2015/12/05 19:09:51 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10] INFO | jvm 1 | 2015/12/05 19:09:51 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @3231ms INFO | jvm 1 | 2015/12/05 19:09:53 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> z8kfsx9dw0216w5t1p3e|1acd381, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> z8kfsx9dw0216w5t1p3e|1acd381, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://127.0.0.1:3306/traccar?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=ANSI_QUOTES, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] INFO | jvm 1 | 2015/12/05 19:09:57 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - jetty-9.2.14.v20151106 INFO | jvm 1 | 2015/12/05 19:09:57 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@ca224f{/api,null,AVAILABLE} INFO | jvm 1 | 2015/12/05 19:09:59 | [WrapperSimpleAppMain] WARN org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@d8eece{/,null,null}{/opt/traccar/traccar-web.war} INFO | jvm 1 | 2015/12/05 19:09:59 | java.io.IOException: Auf dem Gerät ist kein Speicherplatz mehr verfügbar INFO | jvm 1 | 2015/12/05 19:09:59 | at java.io.FileOutputStream.writeBytes(Native Method) INFO | jvm 1 | 2015/12/05 19:09:59 | at java.io.FileOutputStream.write(FileOutputStream.java:345) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.IO.copy(IO.java:162) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.IO.copy(IO.java:118) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.resource.JarResource.copyTo(JarResource.java:240) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:468) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:72) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.server.Server.start(Server.java:387) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.server.Server.doStart(Server.java:354) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.traccar.web.WebServer.start(WebServer.java:115) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.traccar.Main.main(Main.java:34) INFO | jvm 1 | 2015/12/05 19:09:59 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2015/12/05 19:09:59 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2015/12/05 19:09:59 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2015/12/05 19:09:59 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2015/12/05 19:09:59 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325) INFO | jvm 1 | 2015/12/05 19:09:59 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 1 | 2015/12/05 19:09:59 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@1f7c06e{HTTP/1.1}{0.0.0.0:8082} INFO | jvm 1 | 2015/12/05 19:09:59 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - Started @10632ms unfortunately continues error 503 traccar.xml conf can you see hier: http://www.reboo-edv.at/traccar.xml |
Here is the root cause of your issue:
Means that there is not enough space on your device. This is about the device, which holds the temporary folder of your operating system (i.e. Your configuration file is still incorrect, same query hasn't changed: <entry key="database.selectDevicesAll"> SELECT * FROM device; </entry> |
Perfekt, Thanks the /tmpfs are full 100%, after delete tmpfs and restart is running new WebUI. Respekt and Thanks |
I faced same problem. What i will do?
|
@sdip025, first of all, please create a new thread. Secondly, you are not using official Traccar version. |
Hello
My Server is up since december and worked fine until this morning.
Now I've this error :
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Powered by Jetty://
I don't know if it can be caused by that but since 3 month i installed (without any issue) Traccar Web UI Mod : http://traccar.litvak.su/installation.html
Since this morning i restarted the service and the server but still the same.
Thanks
Arnaud
The text was updated successfully, but these errors were encountered: