Topic: Installation poblem on FreeBSD 10.3
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Freebsd 10.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx/Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
[ INFO ] Configure MySQL database server.
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ERROR 1130 (HY000): Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server
ls
[ INFO ] Configure MySQL database server.
+ < DEBUG > Initialize MySQL server.
+ < DEBUG > Stop MySQL service before updating my.cnf.
mysql_enable: -> YES
mysql_optfile: -> /usr/local/etc/mysql/my.cnf
+ < DEBUG > Disable 'skip-networking' in my.cnf.
+ < DEBUG > Enable 'innodb_file_per_table' in my.cnf.
mysql not running? (check /var/db/mysql/jail2.freebsd.mynet.pid).
+ < DEBUG > Sleep 10 seconds for MySQL daemon initialization ...
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
^Gmysqladmin: connect to server at '10.1.2.202' failed
error: 'Host 'jail2.freebsd.mynet' is not allowed to connect to this MySQL server'
+ < DEBUG > Generate defauts file for MySQL client option --defaults-file: /root/.my.cnf.
+ < DEBUG > Delete anonymous database user.
+ < DEBUG > Generate sample SQL templates.
+ < DEBUG > Create database: vmail.
+ < DEBUG > Initialize database: vmail.
+ < DEBUG > Add first domain and postmaster@ user.
[ INFO ] Setup daily cron job to backup SQL databases with /var/vmail/backup/backup_mysql.sh
====
Hello,
I am facing strange problem while installing iRedMail on FreeBSD 10.3 server. I tried the installation process on two different servers but it's the same on both.
Installation fails in two moments:
1.
7 warnings and 6 errors generated.
gmake[3]: *** [GNUmakefile:132: freebsd10.3/C/rs/arj/decode.o] Error 1
gmake[3]: Leaving directory '/var/ports/basejail/usr/ports/archivers/arj/work/arj-3.10.22'
gmake[2]: *** [GNUmakefile:169: all] Error 2
gmake[2]: Leaving directory '/var/ports/basejail/usr/ports/archivers/arj/work/arj-3.10.22'
*** Error code 1
Stop.
make[1]: stopped in /basejail/usr/ports/archivers/arj
*** Error code 1
Stop.
make: stopped in /basejail/usr/ports/security/amavisd-new
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.
This looks more like some problem with Freebsd ports but it happens on both machines.
2.
Second error is at the end of installation process while initializing MySQL database.
It look like setup cannot connect to the server.
Of course, I used LOCAL_ADDRESS parameter
Could you please tell me what's going on? Last time I installed iRedMail, it was on FreeBSD 10.2 without any problem.
Is there any logfile I should send?
Thanks a lot in advance.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.