免费注册 查看新帖 |

Chinaunix

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

[Mail] qmail 为什么会出现这种错误,并不影响正常的邮件接收 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-01 16:17 |只看该作者 |倒序浏览
之前曾经做过清空队列的操做:find /var/qmail/queue/ -type f -a -name [1-9]* -exec rm {} \;
/var/log/qmail/current 的日志
2006-02-01 16:08:23.066648500 warning: trouble opening local/18/25686; will try again later
2006-02-01 16:08:39.066645500 warning: trouble opening local/7/25698; will try again later
2006-02-01 16:08:46.066626500 warning: trouble opening local/3/25694; will try again later
2006-02-01 16:09:07.066646500 warning: trouble opening local/19/25733; will try again later
2006-02-01 16:09:16.066624500 warning: trouble opening local/17/25685; will try again later
2006-02-01 16:10:27.066643500 warning: trouble opening local/18/25686; will try again later
2006-02-01 16:10:43.066643500 warning: trouble opening local/7/25698; will try again later
2006-02-01 16:10:50.066627500 warning: trouble opening local/3/25694; will try again later
2006-02-01 16:11:11.066646500 warning: trouble opening local/19/25733; will try again later
2006-02-01 16:11:20.066622500 warning: trouble opening local/17/25685; will try again later
2006-02-01 16:12:31.066649500 warning: trouble opening local/18/25686; will try again later
2006-02-01 16:12:47.066644500 warning: trouble opening local/7/25698; will try again later
2006-02-01 16:12:54.066619500 warning: trouble opening local/3/25694; will try again later
2006-02-01 16:13:15.066643500 warning: trouble opening local/19/25733; will try again later
2006-02-01 16:13:24.066616500 warning: trouble opening local/17/25685; will try again later
2006-02-01 16:14:35.066644500 warning: trouble opening local/18/25686; will try again later
2006-02-01 16:14:51.066643500 warning: trouble opening local/7/25698; will try again later

论坛徽章:
0
2 [报告]
发表于 2006-02-01 22:21 |只看该作者
操作前QMAIL STOP
之后再QMAIL START
还有吗

论坛徽章:
0
3 [报告]
发表于 2006-02-04 22:53 |只看该作者
用qmail-fix修复一下吧!

论坛徽章:
0
4 [报告]
发表于 2006-02-05 14:07 |只看该作者
编译queue-fix 时出错,看不懂是什么意思
[root@orclrac queue-fix-1.4]# make
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ./compile trydrent.c >/dev/null 2>&1 \
&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
rm -f trydrent.o
( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
2>&1 \
&& echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
rm -f trymkffo.o trymkffo
./compile queue-fix.c
./compile fifo.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile fmt_str.c
./compile fmt_strn.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile scan_8long.c
./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o scan_ulong.o scan_8long.o
./compile stralloc_eady.c
./compile stralloc_pend.c
./compile stralloc_copy.c
./compile stralloc_opys.c
./compile stralloc_opyb.c
./compile stralloc_cat.c
./compile stralloc_cats.c
./compile stralloc_catb.c
./compile stralloc_arts.c
./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
stralloc_cat.o stralloc_cats.o stralloc_catb.o \
stralloc_arts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile open_append.c
./compile open_excl.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile subfdout.c
./compile subfdouts.c
./compile subfdin.c
./compile subfdins.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
substdio_copy.o
./compile alloc.c
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./compile str_len.c
./compile str_diff.c
./compile str_diffn.c
./compile str_cpy.c
./compile str_chr.c
./compile str_rchr.c
./compile str_start.c
./compile byte_chr.c
./compile byte_rchr.c
./compile byte_diff.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_zero.c
./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
byte_diff.o byte_copy.o byte_cr.o byte_zero.o
./load queue-fix fifo.o fs.a stralloc.a getln.a open.a error.a \
substdio.a alloc.a str.a
queue-fix.o(.text+0x194): In function `check_item':
: undefined reference to `errno'
queue-fix.o(.text+0x411): In function `check_item':
: undefined reference to `errno'
queue-fix.o(.text+0x653): In function `check_item':
: undefined reference to `errno'
queue-fix.o(.text+0xc62): In function `rename_mess':
: undefined reference to `errno'
substdio.a(substdi.o)(.text+0x2c): In function `oneread':
: undefined reference to `errno'
substdio.a(substdo.o)(.text+0x43): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [queue-fix] Error 1

论坛徽章:
0
5 [报告]
发表于 2006-02-05 14:26 |只看该作者
网上搜了一下,修改一下error.h 编译成功了。

sed -i 's/^extern int errno;/#include <errno.h>/' error.h
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP