After running through the same upgrade on a test box, I tried it on the production box today. pop and imap continued working fine, but smtp-auth seemed to be borked (probably because I had not yet recompiled it).

So then I started poking around with the "v*" commands. They all spit out some nasty mysql errors:

[EMAIL PROTECTED]/usr/local/src/toaster/vpopmail]# ~vpopmail/bin/vuserinfo chip
vmysql: sql error[3]: Commands out of sync; You can't run this command now
no such user [EMAIL PROTECTED]
Segmentation fault

[EMAIL PROTECTED]/usr/local/src/toaster/vpopmail]# vdominfo blah.net
domain: blah.net
uid: 90
gid: 90
dir: /home/vpopmail/domains/blah.net
vmysql: error creating table 'dir_control': Table 'dir_control' already exists
users: 0
Segmentation fault (core dumped)

Putting my old binaries/libs back brought everything back in order. The test box is running the same version of mysql client libs and the same version of vpopmail. What might be causing this?

The only info I found was this mysql doc:


The "vmysql: error creating table 'dir_control': Table 'dir_control' already exists" error is interesting... It seems like vpopmail couldn't read the table, so decided it should make a new one. The "out of order" stuff above makes me think it had another issue reading a table (ie: the commands weren't out of order, but one of them failed).

Here's ldd output on the new commands:

[EMAIL PROTECTED]/usr/local/src/toaster/vpopmail/vpopmail-5.4.7]# ldd vuserinfo
libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x28074000)
libz.so.2 => /usr/lib/libz.so.2 (0x28094000)
libm.so.2 => /usr/lib/libm.so.2 (0x280a1000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280bc000)
libc.so.4 => /usr/lib/libc.so.4 (0x280d5000)

And similar from the working box:

[EMAIL PROTECTED]/usr/local/src/toaster]# ldd `which vuserinfo`
libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x28074000)
libz.so.2 => /usr/lib/libz.so.2 (0x28095000)
libm.so.2 => /usr/lib/libm.so.2 (0x280a3000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280bf000)
libc.so.4 => /usr/lib/libc.so.4 (0x280d8000)

Any ideas?



Reply via email to