Re: FreeBSD

Just want to let you know, i committed several fixes for FreeBSD, it should be ok now on FreeBSD (tested on FreeBSD 9.1, with ezjail and latest ports tree). You can check out the latest source code and try it on FreeBSD with the latest ports tree.

Re: FreeBSD

===> Installing for py27-MySQLdb-1.2.3_2===> py27-MySQLdb-1.2.3_2 depends on file: /usr/local/bin/easy_install-2.7 - found===> py27-MySQLdb-1.2.3_2 depends on file: /usr/local/bin/python2.7 - found===> Generating temporary packing list===> Checking if databases/py-MySQLdb already installed===> py27-MySQLdb-1.2.3_2 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/py-MySQLdb without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line.*** [check-already-installed] Error code 1

REINSTALLStop in /usr/ports/databases/py-MySQLdb.< ERROR > Port was not success installed, please fix it manually and then re-execute this script.root@test:~/iRedMail #

/root/iRedMail/functions/packages_freebsd.sh: line 903: cd: /usr/ports/www/mod_wsgi: No such file or directorymake: don't know how to make clean. Stopmake: don't know how to make install. Stop< ERROR > Port was not success installed, please fix it manually and then re-execute this script.root@test:~/iRedMail

Re: FreeBSD

Re: FreeBSD

Dear all,

The latest development edition works on FreeBSD now, both MySQL and PostgreSQL backends are working. But unfortunately, OpenLDAP backend doesn't work since OpenLDAP service cannot be started ("bus error: 10"). I have no idea what the problem is.

Note : if you tried to build iredmail 0.8.6 (stable) it's better to dot it again from scratch using devel version (In my case I use a virtual machine and took a snapshot before doing the install so it was simple to revert to a clean state).

Without this setting, we cannot successfully execute "/usr/local/etc/rc.d/postgresql initdb" to initialize PostgreSQL database inside Jail (it's ok without jail), it will populate files/data under /usr/local/pgsql/data/.

FreeBSD 9.1 uses 'jail_sysvipc_allow="YES"' in /etc/rc.conf, but FreeBSD 9.2 uses above one. You can try it, please let me know whether it works for you or not.

src386 wrote:

EDIT : Aw, it's simply because postgresql have issues with jails...

I always tested FreeBSD with Jail (ezjail).

src386 wrote:

EDIT : Is it possible to use pkgng istead of ports ? It could save you a lot of time with tests.

Will give it a try, i'm not yet familiar with pkgng.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

Re: FreeBSD

Thank you ZhangHuangbin.Indeed "jail_sysvipc_allow="YES"" does not work, I will try with "jail_mx_example_com_parameters".You can use jail -m jid=3 allow.sysvipc=1 (jid is the id you get with jls) and iredmail+postgresql will work. But you have to do it each time you start the jail...

pkgng is pretty simple, the problem is with the flags. For example php55 binary package does not support php-fpm. If you can have all packages + requirements with pkgng, just forget the ports, it will save you many hours...

Anyway mysql backend in a jail does not work. mysql-server is running, I can connect, but it seems there are no iredmail tables. I will try without jail.

EDIT : well there is a problem with p7zip_9.20.1, sometimes it fails to build. If I run iredmail install again, it works. That's weird.