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后,重新编译

posted @   一只不会飞的猪  阅读(124)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示