Installation failure of cPanel - Ubuntu & MariaDB 10.6
Hello,
I am setting up a new server with Ubuntu 20.04 and installing MariaDB version 10.6.
However, the installation process is failing.
Could you help with this issue?
Thank you.
[2024-06-10 12:33:39 +0100] Ign:17 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-common all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:39 +0100] Err:17 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-common all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:39 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:39 +0100] Get:18 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 galera-4 amd64 26.4.18-ubu2004 [12.9 MB] [2024-06-10 12:33:41 +0100] Err:19 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 libmariadb3 amd64 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:41 +0100] Err:20 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-client-core-10.6 amd64 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:41 +0100] Err:21 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-client-10.6 amd64 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:41 +0100] Err:22 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-server-core-10.6 amd64 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:41 +0100] Err:23 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-server-10.6 amd64 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:41 +0100] Ign:24 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-client all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] Err:24 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-client all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:41 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] Ign:25 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-server all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:42 +0100] Err:25 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal/main amd64 mariadb-server all 1:10.6.18+maria~ubu2004 [2024-06-10 12:33:42 +0100] 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] Fetched 14.7 MB in 3s (4393 kB/s) [2024-06-10 12:33:42 +0100] E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/libmariadb3_10.6.18+maria~ubu2004_amd64.deb?GoogleAccessId=downloads-sync@downloads-234321.iam.gserviceaccount.com&Expires=1718020119&Signature=JVN QdRyDOBSIz4XvFOJwfZGv32zd22Cya1Mz+3ohqnCpXhi66xQ3NMNpDDoWPGZtDZnUDasvA6ewZmuUMsMkvnRqUbF9AYo3Bu9g8+MRA4JML4qajEo16zClk63bMcuAFVtEYIoCQBb8zLMdmygQN48tmXoPNFVzJ+BvmhG3jDZe6ZBXPBQg6lbixCNwOr7bVK+CjJk0pjGIl8j+YEhP23n7USF/QgMmLIZvobyMbePYEblsrw3MbduVRzFBQ/x+pfnS+NkfNP92P5fOyVrgB/ZmeYiIxGfaaKBQe6dGpYwH8cd7cYEFWcF2UY9fd1I UGh4XwnER6rqbeA3VQEE9FQ== 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-client-core-10.6_10.6.18+maria~ubu2004_amd64.deb?GoogleAccessId=downloads-sync@downloads-234321.iam.gserviceaccount.com&Expires=1718020119& Signature=LvgFDYq1BR14CN68FJ9ZOE/x52tkQrtIIOv4x6SfQcFqiPx58PZRvS041ZPWQUKuHWZM1XaajgPS3CXDEjFCu3vPSU724kC96ti7sbmGcDY0mXCyy6tR6Op0DuUKHghHRaTvoAKvZpP/2kefyXXzVkpEGzF9XvxemLQqiURQKQmKh+YA4vkJDjSJZ/Z1ery0HPTCGylQ6DcBC2VZqdgh1AzSDfo2dZou3kO2NSCKAiJo1LVW8gL6OmBf7GCzpx3BwfWPYi+10JZ/VqrvE3ODvkAj/F8ap9WHAYY7XDnG5Q7e4C0gIH SsByk6sXF7rO2JeYUdld+gQEnGH30OGik4gw== 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-client-10.6_10.6.18+maria~ubu2004_amd64.deb?GoogleAccessId=downloads-sync@downloads-234321.iam.gserviceaccount.com&Expires=1718020120&Signa ture=Cj/ys+ZlcG4KIL0MAyBLWDWlLL6srdPIwTaalaF4wT6x8hGRtwOSgaJzYvHz4UZ+lB5y6yCYP8R2TJvn4dywSrV+czqYVCECZI51ovfqlEgIr74+A6rDknwyp1C09LZzr6PMLPBJqQ8IaxjdzMrNCQX3qFOyaiN7iazFrwaRHLUh1ObKUzHe96rGOxpWpasoLxsze90cVo87/NbxcgblZhyVXTPvnh2OeI4dM9c5ERhF3tHYYyw1KUXVf9oNj5zU3QwRo3MVwyfjGdF217dzXeNL5yPOJt8Pj+g8EDnTU8ntsu3x1V06QDs siLH4n4W0h3oAoCVLzaRVbCV6ft1t5g== 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-server-core-10.6_10.6.18+maria~ubu2004_amd64.deb?GoogleAccessId=downloads-sync@downloads-234321.iam.gserviceaccount.com&Expires=1718020120& Signature=ew0NgQt7YCsONH1IvlHtxQyGJYM4RrfOuy6F45fGZ5SgfRlPOexxGOUyBVXuQWhURqLuJpYVpH4c2w7lHs2aClKKPlyVyrMn71M3IiRSdGbFyfSlSy8ncE2GWrop8rwZX06n8wwk7qNnQLK+rqjq0hOMrdsbFq9mbKvIfv7FQNArCQ+4ql9jHuqdNrsGmRbU6M2lAqzxqFI40UjkW0EHQ1Msdx8DEZV2+ER0jqE9xUzxdDZCqXqk8zAc8Wa1WaZfN7BhOl2XjRfS9W+ZKHOUVi3QaWJVAR9UVBC6EyeP+UKM7ezRQI fKysM1GGW3/NfBgoeFAhswVyfJGMLZP9trmQ== 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-server-10.6_10.6.18+maria~ubu2004_amd64.deb?GoogleAccessId=downloads-sync@downloads-234321.iam.gserviceaccount.com&Expires=1718020121&Signa ture=TpEANQV9UefHGmiJQRW499z0drP46TGCedyaHMt2gu7ASaMqcThSi6AYuL2Z7syuD/tI+TNzmBj88Xwem+/MxRfHNOINLrbg6VD4vP+me9/nPPU6fWjG5e27QM93FuAJrljq2MWW5J82gqK+JNwdPsJEcDCE81NTYXKBTAv52l1kQ6Z6DRgsffxYZZCS2zxFJgdhP0SnWvClOU80yg1k5gy11h4zLQYh9w7dmZMSZw8gMjEMrLpqHZHnEChoVV+6ECv2YTXpwK/yy+DhnRtX3RtSxtHLMVpU5i5048ynXX4WesZIH2cX3py 7IBKz6mL4W1lxI3bkx/xWYQIfa9Gb/A== 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-client_10.6.18+maria~ubu2004_all.deb 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-server_10.6.18+maria~ubu2004_all.deb 403 Forbidden [IP: 172.217.20.219 443] [2024-06-10 12:33:42 +0100] E: Some files failed to download [2024-06-10 12:33:42 +0100] [24272] ( WARN): Errors seen pre-caching the database server packages. A second attempt will be made to download it for install
-
Hey there! Can you let me know what you mean when you say you "installed" MariaDB on the server? Nothing should be installed on the system before the cPanel installation runs or you will experience issues.
If you want to install MariaDB on a new installation you'll need to follow the details outlined here:
0 -
The server contains a clean installation of Ubuntu 20.04. I created the file cpanel.config inside the folder /root/cpanel_profile with the content "mysql-version=10.5". I run the installation script and got the above messages.
Thank you.
0 -
Thanks for the confirmation about that configuration. It looks like there may be other issues with the system then, since the server isn't able to download the repo files at all. I'd recommend speaking to the host about this problem and having them check the network settings on the machine.
0 -
A network issue would not return 403 error. The machine is an EC2 instance. I am able to access the instance via SSH without any issues, and numerous other packages have been installed successfully. Only MariaDB has encountered failures. Therefore, network problems should be ruled out.
Thanks.
0 -
I suppose that's true!
The error almost reads like your IP is specifically being blocked from the MariaDB mirrors, which would be odd as well.
As a test, can you run this command from your server?
wget https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb
0 -
It runs without problemas
root@ip-172-31-1-219:/home# wget https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb
--2024-06-10 16:18:05-- https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb
Resolving dlm.mariadb.com (dlm.mariadb.com)... 104.17.191.14, 104.18.135.24, 2606:4700::6811:bf0e, ...
Connecting to dlm.mariadb.com (dlm.mariadb.com)|104.17.191.14|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb?GoogleAccessId=downloads-sync%40downloads-234321.iam.gserviceaccount.com&Expires=1718037186&Signature=Ajcf9gprQX2BhAqQH1lOQ5NrM797mgUscbDduBOCYx7LhpMa23L40B%2Fax0q5GqVfX0Pb1Ho6qUB5NbIaJFdDMyeOEHFjgRxWiPmQyRu%2BHbhAqDjDUrNg%2FvDpRTTOiaLrmxavUzqKl867aTJCWcPkdikunhrkXj5F0dsRno6%2F%2B1H3ILrfA3UN%2BUaVlUEOrxu9YWcNLoWBCRMbpxfbGoVENHvejVG%2FrFR61z%2F2a5BTCC8jhVHj7ClYkWZyqL3doyNKPR1ZbH%2Bsdw69C17cLVHfdvCGBcPbL8VHQh7eKpQW6e2xMugPCJpz7aA7kCbg4G0YyJy88m%2BCyxCA2RKYhINw9Q%3D%3D [following]
--2024-06-10 16:18:06-- https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb?GoogleAccessId=downloads-sync%40downloads-234321.iam.gserviceaccount.com&Expires=1718037186&Signature=Ajcf9gprQX2BhAqQH1lOQ5NrM797mgUscbDduBOCYx7LhpMa23L40B%2Fax0q5GqVfX0Pb1Ho6qUB5NbIaJFdDMyeOEHFjgRxWiPmQyRu%2BHbhAqDjDUrNg%2FvDpRTTOiaLrmxavUzqKl867aTJCWcPkdikunhrkXj5F0dsRno6%2F%2B1H3ILrfA3UN%2BUaVlUEOrxu9YWcNLoWBCRMbpxfbGoVENHvejVG%2FrFR61z%2F2a5BTCC8jhVHj7ClYkWZyqL3doyNKPR1ZbH%2Bsdw69C17cLVHfdvCGBcPbL8VHQh7eKpQW6e2xMugPCJpz7aA7kCbg4G0YyJy88m%2BCyxCA2RKYhINw9Q%3D%3D
Resolving storage.googleapis.com (storage.googleapis.com)... 142.250.179.91, 216.58.214.187, 142.250.179.123, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|142.250.179.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4036 (3.9K) [application/x-debian-package]
Saving to: ‘mariadb-common_10.6.18+maria~ubu2004_all.deb.1’
mariadb-common_10.6.18+maria~ubu2004_all.deb.1 100%[====================================================================================================================================================================================================>] 3.94K --.-KB/s in 0s
2024-06-10 16:18:06 (49.2 MB/s) - ‘mariadb-common_10.6.18+maria~ubu2004_all.deb.1’ saved [4036/4036]0 -
Interesting - what about curl instead?
curl -v https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb
0 -
root@ip-172-31-1-219:/home# curl -v https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb
* Trying 104.18.135.24:443...
* TCP_NODELAY set
* Connected to dlm.mariadb.com (104.18.135.24) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=mariadb.com
* start date: Jun 8 17:49:20 2024 GMT
* expire date: Sep 6 17:49:19 2024 GMT
* subjectAltName: host "dlm.mariadb.com" matched cert's "*.mariadb.com"
* issuer: C=US; O=Google Trust Services; CN=WE1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5599deae2910)
> GET /repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb HTTP/2
> Host: dlm.mariadb.com
> user-agent: curl/7.68.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 302
< date: Mon, 10 Jun 2024 16:42:43 GMT
< content-type: text/html; charset=utf-8
< content-length: 0
< location: https://storage.googleapis.com/downloads-cdn.mariadb.com/mariadb_server/10.6/10.6.18/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.18+maria~ubu2004_all.deb?GoogleAccessId=downloads-sync%40downloads-234321.iam.gserviceaccount.com&Expires=1718038663&Signature=DZvtuW0J%2BW1ZlmmoEzihAK2IC6Mi5Oa%2
BbpvIPM6uXBq82avLOZ7WoPxKm%2FbN4p2%2FbW25%2BduOpj9aBzK6kCJ59GAaU7xwUO6WuvCPHbBege8TKPjl25VlHl1Z9b%2B8w03BP5PbHZVW9N2scZaIagMgPUmv%2BRm3cFhF5n%2FHp1TkD2NheT6oL3VTtY%2FBL55pl%2BNjchjQ2BCFc%2F31ncD%2FLBem5lXvewkrNPRDcvSmBuwDcUBwOgYAQfhfuT2XPAiixkV1euqeQKM6pPy0qbFifG6SNSds%2FpI%2F4ABCIZqbuvphfrvjhRIJdc4qz3duBFQBFRJ6d%2
BSIpl0kldLYFEF9Fx2d%2Fg%3D%3D
< x-frame-options: SAMEORIGIN
< vary: Cookie, Origin
< via: 1.1 google
< cf-cache-status: DYNAMIC
< server: cloudflare
< cf-ray: 891ad0f1bc6d6985-CDG
<
* Connection #0 to host dlm.mariadb.com left intact0 -
It's interesting that works well when your other connection is blocked over port 443. I really don't have a good explanation for this one, so reaching out to the host would be best as we don't have any control over those mirrors.
0 -
I resolved my issue by cloning another instance. However, I believe this might affect other users.
Thank you.
0 -
It's completely possible it will, but we'd likely need access to an affected system to confirm if there is a deeper issue.
0 -
Sorry for the delay. But if you wrant, I can provide access to EC2 for testing.
0 -
If you can create a ticket with our team we'd be happy to check!
0
Please sign in to leave a comment.
Comments
13 comments