Topic: Freebsd 11.1 install problems. Notes.
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====System:
-FreeBSD mx.testlab.domain 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
- no jails
- vmware
Config-file:
export STORAGE_BASE_DIR='/var/vmail'
export WEB_SERVER='NGINX'
export BACKEND_ORIG='PGSQL'
export BACKEND='PGSQL'
export VMAIL_DB_BIND_PASSWD='XXXXXXXXX'
export VMAIL_DB_ADMIN_PASSWD='XXXXXXXXX'
export PGSQL_ROOT_PASSWD='XXXXXXXXX'
export FIRST_DOMAIN='testlab.domain'
export DOMAIN_ADMIN_PASSWD_PLAIN='XXXXXXXXX'
export USE_IREDADMIN='YES'
export USE_ROUNDCUBE='YES'
export USE_AWSTATS='YES'
export AMAVISD_DB_PASSWD='XXXXXXXXX'
export IREDADMIN_DB_PASSWD='XXXXXXXXX'
export RCM_DB_PASSWD='XXXXXXXXX'
export SOGO_DB_PASSWD='XXXXXXXXX'
export SOGO_SIEVE_MASTER_PASSWD='XXXXXXXXX'
export IREDAPD_DB_PASSWD='XXXXXXXXX
So - Had a few hours to kill, so I thought I would spend some time installing a brand new iredmail-server, and later migrate. I did not finish, but will look at it again later. But my observations so far.
1. Grabing the tar-ball onto a fresh FreeBSD install would give an issue with unknown certificates from download-site.
/usr/ports/ca_root_nss would most likely fix this. But I just pulled the tarball adding '--no-verify-peer' to the fetch command.
2. Dovecot version1 is removed from ports, and dovecot2 is now just dovecot.
I just made a temp. symlink, in 'usr/ports/mail' so that dovecot2 becomes dovecot.
3. ClamAV portinstall fails.
============================================================================
Testsuite summary for ClamAV 0.99.2
============================================================================
# TOTAL: 13
# PASS: 6
# SKIP: 6
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See unit_tests/test-suite.log
Please report to http://bugs.clamav.net/
============================================================================
gmake[4]: *** [Makefile:1070: test-suite.log] Error 1
gmake[4]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.99.2/unit_tests'
gmake[3]: *** [Makefile:1178: check-TESTS] Error 2
gmake[3]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.99.2/unit_tests'
gmake[2]: *** [Makefile:1333: check-am] Error 2
gmake[2]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.99.2/unit_tests'
gmake[1]: *** [Makefile:738: check-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.99.2'
*** Error code 2
Stop.
make: stopped in /usr/ports/security/clamav
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.
I have no clue as to why this fails. '/usr/ports/security/clamav/work/clamav-0.99.2/unit_tests/test-suite.log' contains this:
FAIL: check_clamav
==================
Using default test timeout; alter by setting 'T' env var (in seconds)
Running suite(s): cl_api
cli
jsnorm
str
regex
disasm
unique
matchers
htmlnorm
bytecode
99%: Checks: 987, Failures: 2, Errors: 0
check_bytecode.c:128:F:arithmetic:test_inflate_jit:0: cli_bytecode_run failed, expected: 0, have: 28
check_bytecode.c:128:F:arithmetic:test_inflate_int:0: cli_bytecode_run failed, expected: 0, have: 28
I will check with the ports-maintainer, but this looks like a new bug.
/Nykaer
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.