linux+jenkins,通过 ip+ 端口打开 jenkins 控制前台,报错:
java.io.IOException: 权限不够
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:142)
Caused: java.io.IOException: Failed to create a temporary file in /usr/lib/jenkins
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:144)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:109)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:84)
at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:74)
at hudson.util.TextFile.write(TextFile.java:116)
at jenkins.model.Jenkins.(Jenkins.java:896)
at hudson.model.Hudson.(Hudson.java:85)
at hudson.model.Hudson.(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:233)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:250)
并且 linux 远程控制台,输入 su 报错:
[root@223cenos-test ~]# su
bash: export: =': 不是有效的标识符
/': 不是有效的标识符
bash: export: