내 802.1X 인프라를 인증하는 Debian 9.1에 FreeRadius 서버가 있습니다.
실행 중인 FreeRadius 데몬의 버전과 가동 시간을 어떻게 확인할 수 있나요?
답변1
소프트웨어 버전을 확인하려면,deb 패키지를 사용하여 설치하는 경우, dpkg 사용:
$ dpkg -l freeradius
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================================-==========================-==========================-===========================================================================================
ii freeradius 3.0.16+git amd64 high-performance and highly configurable RADIUS server
또한 명령줄에서 다음을 수행할 수 있습니다.
$freeradius -v
radiusd: FreeRADIUS Version 3.0.16 (git #0bd5a4cec), for host x86_64-pc-linux-gnu, built on Jul 17 2017 at 16:00:00
FreeRADIUS Version 3.0.16
Copyright (C) 1999-2017 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
FreeRadius의 디버깅 도구를 사용하면 radmin
서비스 버전과 가동 시간을 볼 수 있습니다.
radius2:~$ sudo radmin
radmin version 3.0.16 (git #0bd5a4cec), built on Jul 17 2017 at 16:00:00 - FreeRADIUS Server administration tool.
Copyright (C) 2008-2017 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 v2.
radmin> show version
FreeRADIUS Version 3.0.16 (git #0bd5a4cec), for host x86_64-pc-linux-gnu, built on Jul 17 2017 at 16:00:00
radmin> show uptime
Up since Mon Jul 24 14:39:51 2017
radmin> exit
radmin
@Arran이 올바르게 지적했듯이 올바르게 작동 하려면 control-socket
기능을 구성해야 합니다.
다음을 수행할 수 있습니다.
ln -s sites-available/control-socket sites-enabled/control-socket