免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1770 | 回复: 5
打印 上一主题 下一主题

[Mail] vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-14 19:16 |只看该作者 |倒序浏览
发表于: 2003-04-14 19:07    发表主题: vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!   

--------------------------------------------------------------------------------

加用户的时候出现,看样子是mysql的连接问题么?
[root@linux bin]# ./vadduser user@mydomain.com
Please enter password for user@mydomain.com:
enter password again:
vmysql: sql error[2]: Duplicate entry '0' for key 1
Error: Unable to chdir to vpopmail/users directory


察看在mysql数据表Table lastauth in database vpopmail中
有添加了postmaster和mydomain.com
但使用vadduser 无法添加用户 (如上错误)

论坛徽章:
0
2 [报告]
发表于 2003-04-14 22:03 |只看该作者

vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!

也有可能是我建的table又问题吧?????

论坛徽章:
0
3 [报告]
发表于 2003-04-14 22:13 |只看该作者

vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!

这是Table vpopmail in database vpopmail

vpopmail表
Field name Type Allow nulls? Key Default value Extras
pw_name char(32) No None     
pw_domain char(64) No None     
pw_passwd char(40) Yes None NULL   
pw_uid int(11) Yes None NULL   
pw_gid int(11) Yes None NULL   
pw_gecos char(4 Yes None NULL   
pw_dir char(160) Yes None NULL   
pw_shell char(20) Yes None NULL   
pw_id int(5) No Primary 0   


Table lastauth in database vpopmail

--------------------------------------------------------------------------------

表lastauth
  Field name Type Allow nulls? Key Default value Extras
user char(32) No Primary     
domain char(64) No Primary     
remote_ip char(1 No None     
timestamp bigint(20) No None 0  

address表
Field name Type Allow nulls? Key Default value Extras
id int(11) unsigned No Primary NULL  auto_increment  
pw_id int(5) unsigned No Indexed 0   
name varchar(64) No None "   
email varchar(12 No None "   


表dir_control

  Field name Type Allow nulls? Key Default value Extras
domain char(64) No Primary     
cur_users int(11) Yes None NULL   
level_cur int(11) Yes None NULL   
level_max int(11) Yes None NULL   
level_start0 int(11) Yes None NULL   
level_start1 int(11) Yes None NULL   
level_start2 int(11) Yes None NULL   
level_end0 int(11) Yes None NULL   
level_end1 int(11) Yes None NULL   
level_end2 int(11) Yes None NULL   
level_mod0 int(11) Yes None NULL   
level_mod1 int(11) Yes None NULL   
level_mod2 int(11) Yes None NULL   
level_index0 int(11) Yes None NULL   
level_index1 int(11) Yes None NULL   
level_index2 int(11) Yes None NULL   
the_dir char(160) Yes None NULL

论坛徽章:
0
4 [报告]
发表于 2003-04-14 22:16 |只看该作者

vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!

各位高高手 帮我看看结构是否正确?????????????????

论坛徽章:
0
5 [报告]
发表于 2003-04-16 13:53 |只看该作者

vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!

我也看不出来是那里的问题。

论坛徽章:
0
6 [报告]
发表于 2003-04-16 17:10 |只看该作者

vpopmail问题 (环境 qmial+mysql+igenus) 问题困扰!!

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP