服务无法启动 (OD-1496)
Ter opened 2 years ago

我在安装python3.7并重启计算机后,服务无法正常启动。 log如下 JVM exited while loading the application. JVM was running for 0 seconds (less than the successful invocation time of 300 seconds). Incrementing failed invocation count (currently 5). There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. There may be a configuration problem: please check the logs. <-- Wrapper Stopped The OneDev service was launched, but failed to start. Please check the log file for more information: E:_Servers_\onedev-8.0.15\logs\console.log

  • Ter commented 2 years ago

    使用console打开没有问题,请帮忙看一下是什么原因

  • Robin Shen commented 2 years ago

    console.log和server.log有其他信息吗?

  • Ter commented 2 years ago

    JVM exited while loading the application. JVM was running for 0 seconds (less than the successful invocation time of 300 seconds). Incrementing failed invocation count (currently 4). Waiting to start... Reloading Wrapper configuration... Launching a JVM... 用法:java [options] <主类> [args...] (执行类) 或 java [options] -jar <jar 文件> [args...] (执行 jar 文件) 或 java [options] -m <模块>[/<主类>] [args...] java [options] --module <模块>[/<主类>] [args...] (执行模块中的主类) 或 java [options] <源文件> [args] (执行单个源文件程序)

    将主类、源文件、-jar <jar 文件>、-m 或 --module <模块>/<主类> 后的参数作为参数 传递到主类。

    console.log大概就是一段,其他的都在重复,或者是java的提示信息

  • Ter commented 2 years ago

    使用star命令的时候server.log没有写入新的内容

  • Robin Shen commented 2 years ago

    服务模式和控制台模式可能使用的不是同一个JVM,在conf/wrapper.conf文件里讲wrapper.java.command指向正确的java执行文件试试。

  • Ter commented 2 years ago

    看来是这个原因,更换指向的路径后可以打开了 多谢

  • Ter changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • Ter commented 2 years ago

    在conf/wrapper.conf文件里将wrapper.java.command指向正确的java执行文件

issue 1/1
Type
Bug
Priority
Critical
Assignee
Affected Versions
8.0.15
Labels
No labels
Issue Votes (0)
Watchers (4)
Reference
OD-1496
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover