QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 716|回复: 1

我用vpopmail向mysql 数据库添加域但加不进去。

[复制链接]
发表于 2004-10-6 08:44:22 | 显示全部楼层 |阅读模式
我装的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.

mysql>
我的进程也启来了.问题出在哪里呢.
发表于 2004-10-7 20:13:52 | 显示全部楼层
/etc/vpopmail.conf 设置正确否?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-7 14:41 , Processed in 0.060867 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表