主题: 安装iredapd 1.3.3问题
我用的是0.4的版本,系统是 centos 5.2,安装iredapd 1.3.3来做权限控制,安装的时候用的是mysql,安装后来做权限控制,安装的时候用的是mysql,安装完成后无法启动,日志中也没有出错信息,请版本帮看看,谢谢!
我的配置文件如下:
[root@mail etc]# cat iredapd.ini
[general]
# Listen address and port.
listen_addr = 127.0.0.1
listen_port = 7777
# Run as a low privileged user.
# If you don't want to create one, you can try 'nobody'.
run_as_user = iredapd
# Background/daemon mode: yes, no.
# Detach iredapd from terminal. It's recommended to always running as daemon.
run_as_daemon = yes
# Path to pid file.
pid_file = /var/run/iredapd.pid
# Log type: file.
# Set 'log_file = /dev/null' if you don't want to keep the log.
log_type = file
log_file = /var/log/iredapd.log
# Log level: info, warning, error, debug.
# 'info' is recommended for product use. sample log entry:
# INFO user@domain.ltd -> list@domain.ltd, DUNNO
log_level = debug
# Backend: ldap, mysql.
backend = mysql
[ldap]
# For ldap backend only.
# LDAP server setting.
# Uri must starts with ldap:// or ldaps:// (TLS/SSL).
#
# Tip: You can get binddn, bindpw from /etc/postfix/ldap_*.cf.
#
#uri = ldap://127.0.0.1:389
#binddn = cn=vmail,dc=iredmail,dc=org
#bindpw = mRAEWpGRtlCs1O0QuWpXoaJ36EjRql
#basedn = o=domains,dc=iredmail,dc=org
# Enabled plugins.
# - Plugin name is file name which placed under 'src/plugins/' directory.
# - Plugin names MUST be seperated by comma.
#plugins = ldap_maillist_access_policy
[mysql]
# For MySQL backend only.
server = 127.0.0.1
db = vmail
user = root
password = youxia1q2w
#alias_table = alias
# Enabled plugins.
# - Plugin name is file name which placed under 'src/plugins/' directory.
# - Plugin names MUST be seperated by comma.
plugins = sql_alias_access_policy
故障部分:
[root@mail etc]# /etc/init.d/iredapd stop
iredapd is already stopped.
[root@mail etc]# /etc/init.d/iredapd start
Starting iredapd ...
[root@mail etc]# /etc/init.d/iredapd status
iredapd is stopped.
[root@mail etc]# tail -f /var/log/iredapd.log
2010-09-14 16:46:20 DEBUG Setting umask
2010-09-14 16:46:20 DEBUG Changing working directory to "/"
2010-09-14 16:46:20 DEBUG Redirecting file descriptors
2010-09-14 16:47:36 INFO Starting iredapd (v1.4.0, pid: 31733), listening on 127.0.0.1:7777.
2010-09-14 16:47:36 DEBUG Forking first child.
2010-09-14 16:47:36 DEBUG Creating new session
2010-09-14 16:47:36 DEBUG Forking second child.
2010-09-14 16:47:36 DEBUG Setting umask
2010-09-14 16:47:36 DEBUG Changing working directory to "/"
2010-09-14 16:47:36 DEBUG Redirecting file descriptors