0
我在Jessie Debian上安裝了Freeradius。首先它是可以的 - 工作。但是,我不知道爲什麼它停了,我無法啓動它。我嘗試重新安裝,但也有同樣的問題。這是狀態和開始嘗試。Freeradius自行結束,無法啓動
[email protected]:~$ /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
和嘗試後,開始
[email protected]:~$ /etc/init.d/freeradius start
[....] Starting freeradius (via systemctl): freeradius.serviceFailed to start freeradius.service: Access denied
failed!
更重要的是在Ubuntu 12.04我有同樣的問題。
我用:
[email protected]:~$ 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
和:
[email protected]:~$ 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
我追加了你的命令的結果。 – TraPS
所以你需要修改你的配置文件的權限,我假設你改變了,就像默認安裝一樣,它們工作正常。 –
/etc/freeradius中的文件不應該是世界可寫的''chmod -R g -w/etc/freeradius'' –