linux安全更新zookeeper docker

最近项目在更新zookeeper并且要做安全验证,zookeeper部署在一台机器上,项目使用docker部署在另一台服务器上

然后Jenkins Build的时候不报错,但是服务器上显示有错,错误如下:

main-SendThread(172.16.30.194:2386) trace_id-\] WARN ClientCnxn:1163 - SASL configuration failed. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper s erver allows it. javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/root/dubbo/suchen/farm-web/classes/zookeeper_jaas_test.conf' be cause of a RuntimeException: java.lang.SecurityException: java.io.IOException: /root/dubbo/suchen/farm-web/classes/zookeeper_jaas_test.conf (No such file or directory) 查阅许多资料都说是权限问题或者确认文件本身是否存在 按照说加上权限并且确定文件存在后发现还是报同样的错误 ![](https://i-blog.csdnimg.cn/direct/82a106ed64874e2b8bc7843d1bb6f7ab.png) 绝对路径和相对路径都试过了还是没用,进入容器里面查看,然后使用绑定的本地目录还是同样的错误,最后在大神的指导下,进入容器里面查看,直接使用容器里面的目录和文件,终于成功。 注:这类操作一定使用容器里面的目录

相关推荐
石像鬼₧魂石5 小时前
内网渗透靶场实操清单(基于 Vulhub+Metasploitable 2)
linux·windows·学习·ubuntu
橘子真甜~6 小时前
C/C++ Linux网络编程15 - 网络层IP协议
linux·网络·c++·网络协议·tcp/ip·计算机网络·网络层
拾贰_C7 小时前
【Linux | Windows | Terminal Command】 Linux---grep | Windows--- findstr
linux·运维·服务器
bloglin999997 小时前
启动容器报错ls: cannot access ‘/docker-entrypoint-initdb.d/‘: Operation not permitted
docker·容器·eureka
阿华hhh8 小时前
Linux系统编程(标准io)
linux·开发语言·c++
石像鬼₧魂石8 小时前
Kali Linux 网络端口深度扫描
linux·运维·网络
alengan8 小时前
linux上面写python3日志服务器
linux·运维·服务器
yBmZlQzJ9 小时前
免费内网穿透-端口转发配置介绍
运维·经验分享·docker·容器·1024程序员节
JH30739 小时前
docker 新手入门:10分钟搞定基础使用
运维·docker·容器
Rose sait9 小时前
【环境配置】Linux配置虚拟环境pytorch
linux·人工智能·python