1

Topic: installation failed, need help

Hello iRedMail Team,

i tryed to install your webserver but i got some troubles.

i tried to install iredmail, but when i supplied the install script with the mysql root password, it did not check if root was able to login. The permissions for the mysql root user didn't allow for local login. So everything in the mysql setup step failed.

I now changed the permissions for the mysql root user, so that it can login. And i would like to rerun the script, so that all mysql databases and users are properly created.

I already tried, but the install script just skips all relevant steps:

---- code
< SKIP > Function: after_package_installation.

********************************************************************
* Start iRedMail Configurations
********************************************************************
< SKIP > Function: generate_ssl_keys.
< SKIP > Function: add_required_users.
< SKIP > Function: web_server_config.
< SKIP > Function: mysql_setup.
< SKIP > Function: postfix_setup.
< SKIP > Function: dovecot_setup.
< SKIP > Function: clamav_config.
< SKIP > Function: amavisd_config.
< SKIP > Function: sa_config.
< SKIP > Function: iredapd_setup.
< SKIP > Function: iredadmin_setup.
< SKIP > Function: fail2ban_config.
< SKIP > Function: sogo_setup.
< SKIP > Function: awstats_setup.
< SKIP > Function: cleanup.
---- code

How can i let the script create all databases and DB users?


Thank you for your help :-)


==== Required information ====
- iRedMail version (check /etc/iredmail-release): latest 0.9.7
- Linux/BSD distribution name and version: 14.04 ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):apace
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

----

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

2

Re: installation failed, need help

Were you trying to install iRedMail on a server which already have MySQL running? If so, you need this tutorial instead:
http://www.iredmail.org/install.iredmai … erver.html

If it's a mess now, i'm afraid that you have to reinstall server OS first, then install iRedMail. It's a good idea to run iRedMail on a dedicate server.