LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 753|回复: 6

安装qmail时,current日志提示chdir_err

[复制链接]
发表于 2004-11-30 14:26:02 | 显示全部楼层 |阅读模式
在var/log/qmail/current中
delivery 32:deferral:unable_to_chdir_to_maildir._(#4.2.1)
locate 0/10 remote 0/20

提到的maildir是在什么主方指定的?defaultdelivery文件吗?
我这个文件的内容是   
./Maildir/

请问是什么原因,谢谢
发表于 2004-11-30 14:31:24 | 显示全部楼层
1.确认/home/vpopmail/domains/目录下的.qmail-XX文件权限,应该为600
2.确认/var/qmail/bin/qmail-queue的权限,应该为4755
3.出现此种问题之前是否正常?有做过什么动作?安装了哪些软件?
 楼主| 发表于 2004-11-30 17:23:41 | 显示全部楼层
1.确认/home/vpopmail/domains/目录下的.qmail-XX文件权限,应该为600
2.确认/var/qmail/bin/qmail-queue的权限,应该为4755
3.出现此种问题之前是否正常?有做过什么动作?安装了哪些软件?

1.还没有安装vpopmail
2.改过来了
3.因为安装时没有带资料,是在出错后改过来得,有文件权限或没有这个目路的错误
发现没有tcpserver,才最后安装了ucspi-tcp-0.88-006patch.i386.rpm
因为以下文件不能编译, 才下了个rpm包安装

ucspi-tcp-0.88.a_record.patch
ucspi-tcp-0.88.errno.patch
ucspi-tcp-0.88.nobase.patch
ucspi-tcp-0.88.tar.gz

==================================================
现在的情况是
/var/log/qmail的权限是qmaill.root,对吗?还是root.root or qmaill.nofiles
qmailctl queue列出有9个,但目前没有有被处理过的
 楼主| 发表于 2004-11-30 17:27:27 | 显示全部楼层
安装vpopmail
http://www.linuxsir.cn/forum.php ... ql认证./configure --enable...
提示没有mysql include目录,然后新建了一个,通过了
但make是出错


make  all-recursive
make[1]: Entering directory `/root/qmail/vpopmail-5.4.7'
Making all in cdb
make[2]: Entering directory `/root/qmail/vpopmail-5.4.7/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/qmail/vpopmail-5.4.7/cdb'
make[2]: Entering directory `/root/qmail/vpopmail-5.4.7'
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c
vauth.c:33:19: mysql.h: 没有那个文件或目录
vauth.c:40: parse error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data subscripted value is neither array nor pointer
vauth.c:474: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setquota':
vauth.c:597: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getall':
vauth.c:635: warning: format argument is not a pointer (arg 3)
vauth.c:639: warning: assignment makes pointer from integer without a cast
vauth.c:661: warning: comparison between pointer and integer
vauth.c:662: subscripted value is neither array nor pointer
vauth.c:1459: subscripted value is neither array nor pointer
vauth.c: In function `vset_limits':
vauth.c:1511: warning: format argument is not a pointer (arg 3)
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/root/qmail/vpopmail-5.4.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qmail/vpopmail-5.4.7'
make: *** [all] Error 2


请问是哪里错了?谢谢
发表于 2004-11-30 18:20:40 | 显示全部楼层
我网站上有一篇手记,你要不照着安装吧。
 楼主| 发表于 2004-11-30 18:33:12 | 显示全部楼层
好的
先把服务器装上再说啦
再慢慢研究~~~~~~~~~
thanQ
 楼主| 发表于 2004-12-1 08:34:39 | 显示全部楼层
最初由 我为谁狂 发表
安装vpopmail
make  all-recursive
make[1]: Entering directory `/root/qmail/vpopmail-5.4.7'
Making all in cdb
make[2]: Entering directory `/root/qmail/vpopmail-5.4.7/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/qmail/vpopmail-5.4.7/cdb'
make[2]: Entering directory `/root/qmail/vpopmail-5.4.7'
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c
vauth.c:33:19: mysql.h: 没有那个文件或目录
vauth.c:40: parse error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data subscripted value is neither array nor vauth.c:1511: warning: format argument is not a pointer (arg 3)
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/root/qmail/vpopmail-5.4.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qmail/vpopmail-5.4.7'
make: *** [all] Error 2

==========================
用locate找不到这个文件mysql.h
然后在redhat安装盘中看mysql-server没有安装,以至没有mysql.h文件
装好就能顺利make

现在能顺利用outlook 收发邮件

在./configurecourier-imap时是不是要很久啊?我以为他在重复工作,make时才发现不是
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表