1 最后由 rain6966 (2017-03-14 13:11:59) 编辑

主题: openldap 備份錯誤

==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):P-2.7.0 (LDAP)
- 使用的 Linux/BSD 发行版名称及版本号:CentOS7 Nginx
- 与您的问题相关的日志信息:
====
58c6ec31 mdb_monitor_db_open: monitoring disabled; configure monitor database to enable
* Starting backup at 2017-03-14-03-00-01
* Backup directory: /var/vmail/backup/ldap/2017/03.
* Dumping LDAP data into file: /var/vmail/backup/ldap/2017/03/2017-03-14-03-00-01.ldif...
* Compressing LDIF file with command: 'bzip2 -9' ...
* [DONE]
* Removing plain LDIF file: /var/vmail/backup/ldap/2017/03/2017-03-14-03-00-01.ldif...    [DONE]
ERROR 1045 (28000): Access denied for user 'iredadmin'@'localhost' (using password: YES)
* File size:
=================
4.0K    /var/vmail/backup/ldap/2017/03/2017-03-14-03-00-01.ldif.bz2
=================
* [ OK ] Backup completes successfully.

/root/.my.cnf
[client]
user=root
password="xxxxxxxxxxxx"

重啟動 mariadb ;
錯誤消失

此post 可關閉