Skip to content

Instantly share code, notes, and snippets.

@cinek810
Created April 19, 2016 12:52
Show Gist options
  • Save cinek810/b4104a7b2b464b9362c2293d0cb2b874 to your computer and use it in GitHub Desktop.
Save cinek810/b4104a7b2b464b9362c2293d0cb2b874 to your computer and use it in GitHub Desktop.
my rules:
rule protected_update deny wildcard
users %@% match any rules protected_update
maxscale log:
MariaDB Corporation MaxScale /var/log/maxscale/maxscale1.log Tue Apr 19 08:36:23 2016
-----------------------------------------------------------------------
2016-04-19 08:36:23 notice : Configuration file: /etc/maxscale.cnf
2016-04-19 08:36:23 notice : Log directory: /var/log/maxscale
2016-04-19 08:36:23 notice : Data directory: /var/lib/maxscale
2016-04-19 08:36:23 notice : Module directory: /usr/lib64/maxscale
2016-04-19 08:36:23 notice : Service cache: /var/cache/maxscale
2016-04-19 08:36:23 notice : The logging of debug messages has been enabled.
2016-04-19 08:36:23 notice : Initialise CLI router module V1.0.0.
2016-04-19 08:36:23 notice : Loaded module cli: V1.0.0 from /usr/lib64/maxscale/libcli.so
2016-04-19 08:36:23 notice : Initializing statemend-based read/write split router module.
2016-04-19 08:36:23 notice : Loaded module readwritesplit: V1.0.2 from /usr/lib64/maxscale/libreadwritesplit.so
2016-04-19 08:36:23 notice : Initialise readconnroute router module V1.1.0.
2016-04-19 08:36:23 notice : Loaded module readconnroute: V1.1.0 from /usr/lib64/maxscale/libreadconnroute.so
2016-04-19 08:36:23 notice : Loaded module dbfwfilter: V1.1.0 from /usr/lib64/maxscale/libdbfwfilter.so
2016-04-19 08:36:23 error : dbfwfilter: Error on line 2, syntax error: users
2016-04-19 08:36:23 error : Failed to process rule file '/etc/maxscale_fierwall'.
2016-04-19 08:36:23 error : Failed to create filter 'Firewall' instance.
2016-04-19 08:36:23 error : Failed to load filter 'Firewall' for service 'roService'.
2016-04-19 08:36:23 notice : Initialise the MySQL Monitor module V1.4.0.
2016-04-19 08:36:23 notice : Loaded module mysqlmon: V1.4.0 from /usr/lib64/maxscale/libmysqlmon.so
2016-04-19 08:36:23 notice : Encrypted password file /var/lib/maxscale/.secrets can't be accessed (No such file or directory). Password encryption is not used.
2016-04-19 08:36:23 error : 1 errors were encountered while processing the configuration file '/etc/maxscale.cnf'.
2016-04-19 08:36:23 error : Failed to open, read or process the MaxScale configuration file /etc/maxscale.cnf. Exiting.
2016-04-19 08:36:23 MaxScale is shut down.
-----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment