免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-11 16:45 |只看该作者 |倒序浏览
[root@mail vpopmail]# qmailctl stat
/service/qmail-send: up (pid 7651) 0 seconds
/service/qmail-send/log: up (pid 316 2174127 seconds
/service/qmail-smtpd: up (pid 6629) 1032 seconds
/service/qmail-smtpd/log: up (pid 3030) 2174128 seconds
messages in queue: 32
messages in queue but not yet preprocessed: 32

其中/service/qmail-send: up (pid 7651) 0 seconds这个状态不正常

[ 本帖最后由 duanxiaoyu 于 2009-7-9 17:46 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-06-12 13:10 |只看该作者
查看有错误的服务进程
ps -efl | grep "service errors" | grep -v grep
4 S root      3024  2693  0  76   0 -   828 pipe_w 10:59 ?        00:00:00 readproctitle service errors: ...emporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?

往回找问题[root@mail ucspi-tcp-0.88]# make setup check
./install
install: fatal: unable to write .../bin/tcpserver: text busy
make: *** [setup] Error 111

请问大麻版主这个是什么问题?

我怀疑是ucspi-tcp-0.88软件的问题导致的!

[ 本帖最后由 duanxiaoyu 于 2009-7-9 17:50 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-06-17 17:39 |只看该作者
/var/log/qmail 这个目录保证让 qmaill 可写

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
4 [报告]
发表于 2009-06-17 18:16 |只看该作者
大麻是 qmail的专家

论坛徽章:
0
5 [报告]
发表于 2009-07-07 14:43 |只看该作者
运行./service/run

[root@mail service]# ./run
status: local 0/10 remote 0/20
new msg 6210163
info msg 6210163: bytes 1554 from <duanxy@navstarky.com> qp 3549 uid 89
starting delivery 1: msg 6210163 to local navstarky.com-test@navstarky.com
status: local 1/10 remote 0/20
delivery 1: success: did_0+0+1/
status: local 0/10 remote 0/20
end msg 6210163

目前这样本地收发邮件没有问题!

可是必须开机后手动执行./service/run

将./service/run写入/etc/rc.d/rc.local中就又不好用了!

[ 本帖最后由 duanxiaoyu 于 2009-7-9 17:53 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2009-07-09 16:15 |只看该作者
你到底有多少问题?我看了都有点晕

建议你一个一个地解决了。

论坛徽章:
0
7 [报告]
发表于 2009-07-09 18:00 |只看该作者

回复 #6 大麻 的帖子

我重新编辑了一下帖子  

1.看见qmailctl服务状态不正确  

/service/qmail-send: up (pid 7651) 0 seconds

2.发现有错误的服务进程!

ps -efl | grep "service errors" | grep -v grep
4 S root      3024  2693  0  76   0 -   828 pipe_w 10:59 ?        00:00:00 readproctitle service errors: ...emporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?

但是现在运行./service/run   本地就可以发送接收mail了,但是将./service/run写入/etc/rc.d/rc.local中重启就又不好用了!

[ 本帖最后由 duanxiaoyu 于 2009-7-10 15:20 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2009-07-15 21:58 |只看该作者
看错误提示:unable to lock directory /var/log/qmail

1。该目录权限
2。该目录属qmail组么?
3。/service/qmail-send 连接的脚本权限、属主

论坛徽章:
0
9 [报告]
发表于 2009-07-23 18:04 |只看该作者
非常感谢大家的帮忙   问题已经找到   是vpopmailctl 的问题!

尤其感谢大麻 ruochen 和yoursmile 的帮助  谢了~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP