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) 绝对路径和相对路径都试过了还是没用,进入容器里面查看,然后使用绑定的本地目录还是同样的错误,最后在大神的指导下,进入容器里面查看,直接使用容器里面的目录和文件,终于成功。 注:这类操作一定使用容器里面的目录

相关推荐
shan~~19 小时前
linux达梦数据库操作
linux·数据库·chrome
liliangcsdn19 小时前
LLM时代基于unstructured解析非结构化pdf
linux·服务器·数据分析
hello_25019 小时前
动手模拟docker网络-bridge模式
网络·docker·桥接模式
Codigger官方19 小时前
Linux 基金会牵头成立 React 基金会:前端开源生态迎来里程碑式变革
linux·前端·react.js
武文斌7719 小时前
项目学习总结:LVGL图形参数动态变化、开发板的GDB调试、sqlite3移植、MQTT协议、心跳包
linux·开发语言·网络·arm开发·数据库·嵌入式硬件·学习
爱吃喵的鲤鱼20 小时前
仿mudou——Connection模块(连接管理)
linux·运维·服务器·开发语言·网络·c++
让子弹飞0220 小时前
永久解决ubuntu网络连接问题
linux·运维·ubuntu
郝学胜-神的一滴20 小时前
使用Linux的read和write系统函数操作文件
linux·服务器·开发语言·数据库·c++·程序人生·软件工程
小醉你真好21 小时前
15、Docker Compose 安装ELK + Filebeat单机版
elk·docker·jenkins
七七七七0721 小时前
【Linux 系统】打开文件和文件系统
linux·运维·spring