我在Jessie Debian上安装了Freeradius。首先,它还可以 - 工作。但是,我不知道为什么它会停止而我无法启动它。我尝试重新安装,但也有同样的问题。这是状态和开始尝试。
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
并在尝试开始之后
radius@debian:~$ /etc/init.d/freeradius start
[....] Starting freeradius (via systemctl): freeradius.serviceFailed to start freeradius.service: Access denied
failed!
Ubuntu 12.04中的内容更多我遇到同样的问题。
我用过:
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
和
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
答案 0 :(得分:0)
使用sudo freeradius -XC
运行freeradius,它会打印出无法启动(然后退出)的原因。
如果sudo freeradius -XC
报告没有错误,则可能是权限问题。
运行sudo freeradius -lstdout -xxx -fc
,然后FreeRADIUS将seuid()/segid()
缩小到radiusd.conf
中配置的用途。