免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix 安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-16 22:59 |只看该作者 |倒序浏览
日志:
#tail /var/log/message
[root@myserver ~]# tail /var/log/maillog
Nov 17 06:25:11 myserver postfix/postfix-script: starting the Postfix mail system
Nov 17 06:25:11 myserver postfix/master[28200]: daemon started -- version 2.3.6, configuration /etc/postfix
Nov 17 06:25:21 myserver postfix/smtpd[28204]: fatal: incorrect version of Berkeley DB: compiled against 4.5.20, run-time linked against 4.3.29
Nov 17 06:25:22 myserver postfix/master[28200]: warning: process /usr/local/postfix/libexec/smtpd pid 28204 exit status 1
Nov 17 06:25:22 myserver postfix/master[28200]: warning: /usr/local/postfix/libexec/smtpd: bad command startup -- throttling
Nov 17 06:33:51 myserver postfix/postfix-script: starting the Postfix mail system
Nov 17 06:33:52 myserver postfix/master[2129]: daemon started -- version 2.3.6, configuration /etc/postfix
Nov 17 06:33:58 myserver postfix/smtpd[2133]: fatal: incorrect version of Berkeley DB: compiled against 4.5.20, run-time linked against 4.3.29
Nov 17 06:33:59 myserver postfix/master[2129]: warning: process /usr/local/postfix/libexec/smtpd pid 2133 exit status 1
Nov 17 06:33:59 myserver postfix/master[2129]: warning: /usr/local/postfix/libexec/smtpd: bad command startup -- throttling
##########
[root@myserver /]# [root@myserver /]# newaliases
postalias: fatal: incorrect version of Berkeley DB: compiled against 4.5.20, run-time linked against 4.3.2
##########
[root@myserver /]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
到这里就不动了
原来装的是db4.5.20 后来重装了4.3.29

[ 本帖最后由 zzm183 于 2007-11-16 23:05 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-11-17 16:29 |只看该作者

回复 #1 zzm183 的帖子

Berkeley DB的库版本不一致。

论坛徽章:
0
3 [报告]
发表于 2007-11-17 20:26 |只看该作者
/lib/libdb.so: undefined reference to `pthread_mutex_trylock'
/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared'
/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy'
/lib/libdb.so: undefined reference to `pthread_condattr_setpshared'
/lib/libdb.so: undefined reference to `pthread_mutexattr_init'
collect2: ld 返回 1
make: *** [master] 错误 1
make: *** [update] 错误 1

论坛徽章:
0
4 [报告]
发表于 2007-11-17 20:26 |只看该作者
重新编译postfix出现以上错误

论坛徽章:
0
5 [报告]
发表于 2007-11-17 22:13 |只看该作者
你的操作系统是什么?

论坛徽章:
0
6 [报告]
发表于 2007-11-17 22:57 |只看该作者
fc6
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP