0

私の仕事では、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

upsource-stdout.log

upsource-frontend/all.log

手伝って頂けますか?ありがとう

私のサーバー:Ubuntu 16.04で実行される6 x86 64ビットコア、8GBメモリ

4

1 に答える 1

0

Ubuntu 16.04 の systemd ユーザーを襲ったバグの結果を経験したことがあるかもしれません。このバグは、Ubuntuのsystemdの構成におけるデフォルト値の変更に関連しています。

別のバグ レポートによると、このバグはsystemd 229-6ubuntu1約 2 週間前にリリースされた で修正されるはずなので、おそらくシステムを更新してみてください。

奇妙な理由でシステムを更新したくない場合は、次の設定を使用して systemd 構成を変更できます。

[Service]
TasksMax=infinity

最初のバグ レポートで提案されたとおりです。

于 2016-08-27T19:35:08.403 に答える