Join the community today
Register Now

MariaDB Not found MariaDB

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by dooma, Nov 25, 2023.

  1. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    7:49 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 124.00stable.s98
    • Nginx Version Installed: i.e. 1.24.0
    • PHP Version Installed: i.e. 7.3.33, 7.4.33, 8.0.30, 8.1.25
    • MariaDB MySQL Version Installed: i.e. 10.3.xx or 10.4.xx or 10.6.x
    I'm trying to install WordPress using option 22 but it's not working as I think there's an issue with MariaDB.

    I think even php is not installed ??!!


    why does this happen? bec I install Centminmod thru console?

    Thanks

    Code:
    You are about to create an Wordpress based Nginx vhost site with
    or without HTTPS/SSL support.
    Also read the continually updated Getting Started Guide
    at centminmod.com/getstarted.html if you haven't already
    ---------------------------------------------------------------
    403 Permission denied message handling
    if after vhost site setup you encounter 403 permission denied errors,
    check https://community.centminmod.com/threads/11215/ to see if your
    site needs tools/autoprotect.sh tweaking & whitelisting
    ---------------------------------------------------------------
    [ LETSENCRYPT_DETECT is not enabled ]
    Ignore this message if you do not want HTTPS based web site otherwise
    read below carefully.
    
    Free letsencrypt SSL certificates integration is in beta testing if
    you want to obtain free letsencrypt SSL certificate for HTTPS site,
    you will need to manually enable LETSENCRYPT_DETECT='y' outlined
    at https://centminmod.com/acmetool so exit this vhost routine first
    set LETSENCRYPT_DETECT='y' and update domain DNS A record first
    then re-run vhost site creation menu option
    ---------------------------------------------------------------
    
    !!  Error: MariaDB MySQL Server is not running  !!
    Please make sure MariaDB MySQL Server is running first
    aborting centmin.sh menu option 22 run...
     
    Last edited: Nov 25, 2023
  2. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    7:49 PM
    I reinstalled centminmod but still same issue exists ( no MySQL or php installed )
     
  3. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    7:49 PM
    when I run command ./centmin.sh

    I see this error:

    Code (Text):
    File contains no section headers.
    file: file:///etc/yum.repos.d/centalt.repo, line: 1
    'exclude=mariadb*\n'
    pure-ftpd: create 2048bit /etc/pki/pure-ftpd/pure-ftpd.pem file for
    pure-ftpd: /etc/pki/pure-ftpd/pure-ftpd.pem created
    Traceback (most recent call last):
      File "/bin/yum-config-manager", line 180, in <module>
        repos = yb.repos.findRepos(','.join(args),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071, in <lambda>
        repos = property(fget=lambda self: self._getRepos(),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 694, in _getRepos
        self.getReposFromConfig()
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 567, in getReposFromConfig
        self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 465, in getReposFromConfigFile
        raise Errors.ConfigError(exception2msg(e))
    yum.Errors.ConfigError: File contains no section headers.
    file: file:///etc/yum.repos.d/centalt.repo, line: 1
    'exclude=mariadb*\n'
    
    
    File contains no section headers.
    file: file:///etc/yum.repos.d/centalt.repo, line: 1
    'exclude=mariadb*\n'
     
  4. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    7:49 PM
    I think there's an issue with the stable ver.

    As everything is running fine now on beta release 7.4
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    3:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    3:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    7:49 PM
    Thank you so much :)