freeradius的mysql模块配置错误,无法启动

发布于 2025-01-13 14:02:28 字数 701 浏览 2 评论 0原文

一般来说,我对 IT 和 Linux 很陌生,所以如果我的问题没有正确表述,我深表歉意,我很着急,我需要有关在运行 freeradius-server 的 debian 11 虚拟机上遇到的错误的支持。 我按照本教程进行设置:https://www.youtube.com/watch?v =JffiXdMFkOc

在配置 freeradius 使用 mysql 后的 15:55 我需要在 mods 文件等中配置虚拟服务器...重新启动时,在 journalctl 之后出现错误-xe 我得到

/etc/freeradius/3.0/mods-enabled/sql[340]: Reference "${dialect}" not found 读取或解析 /etc/freeradius/3.0/radiusd.conf freeradius.service 时出错:控制进程已退出,code=exited,status=1/FAILURE

据我了解,这是因为 /mods-enabled/sql 文件中找不到方言+ radiusd.conf 没有读取,这就是我迷路的地方,我复制了视频中的所有内容,直到现在它都有效,从快速搜索中我发现的是一个实例顺序问题,但我不认为这是导致记录人们遇到此问题并修复它的帖子是不同的。

感谢您的帮助。

new to IT and linux in general so apologize if my issue is not correctly formuled i'm in a rush and i need support about an error i'm getting on a debian 11 vm running freeradius-server.
I followed this tutorial to set it up : https://www.youtube.com/watch?v=JffiXdMFkOc

At 15:55 after configuring freeradius to use mysql i need to configure the virtual server in the mods files etc... when restarting i get an error, after a journalctl -xe i get

/etc/freeradius/3.0/mods-enabled/sql[340]: Reference "${dialect}" not found Errors reading or parsing /etc/freeradius/3.0/radiusd.conf freeradius.service: Control process exited, code=exited, status=1/FAILURE

From what i understand it's because of the dialect thing that is not found in the /mods-enabled/sql file + the radiusd.conf not reading, that's where i'm getting lost i replicated everything from the video and it worked until now sooo, from a quick search all i found was an instances order problem but i don't think it is cause the logs people getting this issue and fixing it posts are different.

Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

木槿暧夏七纪年 2025-01-20 14:02:28

关于我的文件第341行的问题
/etc/freeradius/3.0/mods-enabled/sql
它没有找到queries.conf 文件。我使用 find / -name requests.conf 命令搜索该文件并应用更改。
问题解决了。

About my problem on line 341 of the file
/etc/freeradius/3.0/mods-enabled/sql
It did not find the queries.conf file. I searched for the file using the find / -name queries.conf command and applied the changes.
problem solved.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文