Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15495

Installing 10.2.13 on RHEL7.4 - NO LOG-ERROR File Created + Startup Fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.13
    • N/A
    • Server
    • RHEL7.4

    Description

      • Downloaded mariadb-10.2.13-rhel-7-x86_64-rpms.tar
      • Multiple times I installed with > yum install -y MariaDB-server
      • /var/lib/mysql - contains all the logs and default databases
      • attempt to start up mysql via > mysqld_safe &
      • I see 2 lines....
        180306 17:05:09 mysqld_safe Logging to '/var/log/mariadb/MariaDB.log'.
        180306 17:05:09 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
        and that is it......there is NO ERROR LOG file created ?? MariaDB FAILS to start.
        How do I trace this issue with no log ????

      ------------------------------------------

      Update - I tried a completely different RHEL7.4 server with MariaDB10.2.13
      Same steps....
      Same EXACT Symptoms - NO LOG FILE is produced when I ATTEMPT TO START UP!!
      >mysqld_safe &

      I even commented everything out of the my.cnf file - it is bare bones.

      -----------------------------
      Here is the installation output - I cannot see anything causing an issue??

      [root@int-mysql-os-master02 yum.repos.d]# yum install -y MariaDB-server
      Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
      : manager
      This system is receiving updates from RHN Classic or Red Hat Satellite.
      MariaDB | 2.9 kB 00:00
      MariaDB/primary_db | 18 kB 00:00
      rhn-tools-rhel-x86_64-server-7 | 1.3 kB 00:00
      Resolving Dependencies
      --> Running transaction check
      ---> Package MariaDB-server.x86_64 0:10.2.13-1.el7.centos will be obsoleting
      --> Processing Dependency: MariaDB-client for package: MariaDB-server-10.2.13-1.el7.centos.x86_64
      --> Processing Dependency: galera for package: MariaDB-server-10.2.13-1.el7.centos.x86_64
      --> Processing Dependency: MariaDB-common for package: MariaDB-server-10.2.13-1.el7.centos.x86_64
      ---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be obsoleted
      --> Running transaction check
      ---> Package MariaDB-client.x86_64 0:10.2.13-1.el7.centos will be obsoleting
      ---> Package MariaDB-common.x86_64 0:10.2.13-1.el7.centos will be installed
      --> Processing Dependency: MariaDB-compat for package: MariaDB-common-10.2.13-1.el7.centos.x86_64
      ---> Package galera.x86_64 0:25.3.23-1.rhel7.el7.centos will be installed
      --> Processing Dependency: libboost_program_options.so.1.53.0()(64bit) for package: galera-25.3.23-1.rhel7.el7.centos.x86_64
      ---> Package mariadb.x86_64 1:5.5.56-2.el7 will be obsoleted
      --> Running transaction check
      ---> Package MariaDB-compat.x86_64 0:10.2.13-1.el7.centos will be obsoleting
      ---> Package boost-program-options.x86_64 0:1.53.0-27.el7 will be installed
      ---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be obsoleted
      --> Finished Dependency Resolution
      --> Finding unneeded leftover dependencies
      ---> Marking perl-DBD-MySQL to be removed - no longer needed by mariadb-server
      Found and removing 1 unneeded dependencies
      --> Running transaction check
      ---> Package perl-DBD-MySQL.x86_64 0:4.023-5.el7 will be erased
      --> Finished Dependency Resolution

      Dependencies Resolved

      ===========================================================================
      Package Arch Version Repository Size
      ===========================================================================
      Installing:
      MariaDB-client x86_64 10.2.13-1.el7.centos MariaDB 48 M
      replacing mariadb.x86_64 1:5.5.56-2.el7
      MariaDB-compat x86_64 10.2.13-1.el7.centos MariaDB 2.8 M
      replacing mariadb-libs.x86_64 1:5.5.56-2.el7
      MariaDB-server x86_64 10.2.13-1.el7.centos MariaDB 110 M
      replacing mariadb-server.x86_64 1:5.5.56-2.el7
      Installing for dependencies:
      MariaDB-common x86_64 10.2.13-1.el7.centos MariaDB 155 k
      boost-program-options
      x86_64 1.53.0-27.el7 rhel-x86_64-server-7 156 k
      galera x86_64 25.3.23-1.rhel7.el7.centos
      MariaDB 8.0 M
      Removing for dependencies:
      perl-DBD-MySQL x86_64 4.023-5.el7 @rhel-x86_64-server-7 323 k

      Transaction Summary
      ===========================================================================
      Install 3 Packages (+3 Dependent packages)
      Remove ( 1 Dependent package)

      Total download size: 168 M
      Downloading packages:
      (5/6): boost-program-options-1.53.0-27.el7.x86_64.r | 156 kB 00:00
      ---------------------------------------------------------------------------
      Total 238 MB/s | 168 MB 00:00
      Running transaction check
      Running transaction test
      Transaction test succeeded
      Running transaction
      Installing : MariaDB-common-10.2.13-1.el7.centos.x86_64 1/10
      warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
      Installing : MariaDB-compat-10.2.13-1.el7.centos.x86_64 2/10
      Installing : MariaDB-client-10.2.13-1.el7.centos.x86_64 3/10
      Installing : boost-program-options-1.53.0-27.el7.x86_64 4/10
      Installing : galera-25.3.23-1.rhel7.el7.centos.x86_64 5/10
      Installing : MariaDB-server-10.2.13-1.el7.centos.x86_64 6/10
      warning: /etc/my.cnf.d/server.cnf created as /etc/my.cnf.d/server.cnf.rpmnew
      Erasing : 1:mariadb-server-5.5.56-2.el7.x86_64 7/10
      warning: /var/log/mariadb/mariadb.log saved as /var/log/mariadb/mariadb.log.rpmsave
      warning: directory /var/lib/mysql: remove failed: Device or resource busy
      Erasing : 1:mariadb-5.5.56-2.el7.x86_64 8/10
      Erasing : perl-DBD-MySQL-4.023-5.el7.x86_64 9/10
      Erasing : 1:mariadb-libs-5.5.56-2.el7.x86_64 10/10
      Verifying : MariaDB-client-10.2.13-1.el7.centos.x86_64 1/10
      Verifying : MariaDB-compat-10.2.13-1.el7.centos.x86_64 2/10
      Verifying : galera-25.3.23-1.rhel7.el7.centos.x86_64 3/10
      Verifying : MariaDB-common-10.2.13-1.el7.centos.x86_64 4/10
      Verifying : boost-program-options-1.53.0-27.el7.x86_64 5/10
      Verifying : MariaDB-server-10.2.13-1.el7.centos.x86_64 6/10
      Verifying : perl-DBD-MySQL-4.023-5.el7.x86_64 7/10
      Verifying : 1:mariadb-libs-5.5.56-2.el7.x86_64 8/10
      Verifying : 1:mariadb-server-5.5.56-2.el7.x86_64 9/10
      Verifying : 1:mariadb-5.5.56-2.el7.x86_64 10/10

      Dependency Removed:
      perl-DBD-MySQL.x86_64 0:4.023-5.el7

      Installed:
      MariaDB-client.x86_64 0:10.2.13-1.el7.centos MariaDB-compat.x86_64 0:10.2.13-1.el7.centos
      MariaDB-server.x86_64 0:10.2.13-1.el7.centos

      Dependency Installed:
      MariaDB-common.x86_64 0:10.2.13-1.el7.centos boost-program-options.x86_64 0:1.53.0-27.el7
      galera.x86_64 0:25.3.23-1.rhel7.el7.centos

      Replaced:
      mariadb.x86_64 1:5.5.56-2.el7 mariadb-libs.x86_64 1:5.5.56-2.el7 mariadb-server.x86_64 1:5.5.56-2.el7

      Complete!

      =============================
      Note - if I change the log-error location in the my.cnf file I see that this is picked up....but still NO LOG FILE IS CREATED....??????

      [root@int-mysql-os-master02 mysql]# mysqld_safe &
      [1] 7558
      [root@int-mysql-os-master02 mysql]# 180306 18:05:31 mysqld_safe Logging to '/var/lib/mysql/int-mysql-os-master02.err'.
      180306 18:05:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

      Attachments

        Activity

          People

            Unassigned Unassigned
            dgregg Dave Gregg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.