我装的qmail +vpopmail+mysql
我用vpopmail向mysql 数据库添加域但加不进去。
[root@test bin]# ./vadddomain zgq.net
Please enter password for postmaster:
enter password again:
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: sql error: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: sql error: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: sql error[2]: MySQL server has gone away
Failed while attempting to add user to auth backend
Error: (vadduser) no auth connection
我 在 编 译 vpopmail是 这 样 写 的 。
./configure --prefix=/home/vpopmail --enable-auth-module=mysql --enable-incdir=/usr/include/mysql/ --enable-libdir=/var/lib/mysql/ --disable-passwd --enable-auth-module=mysql --enable-tcprules-prog=/usr/local/bin/tcprules --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --disable-ip-alias-domains
编译成功信息。
roaming users = OFF --disable-roaming-users (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
domain quotas = OFF --disable-domainquotas (default)
auth module = mysql --enable-auth-module=mysql
mysql replication = OFF --disable-mysql-replication (default)
mysql logging = OFF --disable-mysql-logging (default)
mysql limits = OFF --disable-mysql-limits (default)
MySQL valias = OFF --disable-valias (default)
auth inc = -I/usr/include/mysql/
auth lib = -L/var/lib/mysql/ -lmysqlclient -lz
system passwords = OFF --disable-passwd (default)
pop syslog = show only failed attempts
--enable-logging=e (default)
auth logging = ON --enable-auth-logging (default)
all domains in one SQL table = --enable-many-domains (default)
我装了mysql 5.0.1
显示MySQL server has gone away
[root@test squid]#
ps aux|grep mysqld
mysql 754 0.0 5.0 66656 12764 ? S 16:50 0:00 /usr/sbin/mysqld-
root 808 0.0 0.2 3512 540 pts/1 S 23:06 0:00 grep mysqld
[root@test bin]# ./mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 5.0.1-alpha-Max-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.