gpt4 book ai didi

ubuntu - 由于方法 deleteWinstoneTempContents,Jenkins 2.32.1 启动失败

转载 作者:太空宇宙 更新时间:2023-11-03 17:08:37 25 4
gpt4 key购买 nike

我正在尝试启动我的 Jenkins 2.32.1 实例(作为服务或手动启动),但每个命令都失败了。在 jenkins.log 中,我可以看到这些消息:

Aug 14, 2017 9:15:03 AM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Aug 14, 2017 9:15:03 AM Main _main
WARNING: Failed to delete the temporary file /tmp/dummy5617365540558096686dummy
Exception in thread "main" java.lang.ClassNotFoundException: winstone.Launcher
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at Main._main(Main.java:224)
at Main.main(Main.java:112)
Running from: /usr/share/jenkins/jenkins.war
Aug 14, 2017 9:15:29 AM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Aug 14, 2017 9:15:29 AM Main _main
WARNING: Failed to delete the temporary file /tmp/dummy9095626099550598267dummy
Exception in thread "main" java.lang.ClassNotFoundException: winstone.Launcher
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at Main._main(Main.java:224)
at Main.main(Main.java:112)

令我惊讶的是,机器上没有/tmp/dummy9095626099550598267dummy/tmp/winstone/jenkins.war。关于如何重新启动我的 Jenkins 实例的任何想法?

提前致谢。

最佳答案

我也遇到了同样的问题。它仅在您发出重启命令时发生
sudo service jenkins restart.

虽然我无法理解错误背后的原因。我使用的是停止和启动命令,而不是重新启动。

sudo service jenkins stop

sudo service jenkins start

关于ubuntu - 由于方法 deleteWinstoneTempContents,Jenkins 2.32.1 启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45665481/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com