1 (edited by sostacked 2012-01-20 00:12:08)

Topic: [SOLVED] Install iRedMail on Centos 5.7 VPS

I'd like to install iRedMail 0.74 on my OpenVZ VPS running Centos 5.7. I realize that the best install is one on a fresh system
but my VPS already came with apache, mysql, etc. Since I don't have anything relevant on it, I would gladly uninstall anything that presents a problem. Does someone maybe have a list of stuff I should remove?

I've tried running the uninstall script thus removing anything that would've been installed but my subsequent install fails because of this:

< INFO > ---- Start iRedMail Configurations ----
< INFO > Create SSL certification files.
< INFO > Configure User/Group: vmail.
< INFO > Configure Apache web server and PHP.
Can't open /etc/httpd/conf.d/wsgi.conf: No such file or directory.
< INFO > Configure OpenLDAP server.
grep: /etc/openldap/slapd.conf: No such file or directory
cp: cannot stat `/etc/openldap/DB_CONFIG.example': No such file or directory
could not stat config file "/etc/openldap/schema/core.schema": No such file or directory (2)
slaptest: bad configuration file!
ldap_bind: Can't contact LDAP server (-1)

Full log is attached.

EDIT: Just found this http://www.iredmail.org/forum/topic2688 … ailsh.html and this uninstall script cleaned out some stuff the original didn't. I'm gonna try installing now and report.

EDIT II: Yeah, that did it. So if someone needs to get rid of all the stuff that's already on your server, here are my tips:

- disable all repo's except official CentOS ones.
- use bash clear_iredmail.sh from the above link
- in case you have a failed install, delete config and .iRedMail.installation.status
- cd pkgs then bash get_all.sh
- cd .. then bash iRedMail.sh
- use bash for running scripts, not sh

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: Centos 5.7
- iRedMail version and backend (LDAP/MySQL): LDAP
- Any related log? Log is helpful for troubleshooting. Attached
====

----

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