On 2014/10/21 21:40, johnw wrote: > On 2014年10月21日 星期二 08:58 下午, Stuart Henderson wrote: > > > >Can you try these two (as root) and send full output please (it will be about > >400 lines for each so it might be easier to run them under 'script'). > > > >LD_DEBUG=1 dovecot -F > > > >LD_DEBUG=1 LD_PRELOAD=libpthread.so dovecot -F > > > I tried run those 3 command as root (if I do anything wrong, please let me > know) > > 1. su -l -c dovecot -s /bin/sh root -c "LD_DEBUG=1 dovecot -F" 2>&1 |tee > /ramdisk/nopreload > 2. su -l -c dovecot -s /bin/sh root -c "LD_DEBUG=1 LD_PRELOAD=libpthread.so > dovecot -F" 2>&1 |tee /ramdisk/preload
hmm. I don't see anything indicating a problem with those 2, but then neither do I see it trying to load the mysql plugin. at what point do you normally see the error? at startup or when you connect? if it's when you connect, re-run and try to connect. basically we want to see the extra output from LD_DEBUG when the error is triggered. > 3. su -l -c dovecot -s /bin/sh root -c "LD_DEBUG=1 LD_PRELOAD=libpthread.so > LD_PRELOAD=/usr/local/lib/dovecot/auth/libdriver_mysql.so dovecot -F" 2>&1 that method is definitely wrong. > Because "pastebin.com is under heavy load right now" <-- this is what I see, > when I go to pastebin.com > so, I attach these 3 files good, I find pastebin.com highly annoying, either straight in an email, or one of the nice lightweight alternatives that doesn't wrap everything in html decorations is much easier to read :)