堡塔618特惠活动,企业版1099元/年,永久授权最高立减20000元查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】安装mongodb,当外部写的时候没有权限使用,怎...

发表在 Linux面板2023-10-12 10:59 [复制链接] 3 558

本帖最后由 堡塔运维小林 于 2023-10-12 14:05 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

系统版本:

问题描述:

安装mongodb,当外部写的时候没有权限使用,怎么回事?
相关截图(日志、错误):

MongoServerError: not authorized on oops-framework to execute command { create: "counters", lsid: { id: UUID("ee6dfcfd-2218-4d3b-a3a2-694e2de22825") }, $db: "oops-framework" }
    at Connection.onMessage (/root/weChat/test7/dist/node_modules/mongodb/lib/cmap/connection.js:231:30)
    at MessageStream.<anonymous> (/root/weChat/test7/dist/node_modules/mongodb/lib/cmap/connection.js:61:60)
    at MessageStream.emit (node:events:527:28)
    at processIncomingData (/root/weChat/test7/dist/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
    at MessageStream._write (/root/weChat/test7/dist/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at MessageStream.Writable.write (node:internal/streams/writable:334:10)
    at Socket.ondata (node:internal/streams/readable:754:22)
    at Socket.emit (node:events:527:28) {
  ok: 0,
  code: 13,
  codeName: 'Unauthorized',

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表