jetty 9がインストールされていますが、サービスとして起動/停止できません。 コマンドラインで動作します。debianサービスの起動時に桟橋を起動できない
私が最初に同じ結果と9.4.0を試してみましたので、現在、桟橋9.3.14を使用して[email protected]:/opt/jetty# service jetty start
Job for jetty.service failed. See 'systemctl status jetty.service' and 'journalctl -xn' for details.
[email protected]:/opt/jetty# systemctl status jetty.service
● jetty.service - LSB: Jetty start script.
Loaded: loaded (/etc/init.d/jetty)
Active: failed (Result: exit-code) since Fri 2016-12-16 10:14:47 UTC; 6min ago
Process: 11826 ExecStart=/etc/init.d/jetty start (code=exited, status=1/FAILURE)
Dec 16 10:14:43 backend jetty[11826]: JETTY_PID = /var/run/jetty.pid
Dec 16 10:14:43 backend jetty[11826]: JETTY_START = /opt/jetty/start.jar
Dec 16 10:14:43 backend jetty[11826]: JETTY_ARGS = --add-to-start=console-capture jetty.state=/opt/jetty/jetty.state jetty-logging.xml jetty-started.xml
Dec 16 10:14:43 backend jetty[11826]: JAVA_OPTIONS = -Dorg.eclipse.jetty.LEVEL=DEBUG -Djetty.logging.dir=/opt/jetty/logs -Djetty.home=/opt/jetty -Djetty.base=/opt/jetty -Djava.io.tmpdir=/tmp
Dec 16 10:14:43 backend jetty[11826]: JAVA = /usr/bin/java
Dec 16 10:14:43 backend jetty[11826]: RUN_CMD = /usr/bin/java -Dorg.eclipse.jetty.LEVEL=DEBUG -Djetty.logging.dir=/opt/jetty/logs -Djetty.home=/opt/jetty -Djetty.base=/opt/jetty -Djava.io.tmpdir=/tmp -jar /opt/jetty/start.jar --add-to-st...ml jetty-started.xml
Dec 16 10:14:47 backend jetty[11826]: Starting Jetty: FAILED Fri Dec 16 10:14:47 UTC 2016
Dec 16 10:14:47 backend systemd[1]: jetty.service: control process exited, code=exited status=1
Dec 16 10:14:47 backend systemd[1]: Failed to start LSB: Jetty start script..
Dec 16 10:14:47 backend systemd[1]: Unit jetty.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[email protected]:/opt/jetty#
[email protected]:/opt/jetty# ls /var/log/jetty/
[email protected]:/opt/jetty#
。
桟橋はなぜサービスとして開始したくないのかを伝えるのに非常に役立つとは言えません。ファイル/ディレクトリの所有者と同じ問題を抱える他の人が見つかりました。しかし、私はそれを確認しました。
私は、/ var/logs/jettyの代わりに/ opt/jetty/logsにログオンしていることがわかりました。だから今、私はいくつかのより多くの情報を持っている...
StartLog Establishing /opt/jetty/logs/start.log on Fri Dec 16 13:40:16 UTC 2016
org.eclipse.jetty.start.graph.GraphException: Missing referenced dependency: console-capture
at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)
at org.eclipse.jetty.start.BaseBuilder.build(BaseBuilder.java:152)
at org.eclipse.jetty.start.Main.start(Main.java:407)
at org.eclipse.jetty.start.Main.main(Main.java:75)