Linux:无法在Debian 8上构建R1Soft模块

时间:2020-02-23 14:40:02  来源:igfitidea点击:

我最近在尝试使用" r1soft-setup get-module"命令构建R1Soft代理模块时遇到以下错误:

Checking if module needs updated
Checking for binary module
Waiting                       /
No binary module found
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking '/tmp/r1soft-cki.1440632760' for kernel headers
Found headers in '/tmp/r1soft-cki.1440632760'
Compressing...
uploading kernel package                99% 6379KB   6.2MB/s   00:00 ETA
Starting module build...
Building                      /          kernel module installer failed. (0):
Internal error encountered. Please contact support

构建模块需要内核资源,这显然是我拥有的。

为了解决这个问题,我只是从其存储库中下载了预编译的模块,然后重新启动了代理。
有关更多详细信息,请参见以下步骤:

1.转到模块文件夹:

cd /lib/modules/r1soft

2.从R1Soft存储库下载Debian 8的预编译模块:

wget http://repo.r1soft.com/modules/Debian_8_x64/hcpdriver-cki-3.16.0-4-amd64.ko

3.重新启动代理:

/etc/init.d/cdp-agent restart