ZhangHuangbin 写道:

需要在 /etc/openldap/slapd.conf 里将 loglevel 设置为 256,重启后才有日志信息:

loglevel 256

Hi ,谢谢老大的回复
证书的问题能不能给点提示?

openldap server 不记录 ldap client connect log,


tail -f /var/log/openldap.log
Dec 10 12:23:12 mail slapd[4487]: @(#) $OpenLDAP: slapd 2.3.43 (Nov 29 2010 03:44:52) $     mockbuild@builder10.centos.org:/builddir/build/BUILD/openldap-2.3.43/openldap-2.3.43/build-servers/servers/slapd
Dec 10 12:29:10 mail slapd[4590]: @(#) $OpenLDAP: slapd 2.3.43 (Nov 29 2010 03:44:52) $     mockbuild@builder10.centos.org:/builddir/build/BUILD/openldap-2.3.43/openldap-2.3.43/build-servers/servers/slapd

/etc/syslog.conf
local4.*                                               /var/log/openldap.log

restart syslogd
restart ldap

不管用

老大,是不是 free version 功能在 CentOS上不能用?
昨天发的 证书的问题也没有给点提示

想 test 一下iredmail, 不会这么差吧!!!!

访问 https://hostname/iredadmin 出现 CA 证书 error


# tail -f /etc/httpd/logs/ssl_error_log
[Wed Dec 08 18:09:39 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:09:43 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:09:50 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:24:15 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 08 18:24:17 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

[Wed Dec 08 18:24:23 2010] [error] [client 192.168.1.202] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:54:26 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 08 18:54:26 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

已经试了在 /etc/httpd/conf.d/iredadmin.conf 打开
WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/
Alias /iredadmin/static /var/www/iredadmin/static/
不管用


iredadmin 的 CA 证书 是/etc/pki/tls/certs/iRedMail_CA.pem?
如何生成新的 CA 证书?
在source code 的那个dir 下有相关的sh

有什么好的解决方法?
在线等

ZhangHuangbin 写道:
brad.qin 写道:

在/etc/httpd/logs
ssl_access_log,ssl_error_log
都没有记录!!!

应该是 /var/log/httpd/ 吧


/etc/httpd/logs  link to /var/log


# tail -f /etc/httpd/logs/ssl_error_log
[Wed Dec 08 18:09:39 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:09:43 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:09:50 2010] [error] [client 192.168.1.202] Directory index forbidden by Options direct             ive: /var/www/html/
[Wed Dec 08 18:24:15 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 08 18:24:17 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)


[Wed Dec 08 18:24:23 2010] [error] [client 192.168.1.202] File does not exist: /var/www/favicon.ico
[Wed Dec 08 18:54:26 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Dec 08 18:54:26 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)


有什么好的解决方法?
在线等

刚在CentOS5.5  上 Install iRedMail-0.6.1 , database 是 LDAP

https://hostname/iredadmin/
在/etc/httpd/logs
ssl_access_log,ssl_error_log
都没有记录!!!

请问如何解决?

另外如果想添加1个Virtual domain (default 是 iredmail.org),必须通过iredadmin吗?