Issue
The DirectAdmin control panel users may receive such error during the update operations:
CloudLinux 7:
failed to retrieve repodata/repomd.xml from cloudlinux-x86_64-server-7
error was [Errno 14] curl#27 - "Out of Memory"
CloudLinux 8:
Errors during downloading metadata for repository 'cloudlinux-x86_64-server-8': - Curl error (27): Out of memory for https://xmlrpc.cln.cloudlinux.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-8/repodata/repomd.xml []
Environment
- CloudLinux OS 7
- CloudLinux OS 8
- DirectAdmin
Solution
The DirectAdmin already patched CURL version to fix this bug. Please update CURL:
cd /usr/local/directadmin/custombuild
./build update
./build curl
Cause
This error occurs only on servers with the DirectAdmin control panel after the CURL version update from DirectAdmin end to 7.82.0 which affected by the bug described here: https://github.com/curl/curl/issues/8559
You can check the CURL version with the following command:
[root@directadmin_test ~]# curl -V curl 7.82.0 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1k-fips zlib/1.2.11 zstd/1.5.1 nghttp2/1.46.0 Release-Date: 2022-03-05
On servers with the DirectAdmin control panel, the version of the CURL is managed with the CustomBuild utility, replacing the system origin CURL.
Useful links
Official commentary from DirectAdmin developers:
https://forum.directadmin.com/threads/issue-with-yum-update-in-cloud-linux-8-5.65847/#post-344718
Comments
0 comments
Please sign in to leave a comment.