首页 > 代码库 > freeradius 安装出错的解决办法
freeradius 安装出错的解决办法
sudo apt-get install freeradius-mysqlSelecting previously unselected package freeradius-mysql.(Reading database ... 65261 files and directories currently installed.)Preparing to unpack .../freeradius-mysql_2.1.12+dfsg-1.2ubuntu8_amd64.deb ...Unpacking freeradius-mysql (2.1.12+dfsg-1.2ubuntu8) ...Setting up freeradius-mysql (2.1.12+dfsg-1.2ubuntu8) ...reload: Unknown instance: invoke-rc.d: initscript freeradius, action "force-reload" failed.dpkg: error processing package freeradius-mysql (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: freeradius-mysqlE: Sub-process /usr/bin/dpkg returned an error code (1)
解决办法,先启动,再安装
sudo service freeradius startfreeradius start/running, process 28089sudo apt-get install freeradius-mysqlReading package lists... DoneBuilding dependency tree Reading state information... Donefreeradius-mysql is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] ySetting up freeradius-mysql (2.1.12+dfsg-1.2ubuntu8) ...
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。