CentOS 8.4 aarch64下编译ovirt-engine报错-最大链接数不足
chmod a+x packaging/services/ovirt-engine/ovirt-engine.sysv chmod a+x packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.py chmod a+x packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.sysv chmod a+x packaging/services/ovirt-engine/ovirt-engine.py chmod a+x packaging/services/ovirt-fence-kdump-listener/ovirt-fence-kdump-listener.py chmod a+x packaging/services/ovirt-fence-kdump-listener/ovirt-fence-kdump-listener.sysv chmod a+x packaging/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py chmod a+x packaging/services/ovirt-websocket-proxy/ovirt-websocket-proxy.sysv chmod a+x packaging/cinderlib/cinderlib-client.py chmod a+x packaging/setup/bin/ovirt-engine-health chmod a+x packaging/setup/bin/ovirt-engine-upgrade-check chmod a+x packaging/cinderlib/cinderlib-client.py if [ "1" != 0 ]; then \ if [ "1" != 0 ]; then \ require="10240"; \ current="$(ulimit -n)"; \ if [ "${current}" -lt "${require}" ]; then \ echo "Building locales requires more than ${require} available file descriptors, currently ${current}" >&2; \ echo "Refer to README.adoc for further instructions" >&2; \ false; \ fi; \ fi; \ fi Building locales requires more than 10240 available file descriptors, currently 1024 Refer to README.adoc for further instructions make: *** [Makefile:365: validations] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.S31U2y (%build) RPM build errors: /root/srpms/ovirt-engine-4.4.10.6-1.el8.src.rpm: Header V4 RSA/SHA256 Signature, key ID fe590cb7: NOKEY Bad exit status from /var/tmp/rpm-tmp.S31U2y (%build)
默认最大连接数为1024,需要10240
需要执行 ulimit -n 10240后,重新编译
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!