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

Starting MaxScale from command line fails on CentOS 7

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.1
    • Core
    • None
    • CentOS 7
    • 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

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.