[debian-mysql] Bug#679659: mysql-proxy crashes when it isn't able to connect to proxy-backend-addresses

vittorio.faraoni at techub.it vittorio.faraoni at techub.it
Sat Jun 30 14:53:59 UTC 2012


Package: mysql-proxy
Version: 0.8.1-1.1+b1
Severity: important

Dear Maintainer,
after stopping one of the backends, mysql-proxy crashes when trying to connect to that backend
Here's what mysql-proxy logged:

Jun 30 16:33:20 mailaspin1 mysql-proxy: 2012-06-30 16:33:20: (message) mysql-proxy 0.8.1 started
Jun 30 16:33:20 mailaspin1 mysql-proxy: 2012-06-30 16:33:20: (debug) max open file-descriptors = 1024
Jun 30 16:33:20 mailaspin1 mysql-proxy: 2012-06-30 16:33:20: (message) proxy listening on port 172.22.50.151:3307
Jun 30 16:33:20 mailaspin1 mysql-proxy: 2012-06-30 16:33:20: (message) added read/write backend: 172.22.50.151:3306
Jun 30 16:33:20 mailaspin1 mysql-proxy: 2012-06-30 16:33:20: (message) added read-only backend: 172.22.50.150:3306
Jun 30 16:38:02 mailaspin1 mysql-proxy: 2012-06-30 16:38:02: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.
Jun 30 16:38:02 mailaspin1 mysql-proxy: 2012-06-30 16:38:02: (message) proxy-plugin.c.1503: connect(172.22.50.151:3306) failed: Connection refused. Retrying with different backend.
Jun 30 16:38:02 mailaspin1 mysql-proxy: 2012-06-30 16:38:02: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.
Jun 30 16:38:02 mailaspin1 kernel: [3876078.257858] mysql-proxy[3784]: segfault at c ip b7761b30 sp bf8ed0d0 error 4 in libmysql-proxy.so.0.0.0.old[b774c000+23000]


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (1001, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mysql-proxy depends on:
ii  libc6           2.13-33
ii  libevent-2.0-5  2.0.19-stable-3
ii  libglib2.0-0    2.32.3-1
ii  liblua5.1-0     5.1.5-2

mysql-proxy recommends no packages.

mysql-proxy suggests no packages.

-- Configuration Files:
/etc/default/mysql-proxy changed:
ENABLED="true"
OPTIONS="--keepalive --proxy-lua-script=/usr/share/mysql-proxy/rw-splitting.lua --proxy-address=172.22.50.151:3307 --proxy-backend-addresses=172.22.50.151:3306 --proxy-read-only-backend-addresses=172.22.50.150:3306 --log-level=debug --log-use-syslog --admin-username=myadmin --admin-password=myadminpasswd --admin-lua-script=/usr/share/mysql-proxy/admin.lua"


-- no debconf information





More information about the pkg-mysql-maint mailing list