免费注册 查看新帖 |

Chinaunix

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

[Mail] Cyrus-IMAP 和BerkeleyDB 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-27 13:40 |只看该作者 |倒序浏览
我是按照http://www.cngnu.org/technology/Postfix_I.html来做的

我用的是RedHat AS4 装完后postfix 正常,可以发送邮件.
但是后来装完Cyrus-IMAP 后在进程中显示正常,端口也有在监听,但是用telnet localhost pop3 登陆时就不动了,无论Ctrl+C 还是怎么样都没有反应,也没有出现欢迎信息.
后来看日志中现实是连接错误,大意好像是编译时用的include 文件是4.2.52版本的而连接是用的库是 4.1.25 的,后来我把.h 文件换成 4.1.25 的了,可编译完了运行还是同样 ,用 telnet 登陆时不出现欢迎信息 ,只有等到kill 掉进程时才能断开连接,目前的日志如下:

Apr 27 09:17:05 localhost master[21427]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Apr 27 09:17:05 localhost master[21427]: retrying with 1024 (current max)
Apr 27 09:17:05 localhost master[21427]: process started
Apr 27 09:17:05 localhost master[21428]: about to exec /usr/cyrus/bin/ctl_cyrusdb
Apr 27 09:17:05 localhost ctl_cyrusdb[21428]: recovering cyrus databases
Apr 27 09:17:05 localhost master[21427]: process 21428 exited, status 127
Apr 27 09:17:05 localhost master[21427]: ready for work
Apr 27 09:17:05 localhost master[21429]: about to exec /usr/cyrus/bin/ctl_cyrusdb
Apr 27 09:17:05 localhost ctl_cyrusdb[21429]: checkpointing cyrus databases
Apr 27 09:17:23 localhost ctl_cyrusdb[21429]: DBERROR db4: unable to join the environment
Apr 27 09:17:23 localhost ctl_cyrusdb[21429]: DBERROR: dbenv->open '/var/imap/db' failed: Resource temporarily unavailable
Apr 27 09:17:23 localhost ctl_cyrusdb[21429]: DBERROR: init /var/imap/db: cyrusdb error
Apr 27 09:17:23 localhost ctl_cyrusdb[21429]: done checkpointing cyrus databases
Apr 27 09:17:23 localhost master[21427]: process 21429 exited, status 1
Apr 27 09:19:07 localhost master[21436]: about to exec /usr/cyrus/bin/pop3d
Apr 27 09:19:07 localhost pop3[21436]: executed
Apr 27 09:19:25 localhost pop3d[21436]: DBERROR db4: unable to join the environment
Apr 27 09:19:25 localhost pop3d[21436]: DBERROR: dbenv->open '/var/imap/db' failed: Resource temporarily unavailable
Apr 27 09:19:25 localhost master[21427]: process 21436 exited, status 75
Apr 27 09:19:31 localhost master[21427]: exiting on SIGTERM/SIGINT

还有人遇到同样的问题吗??怎么解决的啊

[ 本帖最后由 jzgnh 于 2007-4-27 13:41 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP