请问你说的Roundcube 配置文件是这两个么?
/usr/share/apache2/roundcubemail/config/main.inc.php
/usr/share/apache2/roundcubemail/config/db.inc.php
能否详细说一下哪些需要修改?
按照自己的理解修改后登陆网页webmail出现如下错误日志:
Dec 19 13:57:34 mail roundcube: DB Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) in /usr/share/apache2/roundcubemail-0.9.5/program/lib/Roundcube/rcube_db.php on line 154 (GET /mail/)
Dec 19 13:57:34 mail roundcube: DB Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) (GET /mail/)
其中,netstat -lntp查看信息如下:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 9044/dovecot
tcp 0 0 127.0.0.1:7777 0.0.0.0:* LISTEN 1899/python
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 9044/dovecot
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 9106/amavisd (maste
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 8823/master
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 8823/master
tcp 0 0 127.0.0.1:9998 0.0.0.0:* LISTEN 9106/amavisd (maste
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 9044/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 9044/dovecot
tcp 0 0 127.0.0.1:10031 0.0.0.0:* LISTEN 2054/perl
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4092/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 588/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 8823/master
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 9044/dovecot
tcp6 0 0 :::993 :::* LISTEN 9044/dovecot
tcp6 0 0 :::995 :::* LISTEN 9044/dovecot
tcp6 0 0 ::1:3306 :::* LISTEN 8852/mysqld
tcp6 0 0 :::587 :::* LISTEN 8823/master
tcp6 0 0 :::110 :::* LISTEN 9044/dovecot
tcp6 0 0 :::143 :::* LISTEN 9044/dovecot
tcp6 0 0 :::80 :::* LISTEN 8670/apache2
tcp6 0 0 ::1:631 :::* LISTEN 588/cupsd
tcp6 0 0 :::25 :::* LISTEN 8823/master
tcp6 0 0 :::443 :::* LISTEN 8670/apache2
tcp6 0 0 :::4190 :::* LISTEN 9044/dovecot
其它还有什么地方需要修改 注意的么?
谢谢!