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

galera_recovery fails due to missing /var/run/mysqld

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • 10.4.13
    • N/A
    • Galera
    • Debian 10

    Description

      When manually executing galera_recovery command after server (re)start, it fails, because /var/run/mysqld directory is missing.

      2020-08-10 14:53:56 0 [ERROR] Can't start server : Bind on unix socket: No such file or directory
      2020-08-10 14:53:56 0 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
      2020-08-10 14:53:56 0 [ERROR] Aborting
      

      galera_recovery script tries to start mysqld (bypassing mariadb.service), but /var/run/mysqld directory is missing, because it is created only when starting mariadb.service.

      Should galera_recovery call command to make sure that /var/lib/mysqld folder exists?

      /usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld
      

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            pstast Petr Šťastný
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.