|
OS : Ubuntu 14.04.4 LTS
LibC version : 2.19-0ubuntu6.9
MaxScale : 1.2.0
Build Using :
cmake ../MaxScale/ -DCMAKE_BUILD_TYPE=RelWithDebugInfo -DMYSQL_DIR=/home/ubuntu/mariadb-10.0.20-linux-x86_64/include/mysql -DEMBEDDED_LIB=/home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqld.a -DMYSQLCLIENT_LIBRARIES=/home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqlclient.so -DERRMSG=/home/ubuntu/mariadb-10.0.20-linux-x86_64/share/english/errmsg.sys -DBUILD_TESTS=Y -DWITH_SCRIPTS=N
-DCMAKE_INSTALL_PREFIX=$HOME/release_maxscale
Build Log:
– CMake version: 2.8.12.2
– The C compiler identification is GNU 4.8.4
– The CXX compiler identification is GNU 4.8.4
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Looking for include file arpa/inet.h
– Looking for include file arpa/inet.h - found
– Looking for include file crypt.h
– Looking for include file crypt.h - found
– Looking for include file ctype.h
– Looking for include file ctype.h - found
– Looking for include file dirent.h
– Looking for include file dirent.h - found
– Looking for include file dlfcn.h
– Looking for include file dlfcn.h - found
– Looking for include file errno.h
– Looking for include file errno.h - found
– Looking for include file execinfo.h
– Looking for include file execinfo.h - found
– Looking for include file fcntl.h
– Looking for include file fcntl.h - found
– Looking for include file ftw.h
– Looking for include file ftw.h - found
– Looking for include file getopt.h
– Looking for include file getopt.h - found
– Looking for include file ini.h
– Looking for include file ini.h - not found
– Looking for include file math.h
– Looking for include file math.h - found
– Looking for include file memlog.h
– Looking for include file memlog.h - not found
– Looking for include file netdb.h
– Looking for include file netdb.h - found
– Looking for include file netinet/in.h
– Looking for include file netinet/in.h - found
– Looking for include file openssl/aes.h
– Looking for include file openssl/aes.h - found
– Looking for include file openssl/sha.h
– Looking for include file openssl/sha.h - found
– Looking for include file pthread.h
– Looking for include file pthread.h - found
– Looking for include file pwd.h
– Looking for include file pwd.h - found
– Looking for include file rdtsc.h
– Looking for include file rdtsc.h - not found
– Looking for include file regex.h
– Looking for include file regex.h - found
– Looking for include file signal.h
– Looking for include file signal.h - found
– Looking for include file stdarg.h
– Looking for include file stdarg.h - found
– Looking for include file stdbool.h
– Looking for include file stdbool.h - found
– Looking for include file stdint.h
– Looking for include file stdint.h - found
– Looking for include file stdio.h
– Looking for include file stdio.h - found
– Looking for include file stdlib.h
– Looking for include file stdlib.h - found
– Looking for include file string.h
– Looking for include file string.h - found
– Looking for include file strings.h
– Looking for include file strings.h - found
– Looking for include file sys/epoll.h
– Looking for include file sys/epoll.h - found
– Looking for include file sys/ioctl.h
– Looking for include file sys/ioctl.h - found
– Looking for include file syslog.h
– Looking for include file syslog.h - found
– Looking for include file sys/param.h
– Looking for include file sys/param.h - found
– Looking for include file sys/socket.h
– Looking for include file sys/socket.h - found
– Looking for include file sys/stat.h
– Looking for include file sys/stat.h - found
– Looking for include file sys/time.h
– Looking for include file sys/time.h - found
– Looking for include file sys/types.h
– Looking for include file sys/types.h - found
– Looking for include file sys/un.h
– Looking for include file sys/un.h - found
– Looking for include file time.h
– Looking for include file time.h - found
– Looking for include file unistd.h
– Looking for include file unistd.h - found
– Using MySQL headers found at: /home/ubuntu/mariadb-10.0.20-linux-x86_64/include/mysql
– Using custom errmsg.sys found at: /home/ubuntu/mariadb-10.0.20-linux-x86_64/share/english/errmsg.sys
– Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1f")
– Valgrind not found.
– Found dynamic MySQL client library: /home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqlclient.so
– Static MySQL client library not found.
– Found mysql_version.h: /home/ubuntu/mariadb-10.0.20-linux-x86_64/include/mysql/mysql_version.h
– MySQL version: 10.0.20
– MySQL provider: MariaDB
– Looking for pcre_stack_guard in /home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqld.a
– Looking for pcre_stack_guard in /home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqld.a - found
– Using embedded library: /home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqld.a
– Pandoc not found.
– Could not find libtcmalloc, using system default malloc instead.
– Could not find libjemalloc, using system default malloc instead.
– Found Git: /usr/bin/git (found version "1.9.1")
– Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.35.0")
– Found git 1.9.1
– Commit ID: 8003aab96a920bc7a9f5bb686775f0e4de12ea3f
– C Compiler supports: -Werror=format-security
– C Compiler supports: -Wno-unused-but-set-variable
– Using C99 standard
– Linking against: /home/ubuntu/mariadb-10.0.20-linux-x86_64/lib/libmysqlclient.so
– Could not find editline library. MaxAdmin will be built without it.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
– Configuring done
– Generating done
– Build files have been written to: /home/ubuntu/release_maxscale
Maxscale Crashing with error log.(when I try to connect using mysql client or even using code)
2016-11-02 05:20:09 Fatal: MaxScale 1.2.0 received fatal signal 11. Attempting backtrace.
2016-11-02 05:20:09 Commit ID: 8003aab96a920bc7a9f5bb686775f0e4de12ea3f System name: Linux Release string: Ubuntu 14.04.4 LTS Embedded library version: 5.5.5-10.0.20-MariaDB
2016-11-02 05:20:09 ./maxscale() [0x52eecf]
2016-11-02 05:20:09 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f2976953330]
2016-11-02 05:20:09 /lib/x86_64-linux-gnu/libc.so.6(+0x13fe1a) [0x7f2975692e1a]
2016-11-02 05:20:09 /home/ubuntu/release_maxscale/lib/x86_64-linux-gnu/maxscale/libconnectionpool.so(pool_park_connection+0x145) [0x7f295f84c9a0]
2016-11-02 05:20:09 /home/ubuntu/release_maxscale/lib/x86_64-linux-gnu/maxscale/libreadconnroute.so(+0x4e0e) [0x7f295fa55e0e]
2016-11-02 05:20:09 /home/ubuntu/release_maxscale/lib/x86_64-linux-gnu/maxscale/libMySQLBackend.so(+0x42f0) [0x7f295f63e2f0]
2016-11-02 05:20:09 ./maxscale() [0x54b6d1]
2016-11-02 05:20:09 ./maxscale(poll_waitevents+0x70e) [0x54ab90]
2016-11-02 05:20:09 ./maxscale(main+0x22d3) [0x532356]
2016-11-02 05:20:09 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f2975574f45]
2016-11-02 05:20:09 ./maxscale() [0x52c949]
My /etc/maxscale.cnf
log_messages=1
log_info=1
log_debug=1
[maxscale]
threads=1
[read_router]
type=service
router=readconnroute
servers=server-d2-slave,server-d4-slave,server-d5-slave,server-d6-slave
user=YYYYYYYYY
passwd=XXXXXXXXX
max_slave_connections=100%
enable_root_user=0
[CLI]
type=service
router=cli
[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
port=6603
[Read Listener]
type=listener
service=read_router
protocol=MySQLClient
port=4406
[server-d2-slave]
type=server
address=X.X.X.X
port=3306
protocol=MySQLBackend
[server-d4-slave]
type=server
address=X.X.X.X
port=3306
protocol=MySQLBackend
[server-d5-slave]
type=server
address=X.X.X.X
port=3306
protocol=MySQLBackend
[server-d6-slave]
type=server
address=X.X.X.X
port=3306
protocol=MySQLBackend
|