对于我的工作,我想使用Upsource。但我无法在我的服务器上启动应用程序。
Upsource启动并加载许多服务但是当它尝试加载Upsource前端我有很多错误而Upsource会停止所有服务。在我的本地计算机Upsource工作没有问题。
upsource-frontend: [Upsource Frontend Error] Error initializing messaging server
[2016-08-27 18:28:01,936] upsource-frontend: Upsource Frontend failed to start
[2016-08-27 18:28:01,937] * Error while starting JetBrains Upsource 3.0:
Not allowed exit code 255 from process: bin/upsource-frontend start
[2016-08-27 18:28:01,947] * Stopping Upsource PSI
[2016-08-27 18:28:04,625] upsource-psi: Upsource PSI Service is not running
[2016-08-27 18:28:04,626] * Stopping Upsource Frontend
[2016-08-27 18:28:07,256] upsource-frontend: Upsource Frontend is not running
[2016-08-27 18:28:07,257] * Stopping Upsource Monitoring
[2016-08-27 18:28:15,216] upsource-monitoring: Upsource Monitoring has shut down
[2016-08-27 18:28:15,227] * Stopping Upsource Analyzer
[2016-08-27 18:28:21,026] upsource-analyzer: Upsource Analyzer has shut down
[2016-08-27 18:28:21,026] * Stopping Upsource Cluster Initialize Service
[2016-08-27 18:28:23,632] upsource-cluster-init: Upsource Cluster Initialize Service is not running
[2016-08-27 18:28:23,642] * Stopping Apache Cassandra
[2016-08-27 18:28:29,216] cassandra: Apache Cassandra has shut down
[2016-08-27 18:28:29,216] * Stopping Bundle Hub Configurator
[2016-08-27 18:28:29,216] * Stopping Hub
[2016-08-27 18:28:29,411] 18:28:29,407 WARN [EventsMultiplexer ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
[2016-08-27 18:28:29,412] 18:28:29,408 WARN [EventsMultiplexer ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
[2016-08-27 18:28:29,412] 18:28:29,408 WARN [EventsMultiplexer ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
[2016-08-27 18:28:29,423] 18:28:29,422 WARN [EventsMultiplexer ] Can't access events multiplexer: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eventsMultiplexer': Bean creation not allowed while this factory is in destruction (Do not request a bean from a BeanFactory in a destroy method impleenter code herementation!)
[Upsource Frontend Error] Failed to invoke "main" method of the class "com.jetbrains.launcher.ep.AppStarter": null
[Upsource Frontend Error] java.lang.reflect.InvocationTargetException
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Upsource Frontend Error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Upsource Frontend Error] at java.lang.reflect.Method.invoke(Method.java:498)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppWrapperBootstrap2.main2(AppWrapperBootstrap2.java:35)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Upsource Frontend Error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Upsource Frontend Error] at java.lang.reflect.Method.invoke(Method.java:498)
[Upsource Frontend Error] at com.jetbrains.launcher.util.BootstrapUtil.doCallMain2(BootstrapUtil.java:51)
[Upsource Frontend Error] at com.jetbrains.launcher.util.BootstrapUtil.callMain2(BootstrapUtil.java:18)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.Bootstrap.main(Bootstrap.java:15)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppWrapperBootstrap.main(AppWrapperBootstrap.java:11)
[Upsource Frontend Error] Caused by: java.lang.OutOfMemoryError: unable to create new native thread
[Upsource Frontend Error] at java.lang.Thread.start0(Native Method)
[Upsource Frontend Error] at java.lang.Thread.start(Thread.java:714)
[Upsource Frontend Error] at com.jetbrains.launcher.JLThread.start(JLThread.java:48)
[Upsource Frontend Error] at com.jetbrains.launcher.DiagnosticServiceImpl.(DiagnosticServiceImpl.java:15)
[Upsource Frontend Error] at com.jetbrains.launcher.BaseApplicationContext.(BaseApplicationContext.java:11)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.(AppStarter.java:43)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.(AppStarter.java:22)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter$1.run(AppStarter.java:33)
[Upsource Frontend Error] at com.jetbrains.launcher.Initializer.runWithContext(Initializer.java:34)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.main(AppStarter.java:29)
[Upsource Frontend Error] ... 13 more
Unexpected exit. Restarting. Run time was: 1.562 sec.
[Upsource Frontend Error] Failed to invoke "main" method of the class "com.jetbrains.launcher.ep.AppStarter": null
[Upsource Frontend Error] java.lang.reflect.InvocationTargetException
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Upsource Frontend Error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Upsource Frontend Error] at java.lang.reflect.Method.invoke(Method.java:498)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppWrapperBootstrap2.main2(AppWrapperBootstrap2.java:35)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Upsource Frontend Error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Upsource Frontend Error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Upsource Frontend Error] at java.lang.reflect.Method.invoke(Method.java:498)
[Upsource Frontend Error] at com.jetbrains.launcher.util.BootstrapUtil.doCallMain2(BootstrapUtil.java:51)
[Upsource Frontend Error] at com.jetbrains.launcher.util.BootstrapUtil.callMain2(BootstrapUtil.java:18)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.Bootstrap.main(Bootstrap.java:15)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppWrapperBootstrap.main(AppWrapperBootstrap.java:11)
[Upsource Frontend Error] Caused by: java.lang.OutOfMemoryError: unable to create new native thread
[Upsource Frontend Error] at java.lang.Thread.start0(Native Method)
[Upsource Frontend Error] at java.lang.Thread.start(Thread.java:714)
[Upsource Frontend Error] at com.jetbrains.launcher.JLThread.start(JLThread.java:48)
[Upsource Frontend Error] at com.jetbrains.launcher.DiagnosticServiceImpl.(DiagnosticServiceImpl.java:15)
[Upsource Frontend Error] at com.jetbrains.launcher.BaseApplicationContext.(BaseApplicationContext.java:11)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.(AppStarter.java:43)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.(AppStarter.java:22)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter$1.run(AppStarter.java:33)
[Upsource Frontend Error] at com.jetbrains.launcher.Initializer.runWithContext(Initializer.java:34)
[Upsource Frontend Error] at com.jetbrains.launcher.ep.AppStarter.main(AppStarter.java:29)
[Upsource Frontend Error] ... 13 more
Unexpected exit. Restarting. Run time was: 1.248 sec.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.jetbrains.launcher.util.BootstrapUtil.doCallMain2(BootstrapUtil.java:51)
at com.jetbrains.launcher.util.BootstrapUtil.callMain2(BootstrapUtil.java:18)
at com.jetbrains.launcher.ep.Bootstrap.main(Bootstrap.java:15)
at com.jetbrains.launcher.ep.LauncherBootstrap.main(LauncherBootstrap.java:11)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at com.jetbrains.launcher.run.AgentStatusWatcherImpl.(AgentStatusWatcherImpl.java:22)
at com.jetbrains.launcher.run.AgentRunner.startWatchingAgentStatus(AgentRunner.java:61)
at com.jetbrains.launcher.run.AgentRunner.run(AgentRunner.java:23)
at com.jetbrains.launcher.ep.commands.Run$1.run(Run.java:82)
at com.jetbrains.launcher.lock.AppLockFactory.withLock(AppLockFactory.java:19)
at com.jetbrains.launcher.ep.commands.Run.doRun(Run.java:69)
at com.jetbrains.launcher.ep.commands.BaseCommand.runCommand(BaseCommand.java:77)
at com.jetbrains.launcher.ep.commands.BaseCommand.run(BaseCommand.java:61)
at com.jetbrains.launcher.ep.Main$1.run(Main.java:26)
at com.jetbrains.launcher.Initializer.runWithContext(Initializer.java:16)
at com.jetbrains.launcher.ep.Main.doMain(Main.java:20)
at com.jetbrains.launcher.ep.Main.main(Main.java:16)
at com.jetbrains.launcher.ep.LauncherBootstrap2.main2(LauncherBootstrap2.java:11)
... 8 more
Upsource Frontend failed to start
你能帮帮我吗?
感谢
我的服务器:6个x86 64位内核,8GB内存在Ubuntu 16.04上运行
答案 0 :(得分:0)
您可能会遇到a bug遇到Ubuntu 16.04的系统用户的经验后果。该错误与Ubuntu上systemd配置中默认值的更改有关。
根据另一个bug report,这个错误应该在大约两周前发布的systemd 229-6ubuntu1
中修复,因此您应该尝试更新系统。
如果出于某种奇怪的原因,您不想更新系统,可以使用以下设置修改系统配置:
[Service]
TasksMax=infinity
正如the first bug report中所建议的那样。