TarsCloud / TarsFramework

Tars Basic service framework
BSD 3-Clause "New" or "Revised" License
198 stars 143 forks source link

docker部署tarsframework,容器运行时一直报错 #122

Open xxzhwl opened 2 years ago

xxzhwl commented 2 years ago

报错信息如下: ”Do monitor failed:[ServantProxy::invoke errno:-7,info:,servant:tars.tarsnode.ServerObj,func:getLatestKeepAliveTime,adapter:tcp -h 172.25.0.3 -p 19386 -t 60000,reqid:1] start /usr/local/app/tars/tarsnode/bin/tarsnode --nodeid=172.25.0.3 --config=/usr/local/app/tars/tarsnode/conf/tars.tarsnode.config.conf terminate called after throwing an instance of 'tars::TC_Logger_Exception' what(): [TC_RollBySize::roll]:fopen fail: /usr/local/app/tars/app_log//tars/tarsnode/tars.tarsnode.KeepAliveThread.log :File exists“ 步骤按照docs来的,出现这个问题不知道如何解决? 想知道这里最后一行的app_log和tars之间为什么会有两个//

ruanshudong commented 2 years ago

//其实没问题, 看这个报错, 似乎没权限写文件??