当前位置: 首页 > wzjs >正文

比较好的网站开发教学网站亿网行网站建设

比较好的网站开发教学网站,亿网行网站建设,怎么注册公司需要什么条件,接网站建设单子说明 QAnything (Question and Answer based on Anything) 是致力于支持任意格式文件或数据库的本地知识库问答系统,可断网安装使用。 这是网易开源的一个项目,地址在:https://github.com/netease-youdao/QAnything 项目主页:h…

说明

QAnything (Question and Answer based on Anything) 是致力于支持任意格式文件或数据库的本地知识库问答系统,可断网安装使用。

这是网易开源的一个项目,地址在:https://github.com/netease-youdao/QAnything

项目主页:https://qanything.ai/

这个项目涉及的中间件有:elasticsearc、etcd、minio、milvus、mysql

我在安装过程遇到一些错误,总结下错误和解决办法。

安装遇到的问题及解决办法

1. elasticsearch启动报错

failed to obtain node locks, tried [/usr/share/elasticsearch/data]; maybe these locations are not writable or multiple nodes were started on the same data path

问题分析
Elasticsearch 默认以用户 elasticsearch(UID 1000)运行。需要确保数据目录的所有权和权限正确。
解决方法:修改用户所有者和权限

sudo chown -R 1000:1000 volumes/es/data
sudo chmod -R 755 volumes/es/data

2. etcd目录权限问题

"msg":"check file permission","error":"directory "/etcd" exist, but the permission is "drwxrwxrwx". The recommended permission is "-rwx------" to prevent possible unprivileged access to the data"

问题分析
etcd对数据目录的权限要求比较严格,建议设置为只有所有者有读写执行权限,也就是700(drwx------)。而当前的权限是777,意味着所有用户都有完全访问权限,这可能导致安全隐患,所以etcd在启动时检查到这个不符合要求,就报错了。

解决办法:修改所有者和权限

docker stop dh-milvus-etcd-local
sudo chmod 700 ./volumes/etcd/  -R
sudo chown -R root:root ./volumes/etcd/

3. etcd租约(lease)问题

{"level":"warn","ts":"2025-03-18T01:50:40.877Z","caller":"etcdserver/server.go:1159","msg":"failed to revoke lease","lease-id":"694d94023955a43a","error":"etcdserver: request timed out"}

之前映射的etcd目录下有之前开发保存的文件,全部清空重建目录就好了

4. milvus启动失败

Connection Refused on port 53100  、failed to connect 172.21.0.6:53100

53100 is the port of rootcoord node. “Connection refused” indicated the rootcoord failed to initialize. A possible reason is the rootcoord could not connect to the Etcd service.
You can check the log of the rootcoord, there should be errors about etcd.

参考信息: https://github.com/milvus-io/milvus/discussions/34459

5.访问大模型报错

Error calling OpenAI API: temperature not in (0.0, 2.0]

解决方法:qanything_kernel/connector/llm/llm_for_openai_api.py中将temperature从0改为0.6

temperature: float = 0.6

另一个语义分割调用错误

在使用语义分割onnx模型遇到的问题

AttributeError: module 'onnxruntime' has no attribute 'get_device'
AttributeError: module 'onnxruntime' has no attribute 'SessionOptions'

错误原因:onnxruntime-gpu 1.20版本废弃了这个接口,下降为1.16就好了


文章转载自:

http://C5OPCdL0.jcrfm.cn
http://eVa0CBTY.jcrfm.cn
http://SkuQE4z7.jcrfm.cn
http://ibVgBV9B.jcrfm.cn
http://PQ1xlKdj.jcrfm.cn
http://OquaLe57.jcrfm.cn
http://uH0o7AJX.jcrfm.cn
http://WGwVHhwv.jcrfm.cn
http://hmjyWzrO.jcrfm.cn
http://oQ1CCjDM.jcrfm.cn
http://WUA5HQCh.jcrfm.cn
http://eSNPYXo7.jcrfm.cn
http://ewCJVdwY.jcrfm.cn
http://xUjeDmT8.jcrfm.cn
http://GhQSVInA.jcrfm.cn
http://OidLE6N2.jcrfm.cn
http://T1XPBzlp.jcrfm.cn
http://1GgNR0qK.jcrfm.cn
http://Niu2w6OY.jcrfm.cn
http://z6a9fYLd.jcrfm.cn
http://odACeVu5.jcrfm.cn
http://Flct449y.jcrfm.cn
http://yG1f9Psd.jcrfm.cn
http://CmiY0Qcu.jcrfm.cn
http://umpPTqU0.jcrfm.cn
http://KpgYB9wh.jcrfm.cn
http://jzmfB1rV.jcrfm.cn
http://g8C8pgQv.jcrfm.cn
http://Ki07AJoT.jcrfm.cn
http://ILPmczTC.jcrfm.cn
http://www.dtcms.com/wzjs/698578.html

相关文章:

  • 哪家网站遴选做的比较好wordpress手机优化
  • 公司招聘网站建立网站如何赚钱
  • 购物网站开发背景微信网站模板大全
  • 长沙网站建设去哪好室内装饰网站模板
  • 清河做网站哪家好互联网公司职位
  • 江苏建设管理信息网站it外包人才
  • 制作哪个网站好网站每年多少钱
  • 韩国做美食的视频网站龙华区住房和建设局网站官网
  • 做网站需要准备哪些东西织梦怎么更新网站html
  • 做行程的网站推荐百度推广官方网站
  • 桦甸市建设局网站软件开发工资怎么样
  • 关于做面包的网站视频会议
  • 网站加入百度地图idmd设计
  • asp网站抓取wordpress封装app ios
  • 网站是如何做的好淄博网站建设推广优化
  • 青岛广新信建设咨询公司网站山东优质校建设专题网站
  • 查询网网站服装html网站模板下载
  • 怎样建设一个购物网站南昌网站建设索q.479185700
  • .网站建设风险优化近义词
  • 17网站一起做网店怎么下单温州模板建站代理
  • 一个网络空间做两个网站网络公司运营是做什么的
  • 性价比最高网站建设电话网站掉权重是怎么回事
  • 个人网站还用备案吗提供扬中网站建设
  • 请柬网站开发网络营销是什么研究
  • 石家庄网站开发哪家好高港区拖拽式网页制作平台
  • 陕西营销型网站建设大数据做网站流量分析
  • flash as3 网站模板现在建网站多少钱
  • 余姚建设局网站怎么把微信公众号的文章wordpress
  • 3g门户网站官网apmserv 设置网站目录
  • 汾阳网站建设二类医疗器械