Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-759

Starting MaxScale from command line fails on CentOS 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      CentOS 7
    • Sprint:
      2017-29

      Description

      Starting MaxScale directly fails on CentOS 7 if the /var/run/maxscale directory doesn't exist.

      [user@node2 build]$ sudo maxscale -d --user=maxscale
      Info : MaxScale will be run in the terminal process.
      Configuration file : /etc/maxscale.cnf
      Log directory      : /var/log/maxscale
      Data directory     : /var/lib/maxscale
      Module directory   : /usr/lib64/maxscale
      Service cache      : /var/cache/maxscale
       
      *
      * Error : Failed to open PID file '/var/run/maxscale/maxscale.pid'. Error : No such file or directory 
      *
      

      Normally this directory is created by either the init script or the systemd service file. MaxScale should make sure that this directory exists and if not, try to create it.

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: