1

Topic: FreeBSD 10.1 -- Not a supported Operating System...

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

Website and documentation says that FreeBSD 10.x is supported, but running the script yields:

********* ERROR *********
Release version of the operating system on this server is unsupported by
iRedMail, please access below link to get the latest iRedMail and a list
of supported Linux/BSD distributions and release versions.

http://www.iredmail.org/download.html

*************************

----

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

2

Re: FreeBSD 10.1 -- Not a supported Operating System...

Could you please show me output of below commands?

# uname -s
# uname -r

3

Re: FreeBSD 10.1 -- Not a supported Operating System...

uname -s
FreeBSD
uname -r
10.1-RELEASE-p10

4

Re: FreeBSD 10.1 -- Not a supported Operating System...

Actual issue was that bash was not installed. Installed it and the script started right up.

A Note as well, pkg_add no longer exists. it is just pkg now.

shushs wrote:

uname -s
FreeBSD
uname -r
10.1-RELEASE-p10

5

Re: FreeBSD 10.1 -- Not a supported Operating System...

iRedMail identifies FreeBSD OS with 'uname -s', and detects its release version with 'uname -r'. But it just marks FreeBSD 7.x, 8.x as unsupported releases, not 9.x or 10.x. I'm a little confused.

Could you please try this patch for iRedMail-0.9.2 and run 'iRedMail.sh' again?

diff -r fb60b831674a iRedMail/conf/global
--- a/iRedMail/conf/global    Thu Jun 25 11:05:47 2015 +0800
+++ b/iRedMail/conf/global    Sun Jun 28 09:53:48 2015 +0800
@@ -227,6 +227,8 @@
 #
 # UNSUPPORTED_RELEASE will be set to 'YES' if current Linux/BSD release is
 # an old release and unsupported anymore.
+export UNSUPPORTED_RELEASE='NO'
+
 if [ X"${KERNEL_NAME}" == X'LINUX' ]; then
     # Directory of RC scripts.
     export DIR_RC_SCRIPTS='/etc/init.d'

6

Re: FreeBSD 10.1 -- Not a supported Operating System...

The problem was with the shell. Bash was not installed. I took a look at the first line of the iRedmail.sh script. After I installed bash, everything ran fine.

ZhangHuangbin wrote:

iRedMail identifies FreeBSD OS with 'uname -s', and detects its release version with 'uname -r'. But it just marks FreeBSD 7.x, 8.x as unsupported releases, not 9.x or 10.x. I'm a little confused.

Could you please try this patch for iRedMail-0.9.2 and run 'iRedMail.sh' again?

diff -r fb60b831674a iRedMail/conf/global
--- a/iRedMail/conf/global    Thu Jun 25 11:05:47 2015 +0800
+++ b/iRedMail/conf/global    Sun Jun 28 09:53:48 2015 +0800
@@ -227,6 +227,8 @@
 #
 # UNSUPPORTED_RELEASE will be set to 'YES' if current Linux/BSD release is
 # an old release and unsupported anymore.
+export UNSUPPORTED_RELEASE='NO'
+
 if [ X"${KERNEL_NAME}" == X'LINUX' ]; then
     # Directory of RC scripts.
     export DIR_RC_SCRIPTS='/etc/init.d'

7

Re: FreeBSD 10.1 -- Not a supported Operating System...

So you didn't follow our installation tutorial strictly:
http://www.iredmail.org/docs/install.ir … y-iredmail