1 最后由 Sureway (2012-04-18 00:39:05) 编辑

主题: 刚安装完成的系统Roundcube Webmail 无法登陆

看着像是数据库连接问题?
本地访问数据库是正常的,LDAP访问也很正常。。

新手 ,不好意思。。

==== 提供基本信息便于分析问题并得到快速回复 ====
- iRedMail 版本:0.7.4
- 使用的 Linux/BSD 发行版名称及版本号:centos 5.4
- 与您的问题相关的日志信息:
Apr 17 11:28:42 tianyouxiang roundcube: MDB2 Error: insufficient permissions (-27): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
Apr 17 11:28:42 tianyouxiang roundcube: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]  ** mysqli(mysqli)://roundcube:xxx@127.0.0.1/roundcubemail in /var/www/roundcubemail-0.5.4/program/include/rcube_mdb2.php on line 101 (GET /webmail/)
Apr 17 11:28:42 tianyouxiang roundcube: MDB2 Error: insufficient permissions (-27): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
Apr 17 11:28:42 tianyouxiang roundcube: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]  ** mysqli(mysqli)://roundcube:xxx@127.0.0.1/roundcubemail in /var/www/roundcubemail-0.5.4/program/include/rcube_mdb2.php on line 101 (GET /webmail/)
Apr 17 11:28:42 tianyouxiang roundcube: MDB2 Error: insufficient permissions (-27): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
Apr 17 11:28:42 tianyouxiang roundcube: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)] [Native code: 1045] [Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]  ** mysqli(mysqli)://roundcube:xxx@127.0.0.1/roundcubemail in /var/www/roundcubemail-0.5.4/program/include/rcube_mdb2.php on line 101 (GET /webmail/)

====
安装过程LOG :

Complete!
< INFO > ---- Start iRedMail Configurations ----
< INFO > Create SSL certification files.
< INFO > Configure User/Group: vmail.
< INFO > Configure Apache web server and PHP.
< INFO > Configure OpenLDAP server.
config file testing succeeded
ldap_bind: Can't contact LDAP server (-1)
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure Postfix.
< INFO > Configure Policyd (postfix policy server, version 1.8).
groupadd: group policyd exists
useradd: user policyd exists
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure Dovecot (pop3/imap server).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure Roundcube webmail.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure phpLDAPadmin (web-based LDAP management tool).
< INFO > Configure iRedAdmin (official web-based admin panel).
useradd: user iredadmin exists
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure iRedAPD (postfix policy daemon).
useradd: user iredapd exists

*************************************************************************
* iRedMail-0.7.4 installation and configuration complete.
*************************************************************************

< INFO > Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules shipped within iRedMail now?
< Question > File: /etc/sysconfig/iptables, with SSHD port: 22. [Y|n]