1 (edited by zhu40k 2015-12-14 22:01:39)

Topic: Error installation iRedMail FreeBSD 10.2

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

Hi, I haved a problem. Please help.

# ./iRedMail.sh
< SKIP > Function: check_new_iredmail.
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: http://iredmail.org/yum/misc/iRedAPD-1.7.0.tar.bz2)
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 2 of 6: http://iredmail.org/yum/misc/=
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 3 of 6: http://iredmail.org/yum/misc/b62c577aaa … 99701c7bd3
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 4 of 6: http://iredmail.org/yum/misc/iRedAdmin-0.4.3.tar.bz2)
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 5 of 6: http://iredmail.org/yum/misc/=
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 6 of 6: http://iredmail.org/yum/misc/7e15f79c8f … 67ca7c4aec
ftp: Error retrieving file `404 Not Found'
[ INFO ] Validate packages ...md5: misc/iRedAPD-1.7.0.tar.bz2: No such file or directory
md5: misc/iRedAdmin-0.4.3.tar.bz2: No such file or directory
        [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

----

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

2

Re: Error installation iRedMail FreeBSD 10.2

Run the installer with 'bash' shell please.

# bash iRedMail.sh

Different shells have different syntax, so please just follow our tutorial STRICTLY.

3

Re: Error installation iRedMail FreeBSD 10.2

ZhangHuangbin wrote:

Run the installer with 'bash' shell please.

# bash iRedMail.sh

Different shells have different syntax, so please just follow our tutorial STRICTLY.

# bash iRedMail.sh
< SKIP > Function: check_new_iredmail.
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: http://iredmail.org/yum/misc/iRedAPD-1.7.0.tar.bz2)
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 2 of 6: http://iredmail.org/yum/misc/=
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 3 of 6: http://iredmail.org/yum/misc/b62c577aaa … 99701c7bd3
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 4 of 6: http://iredmail.org/yum/misc/iRedAdmin-0.4.3.tar.bz2)
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 5 of 6: http://iredmail.org/yum/misc/=
ftp: Error retrieving file `404 Not Found'
[ INFO ] + 6 of 6: http://iredmail.org/yum/misc/7e15f79c8f … 67ca7c4aec
ftp: Error retrieving file `404 Not Found'
[ INFO ] Validate packages ...md5: misc/iRedAPD-1.7.0.tar.bz2: No such file or directory
md5: misc/iRedAdmin-0.4.3.tar.bz2: No such file or directory
        [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

4

Re: Error installation iRedMail FreeBSD 10.2

Oops, bug in iRedMail-0.9.3. Sorry about this trouble.

I fixed this and repacked it, please download it here and try again:
https://bitbucket.org/zhb/iredmail/downloads

let me know if it doesn't work.

5

Re: Error installation iRedMail FreeBSD 10.2

Not working for me.  I can't directly cut-and-paste from the virtual machine I'm trying this on, but:

pkg:  No packages availble to install matching 'pgp56-mbstring' have been found in the repositories

6

Re: Error installation iRedMail FreeBSD 10.2

snarfies wrote:

pkg:  No packages availble to install matching 'pgp56-mbstring' have been found in the repositories

"pgp56-mbstring"? It might be "php56-mbstring", but iRedMail doesn't define this package name in "functions/packages_freebsd.sh". Where did you get this error?

7 (edited by snarfies 2015-12-17 22:53:53)

Re: Error installation iRedMail FreeBSD 10.2

I wish I knew how to cut-and-paste text from Virtualbox!  It would make this easier.

Yes, its "php56-mbstring" that is causing the problem.  Scrolling up a bit, it says:

==> Fetching all distfiles required by pkgconf-0.9.12_1 for building
==>  oniguruma4-4.7.1_1 is marked as broken: unfetchable.

Making things weirder - I tried installing php56-mbstring manually, which pulled in oniguruma4-4.7.1_1 as a dependency, and iRedMail.sh STILL returns the same error.

Maybe I should just stick with Debian... sad

8

Re: Error installation iRedMail FreeBSD 10.2

Are you running with the latest ports tree? Could you please sync the ports tree and try again?

9

Re: Error installation iRedMail FreeBSD 10.2

That worked, thanks.  Sorry, still learning BSD.