shijx12 / KQAPro_Baselines

Pytorch implementation of baseline models of KQA Pro, a large-scale dataset of complex question answering over knowledge base.
http://thukeg.gitee.io/kqa-pro/
MIT License
127 stars 22 forks source link

virtuoso 服务无法启动问题解决记录 #16

Closed wangyongshuai88 closed 2 years ago

wangyongshuai88 commented 2 years ago

根据KQA pro【1】的教程安装好以后,可以正常使用。

第二天发现无法启动而且提示:There is no configuration file virtuoso.ini

查资料【2】中建议通过在 /etc/rc.conf 中增加virtuoso.ini的路径

例如我的地址如下:

virtuoso_config="/usr/local/lib/virtuoso/db/virtuoso.ini"

然后完美解决

【1】https://github.com/shijx12/KQAPro_Baselines/tree/master/Bart_SPARQL) 【2】https://forums.freebsd.org/threads/virtuoso-service-fails-to-start.48881/