1

Topic: Empty mysql database after installation

Dear ZHB

Using CentOs 6.5 and IRedmail 0.9.2 (fresh installtion).Installation done multiple times bcoz of below error.

getting ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

As per your advise ,Tried everything but stiill getting same error.

Please find the runtime log & hosts file


/etc/hosts
#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

127.0.0.1   MX1.abc.in abc localhost localhost.localdomain

::1         localhost localhost.localdomain

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Empty mysql database after installation

No attachment for runtime log?

I suggest installing iRedMail on a fresh and minimal CentOS server.

3 (edited by bijuedathodi 2015-06-26 18:17:31)

Re: Empty mysql database after installation

Please find the run time log. iam using CentOs 6.5 minimal install

4

Re: Empty mysql database after installation

Some issues:

*) Looks like you're reinstalling iRedMail on this server. This is not gonna work, you must reinstall server OS then install iRedMail. Remember, iRedMail requires a fresh/clean/new server OS, and do not install iRedMail again on server.

*) While restarting OpenLDAP service, it uses the wrong script.

 + < DEBUG > Service control: stop /etc/init.d/slapd.
/root/iRedMail-0.9.2/conf/core: line 338: /etc/init.d//etc/init.d/slapd: No such file or directory

Turns out this is a bug in iRedMail-0.9.2, it might be the root cause.

I uploaded a patched iRedMail-0.9.2 moment ago, so i suggest reinstalling server OS, download iRedMail-0.9.2, then install iRedMail. Download iRedMail here: https://bitbucket.org/zhb/iredmail/downloads

5

Re: Empty mysql database after installation

Dear ZHB

Solved 'Access Denied Error using password (YES)'.
It was due to the presence of special character in mysql password (#).
Bydefault iredmail not accepts special character in passwd

6

Re: Empty mysql database after installation

Looks like the warning message in iRedMail installation wizard doesn't help in this case, although it explicitly mentions '$', '#' are not allowed.

I updated iRedMail moment ago to ensure '$#' not in password:
https://bitbucket.org/zhb/iredmail/comm … at=default