jenkins node 报错:java.nio.file.FileSystemException:xxxx/xx/:Operation not permitted

<===[JENKINS REMOTING CAPACITY]===>channel started
Dec 16, 2021 6:58:05 AM hudson.remoting.ResourceImageBoth initiateJarRetrieval
WARNING: Failed to initiate retrieval
java.nio.file.FileSystemException: /home/vivado/project/remoting/jarCache/ED/648D1153E5372F73AD803824DACC27.jar: Operation not permittedat sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)at sun.nio.fs.UnixFileAttributeViews$Basic.setTimes(UnixFileAttributeViews.java:109)at java.nio.file.Files.setLastModifiedTime(Files.java:2306)at hudson.remoting.FileSystemJarCache.lookInCache(FileSystemJarCache.java:78)at hudson.remoting.JarCacheSupport.resolve(JarCacheSupport.java:49)at hudson.remoting.ResourceImageBoth.initiateJarRetrieval(ResourceImageBoth.java:50)at hudson.remoting.ResourceImageBoth.resolve(ResourceImageBoth.java:23)at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:284)at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:264)at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:223)at java.lang.ClassLoader.loadClass(ClassLoader.java:418)at java.lang.ClassLoader.loadClass(ClassLoader.java:351)at java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:348)at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:132)at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1986)at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1850)at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2160)at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)at hudson.remoting.UserRequest.deserialize(UserRequest.java:289)at hudson.remoting.UserRequest.perform(UserRequest.java:189)at hudson.remoting.UserRequest.perform(UserRequest.java:54)at hudson.remoting.Request$2.run(Request.java:376)at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)Agent JVM has not reported exit code. Is it still running?
[12/16/21 06:58:08] Launch failed - cleaning up connection
[12/16/21 06:58:08] [SSH] Connection closed.
ERROR: Connection terminated
java.io.EOFExceptionat java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2799)at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3274)at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:934)at java.io.ObjectInputStream.<init>(ObjectInputStream.java:396)at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)at hudson.remoting.Command.readFrom(Command.java:142)at hudson.remoting.Command.readFrom(Command.java:128)at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61)
Caused: java.io.IOException: Unexpected termination of the channelat hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75)

原因如下:查看remoting/与remoting.jay所有者和属组是否为当前用户,若不是则删除掉两个文件,重新链接。

以上两个文件在该目录下

jenkins node java.nio.file.FileSystemException:xxxx/xx/:Operation not permitted相关推荐

  1. 【错误记录】Flutter 混合开发报错 ( java.nio.file.FileSystemException: xxx/R.jar: 另一个程序正在使用此文件,进程无法访问。 )

    文章目录 一. 报错信息 二. 解决方案 一. 报错信息 Flutter 混合开发项目 : 在 Android 项目中 , 嵌入了 Flutter 页面 , 不小心运行了下 Flutter 项目 , ...

  2. java.nio.file.FileSystemException: xxx: Too many open files

    前言 linux Redhat 7.0 spring boot 2.0.x jdk1.8 长时间运行程序后,出现java.nio.file.FileSystemException: xxx: Too ...

  3. BD错误集锦5——java.nio.file.FileSystemException 客户端没有所需的特权

    问题:在运行storm本地模式程序时,java.nio.file.FileSystemException  客户端没有所需的特权 解决方式:以管理员身份运行IDEA即可.

  4. Caused by: java.nio.file.FileSystemException: ..... : 打开的文件过多

    在高并发处理图片的时候出现这个错误. 18:29:37.993 [pool-9-thread-8] ERROR cn.bywin.cbvsp.service.ImageSevice - 切图出错!! ...

  5. 运维:Jenkins报Suppressed: java.nio.file.FileSystemException

    1.打开jenkins发现大多数报如下图的异常: 2.复制异常的地址打开该日志:发现这个数据库有异常 3.再打开数据库发现数据库被同事改名字了 这里也有一个很不好的习惯,同事将该数据库作为了基础库导致 ...

  6. Elasticsearch启动报错:Exception in thread “main“ java.nio.file.AccessDeniedException:

    在elastic search的目录下进入bin目录 ,启动ES用命令 ./elasticsearch 然后返回错误 Exception in thread "main" java ...

  7. 了解java.nio.file.Path – 1

    介绍 Java的最后几个发行版本,即Java 7,Java 8和即将到来的Java 9,具有许多功能,这些功能使Java开发人员的生活更加轻松. (我知道Java 9会使它变得更困难,但是只有在您采用 ...

  8. 了解java.nio.file.Path – 2

    在本文的第1部分中,我们研究了java.nio.file.Path类中的大多数API. 在本文中,我们将介绍其余的API. 使用register() 该API允许我们注册java.nio.file.W ...

  9. Error:Artifact com.*******:war exploded: java.nio.file.InvalidPathException: Illeg

    由于一次电脑蓝屏,Idea启动tomcat报错: Error:Artifact ':war exploded': java.nio.file.InvalidPathException: Illegal ...

最新文章

  1. C++ 模板:template
  2. mvc中循环遍历分配的代码
  3. 网转 mm IOS 报表
  4. WebSocket——[Error during WebSocket handshake: Unexpected response code: 403]解决方案
  5. Flask框架(SQLAlchemy(python3版本)中添加数据 )
  6. iBATIS.NET
  7. 宝贝,我帮你清了购物车哦!
  8. 永恒之塔 java_AionChs
  9. ECMAScript5新特性总结
  10. 俗语:“生不睡柳,死不睡杨”,有什么道理?
  11. mysql n叉树_MySQL索引底层:B+树详解
  12. Hibernate学习笔记:数据库连接的配置
  13. psycopg2 : cursor already closed
  14. 如何在工作中设定和使用 SMART 目标
  15. 游戏服务器稳定ping值,网友玩游戏时Ping值超过了2亿!
  16. 【Android开发经验】Android移动UI设计经验总结
  17. 彻底解决文件路径问题
  18. Android Studio 的ListView 的用法
  19. Sentinel-限流 冷启动
  20. Niushop 开源电商系统

热门文章

  1. python实现图像RGB拾取
  2. ETH Denver 寻宝:30 个获胜项目你都知道哪些?
  3. 全志携手科大讯飞 战略升级智能车联领域多赢合作
  4. 各加密模式的演示(ECB,CBC)
  5. WinArchiver(电脑解压缩软件)官方中文版V4.9 | 电脑解压工具下载 | 电脑解压软件哪个好用没广告?
  6. 【JavaScript】JSON格式
  7. 卡农D大调(钢琴版)
  8. 发牌 胡俊杰买到库洛牌后,要将库洛牌分发给小伙伴们。
  9. iOS App 使用TestFlight 进行灰度测试
  10. 百变球球服务器几点停止维护,百变球球闪退怎么办?百变球球闪退解决方法