首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Freeradius自己结束了,不能启动

Freeradius自己结束了,不能启动
EN

Stack Overflow用户
提问于 2017-06-08 19:00:47
回答 1查看 2.5K关注 0票数 0

我在Jessie上安装了Freeradius。首先,它是正常工作的。但是,我不知道为什么它停止了,我不能启动它。我尝试重新安装,但仍然有同样的问题。这是状态和开始尝试。

代码语言:javascript
复制
 radius@debian:~$ /etc/init.d/freeradius status
    ● freeradius.service - LSB: Radius Daemon
       Loaded: loaded (/etc/init.d/freeradius)
       Active: failed (Result: exit-code) since Thu 2017-06-08 11:12:02 BST; 32min ago

在尝试开始之后

代码语言:javascript
复制
radius@debian:~$ /etc/init.d/freeradius start
[....] Starting freeradius (via systemctl): freeradius.serviceFailed to start freeradius.service: Access denied
 failed!

更重要的是,在Ubuntu 12.04中我也遇到了同样的问题。

我使用:

代码语言:javascript
复制
radius@debian:~$ sudo freeradius -XC
freeradius: FreeRADIUS Version 2.2.5, for host x86_64-pc-linux-gnu, built on Oct 24 2014 at 02:05:28
Copyright (C) 1999-2013 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
Starting - reading configuration files ...
including configuration file /etc/freeradius/radiusd.conf
Configuration file /etc/freeradius/radiusd.conf is globally writable.  Refusing to start due to insecure configuration.
Errors reading or parsing /etc/freeradius/radiusd.conf

和:

代码语言:javascript
复制
radius@debian:~$ sudo freeradius -lstdout -xxx -fC
Fri Jun  9 06:22:07 2017 : Info: freeradius: FreeRADIUS Version 2.2.5, for host x86_64-pc-linux-gnu, built on Oct 24 2014 at 02:05:28
Fri Jun  9 06:22:07 2017 : Debug: Server was built with:
Fri Jun  9 06:22:07 2017 : Debug:   accounting
Fri Jun  9 06:22:07 2017 : Debug:   authentication
Fri Jun  9 06:22:07 2017 : Debug:  WITH_DHCP
Fri Jun  9 06:22:07 2017 : Debug:  WITH_VMPS
Fri Jun  9 06:22:07 2017 : Debug: Server core libs:
Fri Jun  9 06:22:07 2017 : Debug:   ssl: OpenSSL 1.0.1t  3 May 2016
Fri Jun  9 06:22:07 2017 : Info: Copyright (C) 1999-2013 The FreeRADIUS server project and contributors.
Fri Jun  9 06:22:07 2017 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Fri Jun  9 06:22:07 2017 : Info: PARTICULAR PURPOSE.
Fri Jun  9 06:22:07 2017 : Info: You may redistribute copies of FreeRADIUS under the terms of the
Fri Jun  9 06:22:07 2017 : Info: GNU General Public License.
Fri Jun  9 06:22:07 2017 : Info: For more information about these matters, see the file named COPYRIGHT.
Fri Jun  9 06:22:07 2017 : Info: Starting - reading configuration files ...
Fri Jun  9 06:22:07 2017 : Debug: including configuration file /etc/freeradius/radiusd.conf
Fri Jun  9 06:22:07 2017 : Error: Configuration file /etc/freeradius/radiusd.conf is globally writable.  Refusing to start due to insecure configuration.
Fri Jun  9 06:22:07 2017 : Error: Errors reading or parsing /etc/freeradius/radiusd.conf
EN

回答 1

Stack Overflow用户

发布于 2017-06-08 20:15:40

sudo freeradius -XC运行freeradius,它会打印出无法启动(然后退出)的原因。

如果sudo freeradius -XC没有报告错误,很可能是权限问题。

运行sudo freeradius -lstdout -xxx -fc,然后FreeRADIUS将seuid()/segid()下至radiusd.conf中配置的用法。

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

https://stackoverflow.com/questions/44433902

复制
相关文章

相似问题

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