2017-06-08 14 views
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 

とUbuntu 12.04でしかも

[email protected]:~$ /etc/init.d/freeradius start 
[....] Starting freeradius (via systemctl): freeradius.serviceFailed to start freeradius.service: Access denied 
failed! 

を起動しようとした後、私は同じ問題を抱えています。私が使用し

[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 

と:sudo freeradius -XC

[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 

答えて

0

実行FreeRADIUSのを、それが起動(して終了)できない理由をプリントアウトします。

sudo freeradius -XCにエラーが報告されていない場合は、権限の問題が考えられます。

実行sudo freeradius -lstdout -xxx -fcの場合、FreeRADIUSは、radiusd.confで設定された使用までseuid()/segid()になります。

+0

あなたのコマンドの結果が追加されました。 – TraPS

+0

したがって、設定ファイルのアクセス権を修正する必要があります。これは、デフォルトのインストールと同じように、変更したものとみなします。 –

+0

/etc/freeradiusにファイルが存在しない場合は、 '' chmod -R g-w/etc/freeradius''を書いてください。 –

関連する問題