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

SLES: Failed to start mysql.service: Unit mysql.service failed to load

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.40, 10.0.15
    • 5.5.42, 10.0.16
    • Packaging
    • None
    • SLES-12

    Description

      > sudo zypper install *.rpm
      Loading repository data...
      Reading installed packages...
      Resolving package dependencies...
       
      The following 8 NEW packages are going to be installed:
        MariaDB-client MariaDB-common MariaDB-connect-engine MariaDB-devel MariaDB-oqgraph-engine MariaDB-server
        MariaDB-shared MariaDB-test
      .. skip ..
      Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.
       
      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.
      mysql                     0:off  1:off  2:on   3:on   4:on   5:on   6:off
      chown: cannot access '/var/lib/mysql': No such file or directory
      .. skip ..
       
      grep: /etc/redhat-release: No such file or directory
       
      > sudo /etc/init.d/mysql status
      MySQL is not running                                                                                        failed
      mysql.service
         Loaded: not-found (Reason: No such file or directory)
         Active: inactive (dead)
       
      > sudo /etc/rc.d/mysql status
      MySQL is not running                                                                                        failed
      mysql.service
         Loaded: not-found (Reason: No such file or directory)
         Active: inactive (dead)
       
      > sudo systemctl status mysql
      mysql.service
         Loaded: not-found (Reason: No such file or directory)
         Active: inactive (dead)
       
      > sudo systemctl start  mysql
      Failed to start mysql.service: Unit mysql.service failed to load: No such file or directory.
       
      > sudo /etc/init.d/mysql start
      redirecting to systemctl start mysql.service
      Failed to start mysql.service: Unit mysql.service failed to load: No such file or directory.

      Attachments

        Activity

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            nirbhay_c Nirbhay Choubey (Inactive)
            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.