安装群晖ActiveBackupBusinessAgent时模块编译失败求助
安装群晖ActiveBackupBusinessAgent时模块编译失败求助
各位技术大佬们,我在安装群晖的ActiveBackupBusinessAgent时踩坑了,脚本执行到编译synosnap模块的时候直接失败了,完整的安装日志输出如下:
* start installing snapshot driver and agent service * snapshot driver has not installed, installing snapshot driver * installing synosnap-0.10.19.deb (Reading database ... 285125 files and directories currently installed.) Preparing to unpack synosnap-0.10.19.deb ... rmmod: ERROR: Module synosnap is not currently loaded Deleting module synosnap-0.10.19 completely from the DKMS tree. Unpacking synosnap (0.10.19) over (0.10.19) ... Setting up synosnap (0.10.19) ... Loading new synosnap-0.10.19 DKMS files... Building for 6.5.0-28-generic 6.5.0-35-generic Building initial module for 6.5.0-28-generic xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/synosnap.0.crash' Error! Bad return status for module build on kernel: 6.5.0-28-generic (x86_64) Consult /var/lib/dkms/synosnap/0.10.19/build/make.log for more information...
目前我注意到几个异常点:
- xargs出现参数冲突的警告
- 无法生成崩溃报告,提示目标文件已存在
- 针对6.5.0-28-generic内核的模块构建返回错误状态
有没有朋友遇到过类似的问题?或者能给点排查方向的建议?比如是不是内核头文件没装全,还是DKMS的配置存在问题?
备注:内容来源于stack exchange,提问作者Sören Rundgren




