Skip to main content

Installation failure of cPanel - Ubuntu & MariaDB 10.6

Comments

13 comments

  • cPRex Jurassic Moderator

    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:

    https://support.cpanel.net/hc/en-us/articles/360052635434-How-to-customize-the-version-of-MySQL-or-MariaDB-used-when-installing-cPanel-for-the-first-time

    0
  • alfasoft

    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
  • cPRex Jurassic Moderator

    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
  • alfasoft

    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
  • cPRex Jurassic Moderator

    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
  • alfasoft

    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
  • cPRex Jurassic Moderator

    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
  • alfasoft
    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 intact
    0
  • cPRex Jurassic Moderator

    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
  • alfasoft

    I resolved my issue by cloning another instance. However, I believe this might affect other users.

    Thank you.

    0
  • cPRex Jurassic Moderator

    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
  • alfasoft

    Sorry for the delay. But if you wrant, I can provide access to EC2 for testing.

    0
  • cPRex Jurassic Moderator

    If you can create a ticket with our team we'd be happy to check!

    0

Please sign in to leave a comment.