1

Topic: Fail install 0.9.2 from clean server

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version:  ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: 
========


I ask to forgive for my bad English.

At the iRedMail-0.9.2 installation on "pure, fresh" the ubuntu 14.04 server, at the very end of installation there is a mistake

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Create self-signed SSL certification files (2048 bits).
[ INFO ] Generate a strong, unique Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system account: vmail, iredadmin, iredapd.
[ INFO ] Configure Apache web server and PHP.
[ INFO ] Configure PHP.
[ INFO ] Configure MySQL database server.
[ INFO ] Setup daily cron job to backup SQL databases: /var/vmail/backup/backup_mysql.sh
[ INFO ] Configure Postfix (Message Transfer Agent).
[ INFO ] Configure Cluebringer (postfix policy server).
[ INFO ] Configure Dovecot (pop3/imap/managesieve server).
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure iRedAdmin (official web-based admin panel).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[ INFO ] Configure Fail2ban (authentication failure monitor).
[ INFO ] Configure Roundcube webmail.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[ INFO ] Configure Awstats (logfile analyzer for mail and web server).

*************************************************************************
* iRedMail-0.9.2 installation and configuration complete.
*************************************************************************


In former releases of such mistake wasn't.

Prompt please in what there can be a problem? It is a problem of ubuntu, or your package?

Prompt where to look to reveal a mistake.

----

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

2

Re: Fail install 0.9.2 from clean server

maksvm wrote:

[ INFO ] Configure MySQL database server.
[ INFO ] Setup daily cron job to backup SQL databases: /var/vmail/backup/backup_mysql.sh
...
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

It's weird that setting up MYSQL itself is ok, but import SQL database doesn't work.

Any error message in file iRedMail-0.9.2/runtime/install.log?

3

Re: Fail install 0.9.2 from clean server

There is here such mistake

___________________________________________________________________________________________________________
[ INFO ] Configure Awstats (logfile analyzer for mail and web server).                                                                     
+ < DEBUG > Generate apache config file for awstats: /etc/apache2/conf-available/awstats.conf.                                             
+ < DEBUG > Setup user auth for awstats: /etc/apache2/conf-available/awstats.conf.                                                         
[Wed Jul 29 17:24:29.666517 2015] [proxy:warn] [pid 32183] AH01146: Ignoring parameter 'retry=60' for worker 'h_ttp://127.0.0.1:20000/SOGo' b
ecause of worker sharing                                                                                                                   
[Wed Jul 29 17:24:29.666610 2015] [proxy:warn] [pid 32183] AH01146: Ignoring parameter 'connectiontimeout=5' for worker 'h_ttp://127.0.0.1:20
000/SOGo' because of worker sharing                                                                                                         
[Wed Jul 29 17:24:29.666616 2015] [proxy:warn] [pid 32183] AH01146: Ignoring parameter 'timeout=360' for worker 'http://127.0.0.1:20000/SOGo
' because of worker sharing                                                                                                                 
AH00526: Syntax error on line 230 of /etc/apache2/apache2.conf:                                                                             
Invalid command 'Auth_MySQL_Info', perhaps misspelled or defined by a module not included in the server configuration                       
Enabling module cgi.                                                                                                                       
To activate the new configuration, you need to run:                                                                                         
  service apache2 restart
___________________________________________________________________________________________________________

Just in case - in attache - all log

Post's attachments

new.txt 28.01 kb, 1 downloads since 2015-07-31 

You don't have the permssions to download the attachments of this post.

4

Re: Fail install 0.9.2 from clean server

This Apache error doesn't impact SQL server, we can come back to check this issue after solving MySQL issue.

Can you start MySQL service manually?

5 (edited by maksvm 2015-08-06 01:20:45)

Re: Fail install 0.9.2 from clean server

Hello! As I understand it - you have altered the installation package . At the moment, all is well established .

Thank you for your quick response !

The issue can be closed.