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

MaxScale should write a message to the error log when config is not found

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      [root@max1 mariadb-maxscale]# service maxscale start
      Starting MaxScale: [FAILED]

      error log:
      MariaDB Corporation MaxScale /usr/local/mariadb-maxscale/log/skygw_err1.log Fri Mar 20 22:42:12 2015
      -----------------------------------------------------------------------
      — Logging is enabled.
      2015-03-20 22:42:12 MaxScale is shut down.
      -----------------------------------------------------------------------

      msg log:
      MariaDB Corporation MaxScale /usr/local/mariadb-maxscale/log/skygw_msg1.log Fri Mar 20 22:42:12 2015
      -----------------------------------------------------------------------
      — Logging is enabled.
      2015-03-20 22:42:12 MaxScale is shut down.
      -----------------------------------------------------------------------

      syslog:
      Mar 20 22:42:12 max1 MaxScale[8911]: Warning : Failed to read the configuration file /usr/local/mariadb-maxscale/etc/MaxScale.cnf due to 2, No such file or directory.

      MaxScale has already opened and is already writing to the error and msg logs, so it should be able to write something there if the config file can't be found.

      Attachments

        Activity

          People

            markus makela markus makela
            kolbe Kolbe Kegel (Inactive)
            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.