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

std::regex_error exception on csmon startup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.3.7
    • csmon
    • None
    • MXS-SPRINT-75, MXS-SPRINT-80

    Description

      Changing router_options=running got it working, I can connect to the maxscale server and it is forwarding my requests to um1.

      I next wanted to setup that csmon module too though but im running into errors even starting up the service

      [root@ip-10-59-10-62 aherrera]# /bin/maxscale --user=maxscale -d
      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

      terminate called after throwing an instance of 'std::regex_error'
      what(): regex_error
      Fatal: MaxScale 2.3.3 received fatal signal 6. Attempting backtrace.
      Commit ID: 28644e9626ad16cb30a2f715b8fa9e3a8df5583b System name: Linux Release string: NAME="CentOS Linux"

      nm: /lib64/libstdc++.so.6: no symbols

      Writing core dump
      Aborted

      I'm attaching my current maxscale.cnf

      logs from /var/log/maxscale/maxscale.log on a fresh startup

      MariaDB MaxScale /var/log/maxscale/maxscale.log Fri Feb 1 01:50:28 2019
      ----------------------------------------------------------------------------
      2019-02-01 01:50:28 notice : syslog logging is enabled.
      2019-02-01 01:50:28 notice : maxlog logging is enabled.
      2019-02-01 01:50:28 notice : Using up to 12.19GiB of memory for query classifier cache
      2019-02-01 01:50:28 notice : The collection of SQLite memory allocation statistics turned off.
      2019-02-01 01:50:28 notice : Threading mode of SQLite set to Multi-thread.
      2019-02-01 01:50:28 notice : MariaDB MaxScale 2.3.3 started (Commit: 28644e9626ad16cb30a2f715b8fa9e3a8df5583b)
      2019-02-01 01:50:28 notice : MaxScale is running in process 26691
      2019-02-01 01:50:28 notice : Configuration file: /etc/maxscale.cnf
      2019-02-01 01:50:28 notice : Log directory: /var/log/maxscale
      2019-02-01 01:50:28 notice : Data directory: /var/lib/maxscale
      2019-02-01 01:50:28 notice : Module directory: /usr/lib64/maxscale
      2019-02-01 01:50:28 notice : Service cache: /var/cache/maxscale
      2019-02-01 01:50:28 notice : No query classifier specified, using default 'qc_sqlite'.
      2019-02-01 01:50:28 notice : Loaded module qc_sqlite: V1.0.0 from /usr/lib64/maxscale/libqc_sqlite.so
      2019-02-01 01:50:28 notice : Query classification results are cached and reused. Memory used per thread: 1.52GiB
      2019-02-01 01:50:28 notice : Loading /etc/maxscale.cnf.
      2019-02-01 01:50:28 notice : /etc/maxscale.cnf.d does not exist, not reading.
      2019-02-01 01:50:28 notice : Loaded module MariaDBBackend: V2.0.0 from /usr/lib64/maxscale/libmariadbbackend.so
      2019-02-01 01:50:28 notice : Loaded module csmon: V1.0.0 from /usr/lib64/maxscale/libcsmon.so
      2019-02-01 01:50:28 warning: The parameter 'passwd' is deprecated: use 'password' instead
      2019-02-01 01:50:28 notice : Loaded module maxscaled: V2.0.0 from /usr/lib64/maxscale/libmaxscaled.so
      2019-02-01 01:50:28 warning: THE 'cli' MODULE AND 'maxadmin' ARE DEPRECATED: Use 'maxctrl' instead
      2019-02-01 01:50:28 notice : Loaded module cli: V1.0.0 from /usr/lib64/maxscale/libcli.so
      2019-02-01 01:50:28 notice : Loaded module MariaDBClient: V1.1.0 from /usr/lib64/maxscale/libmariadbclient.so
      2019-02-01 01:50:28 notice : Initialise readconnroute router module.
      2019-02-01 01:50:28 notice : Loaded module readconnroute: V2.0.0 from /usr/lib64/maxscale/libreadconnroute.so
      2019-02-01 01:50:28 notice : Loaded module MySQLBackendAuth: V1.0.0 from /usr/lib64/maxscale/libmysqlbackendauth.so
      2019-02-01 01:50:28 notice : Loaded module MySQLAuth: V1.1.0 from /usr/lib64/maxscale/libmysqlauth.so
      2019-02-01 01:50:28 notice : Loaded module MaxAdminAuth: V2.1.0 from /usr/lib64/maxscale/libmaxadminauth.so
      2019-02-01 01:50:28 notice : Housekeeper thread started.
      2019-02-01 01:50:28 warning: Removing stale journal file for monitor 'CS-Monitor'.
      2019-02-01 01:50:28 notice : Encrypted password file /var/lib/maxscale/.secrets can't be accessed (No such file or directory). Password encryption is not used.
      2019-02-01 01:50:28 notice : Starting a total of 2 services...
      2019-02-01 01:50:28 alert : Fatal: MaxScale 2.3.3 received fatal signal 6. Attempting backtrace.
      2019-02-01 01:50:28 alert : Commit ID: 28644e9626ad16cb30a2f715b8fa9e3a8df5583b System name: Linux Release string: NAME="CentOS Linux"
      2019-02-01 01:50:28 alert : /bin/maxscale(_ZN7maxbase15dump_stacktraceESt8functionIFvPKcS2_EE+0x2b) [0x40cbab]: /home/vagrant/MaxScale/maxutils/maxbase/src/stacktrace.cc:130
      2019-02-01 01:50:28 alert : /bin/maxscale(_ZN7maxbase15dump_stacktraceEPFvPKcS1_E+0x4e) [0x40cf0e]: /usr/include/c++/4.8.2/functional:2029
      2019-02-01 01:50:28 alert : /bin/maxscale() [0x4095b9]: ??:0
      2019-02-01 01:50:28 alert : /lib64/libpthread.so.0(+0xf5e0) [0x7f9b0c03f5e0]: sigaction.c:?
      2019-02-01 01:50:28 alert : /lib64/libc.so.6(gsignal+0x37) [0x7f9b09f581f7]: :?
      2019-02-01 01:50:28 alert : /lib64/libc.so.6(abort+0x148) [0x7f9b09f598e8]: :?
      2019-02-01 01:50:28 alert : /lib64/libstdc++.so.6(ZN9gnu_cxx27_verbose_terminate_handlerEv+0x165) [0x7f9b0b01dac5]: ??:0
      2019-02-01 01:50:28 alert : /lib64/libstdc++.so.6(+0x5ea36) [0x7f9b0b01ba36]: ??:?
      2019-02-01 01:50:28 alert : /lib64/libstdc++.so.6(+0x5ea63) [0x7f9b0b01ba63]: ??:?
      2019-02-01 01:50:28 alert : /lib64/libstdc++.so.6(+0xb5345) [0x7f9b0b072345]: ??:?
      2019-02-01 01:50:28 alert : /lib64/libpthread.so.0(+0x7e25) [0x7f9b0c037e25]: pthread_create.c:?
      2019-02-01 01:50:28 alert : /lib64/libc.so.6(clone+0x6d) [0x7f9b0a01b34d]: ??:?

      Attachments

        Activity

          People

            markus makela markus makela
            hill David Hill (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 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.