Re: [Dovecot] dovecot cores

2012-10-12 Thread dovecot
According to Timo Sirainen: On 11.10.2012, at 9.43, dove...@freakout.de wrote: Dovecot code is calling str_to_time() from libmysqlclient, instead of from Dovecot's internal code. Not the first time mysql conflicted with Dovecot code. This could be worked around, but .. why is your dovecot

Re: [Dovecot] dovecot cores

2012-10-12 Thread Tamsy
dove...@freakout.de wrote the following on 12.10.2012 13:50: According to Timo Sirainen: On 11.10.2012, at 9.43, dove...@freakout.de wrote: Dovecot code is calling str_to_time() from libmysqlclient, instead of from Dovecot's internal code. Not the first time mysql conflicted with Dovecot

Re: [Dovecot] dovecot cores

2012-10-12 Thread Timo Sirainen
On 12.10.2012, at 10.02, dove...@freakout.de wrote: According to Timo Sirainen: Simply specifying -I or -L paths doesn't link with libmysql. What exactly did you use for CPPFLAGS/LDFLAGS/configure? ok - i specified: CFLAGS=-I/opt/zlib/include -I/opt/ssl/include -I/opt/mysql/include

Re: [Dovecot] dovecot cores

2012-10-12 Thread Tamsy
Timo Sirainen wrote the following on 12.10.2012 14:34: On 12.10.2012, at 10.02, dove...@freakout.de wrote: According to Timo Sirainen: Simply specifying -I or -L paths doesn't link with libmysql. What exactly did you use for CPPFLAGS/LDFLAGS/configure? ok - i specified:

Re: [Dovecot] dovecot cores

2012-10-12 Thread Timo Sirainen
On 12.10.2012, at 10.45, Tamsy wrote: Axel, please let us know whether one of these works: SQL_LIBS=-lmysqlclient or AUTH_LIBS=-lmysqlclient or MYSQL_LIBS=-lmysqlclient. Since Dovecot 1.x all the way up to 2.1.10 I had trouble with this and only by putting -lmysqlclient in LDFLAGS as

Re: [Dovecot] dovecot cores

2012-10-12 Thread Tamsy
Timo Sirainen wrote the following on 12.10.2012 14:50: On 12.10.2012, at 10.45, Tamsy wrote: Axel, please let us know whether one of these works: SQL_LIBS=-lmysqlclient or AUTH_LIBS=-lmysqlclient or MYSQL_LIBS=-lmysqlclient. Since Dovecot 1.x all the way up to 2.1.10 I had trouble with this

Re: [Dovecot] dovecot cores

2012-10-12 Thread dovecot
According to Tamsy: Timo Sirainen wrote the following on 12.10.2012 14:34: On 12.10.2012, at 10.02, dove...@freakout.de wrote: According to Timo Sirainen: Simply specifying -I or -L paths doesn't link with libmysql. What exactly did you use for CPPFLAGS/LDFLAGS/configure? ok - i

Re: [Dovecot] dovecot cores

2012-10-12 Thread Timo Sirainen
On 12.10.2012, at 11.10, dove...@freakout.de wrote: MYSQL_LIBS=-lmysqlclient \ LDFLAGS=-L/opt/zlib/lib -L/opt/ssl/lib -L/opt/mysql/lib \ ./configure --prefix=%{_prefix} \ --sysconfdir=%{_etcdir} --mandir=%{_mandir} --docdir=%{_docdir} --libexecdir=%{_sbindir} --datadir=%{_prefix} \

[Dovecot] dovecot cores

2012-10-11 Thread dovecot
Hi dovecot-community, i have set up a new dovecot server - everything is self-compiled and with newest versions. dovecot daemon dies every night: Bugreport Mail - dovecot cores with sig11 my dovecot daemon cores every night - no message in log file. Please help. It runs in an OpenVZ container -

Re: [Dovecot] dovecot cores

2012-10-11 Thread Timo Sirainen
On 11.10.2012, at 9.43, dove...@freakout.de wrote: Core was generated by `/opt/dovecot/sbin/dovecot'. OK.. #0 0xb7f95fe4 in str_to_time () from /opt/mysql/lib/libmysqlclient.so.18 #1 0xb7f131c0 in master_instance_list_add_line (list=0x9d48880, line=0x9d540c8