首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >根目录配置:文件不包含节标题

根目录配置:文件不包含节标题
EN

Stack Overflow用户
提问于 2022-06-18 12:54:47
回答 1查看 69关注 0票数 0

我不太熟悉Linux / Debian,但仍然试图在我的Raspberry Pi上安装激进化器。安装工作顺利,但当我尝试用sudo systemctl start radicale启动激进服务并连接到web界面时,我得到的结果是:“服务器出错。请与管理员联系。”

当使用journalctl --unit radicale.service进行调试时,它向我展示了以下内容:

代码语言:javascript
复制
Jun 12 18:49:20 raspberrypi systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server.
Jun 12 18:49:20 raspberrypi env[6299]: [2022-06-12 18:49:20 +0200] [6299] [CRITICAL] Invalid configuration: Failed to load config file '/etc/radicale/config': File contains no secti>
Jun 12 18:49:20 raspberrypi env[6299]: file: '/etc/radicale/config', line: 1
Jun 12 18:49:20 raspberrypi env[6299]: '.# -*- mode: conf -*-\n'
Jun 12 18:49:21 raspberrypi systemd[1]: radicale.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 18:49:21 raspberrypi systemd[1]: radicale.service: Failed with result 'exit-code'.

据我所知,我的节标题有问题。但是,当我按照下面的方式配置/etc/根目录/config文件时,我不知道实际问题是什么:

代码语言:javascript
复制
[auth]
type = htpasswd
htpasswd_filename = /etc/radicale/users
htpasswd_encryption = bcrypt

[server]
hosts = 0.0.0.0:5232

[storage]
filesystem_folder = /var/lib/radicale/collections

任何帮助都将是非常感谢的,因为我还没有在谷歌上找到任何与我的问题完全类似的东西。

EN

回答 1

Stack Overflow用户

发布于 2022-10-21 12:12:55

如果你的解药被列出来会有帮助。

我刚刚完成了同样的工作,找到了指南https://www.atlantic.net/dedicated-server-hosting/how-to-install-radicale-calendar-caldav-and-carddav-on-ubuntu-20-04/

我使用了建议的filesystem_locking = true,但这是一个未知的配置选项错误。

对此进行注释后,该单元运行正常。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72669413

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档