1

Topic: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP):LDAP
- Linux/BSD distribution name and version: Freebsd 9.2 i386, amd 64
- Related log if you're reporting an issue:
====
Hello dear developers! Thank you for your work. The product is wonderful. 4 times trying to install on the virtual and real computers. errors:
1.
===>  Installing for p7zip-9.20.1
===>   Generating temporary packing list
===>  Checking if archivers/p7zip already installed
install -d /
cd /usr/ports/archivers/p7zip/work/p7zip_9.20.1/bin/&&install  -s -o root -g wheel -m 555 7zr /
install  -o root -g wheel -m 555 /usr/ports/archivers/p7zip/files/7z /usr/local/bin/
/bin/ln -sf 7z /usr/local/bin/7za
/bin/ln -sf 7z /usr/local/bin/7zr
install  -o root -g wheel -m 555 /usr/ports/archivers/p7zip/work/p7zip_9.20.1/contrib/gzip-like_CLI_wrapper_for_7z/p7zip /usr/local/bin/
install -d /Codecs/
install  -s -o root -g wheel -m 555 /usr/ports/archivers/p7zip/work/p7zip_9.20.1/bin/Codecs/Rar29.so /Codecs/
install: /usr/ports/archivers/p7zip/work/p7zip_9.20.1/bin/Codecs/Rar29.so: No such file or directory
*** [do-install] Error code 71

Stop in /usr/ports/archivers/p7zip.
*** [run-depends] Error code 1

Stop in /usr/ports/security/amavisd-new.
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
root@test:~/iRedMail-0.8.6 #

2.
creating 'dist/MySQL_python-1.2.3-py2.7-freebsd-9-i386.egg' and adding 'build/bdist.freebsd-9-i386/egg' to it
removing 'build/bdist.freebsd-9-i386/egg' (and everything under it)
===>  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

Stop 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-0.8.6 #

3.
ERROR 1064 (42000) at line 34 in file: '/tmp/cluebringer_init_sql.223207388': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB CHARACTER SET latin1 COLLATE latin1_bin' at line 12

Ports updated before installing iRedMail. Please inform me when the problem is fixed. With respect 3M.

----

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

2

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

usr/ports/www/mod_wsgi port does not exist. There port mod_wsgi2 with python 2.8

3

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

I tested and had the same issues, i'm afraid i have nothing can do to fix it since it's a ports issue instead of iRedMail issue. sad

Another suggestion is, if you're urgent to setup a mail server and don't mind to use other distribution, try to choose other Linux/BSD distribution supported by iRedMail if possible.

4

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

Unfortunately it is impossible to work with iReadMail many more services. Looking forward error correction. please inform me about it. Thanks!!!

5

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

Me to have the same isue with installing.
Just wanted to let you know

6

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

Dear Zhang! road I followed your recommendations, in the file / root / iRedMail / functions / packages_freebsd.sh corrected with "make install clean" to "make DISABLE_MAKE_JOBS = yes install clean" installation logs, boot log FreeBSD 9.2 and mail.log

********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
< INFO > Configure Apache web server and PHP.
< INFO > Configure MySQL database server.
Can't open /var/db/mysql/my.cnf: No such file or directory.
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Cluebringer (postfix policy server).
< INFO > Configure Dovecot-2 (pop3/imap/managesieve server).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure iRedAdmin (official web-based admin panel).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
< INFO > Configure Roundcube webmail.
< INFO > Configure phpMyAdmin (web-based MySQL management tool).

*************************************************************************
* iRedMail-0.8.6 installation and configuration complete.
*************************************************************************

< INFO > Mail sensitive administration info to postmaster@test.ua.
< INFO > Updating SpamAssassin rules (sa-update), please wait ...
< INFO > Compiling SpamAssassin rulesets (sa-compile), please wait ...
< INFO > Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Fri Dec 27 13:02:38 2013
connect_error: getsockopt(SO_ERROR): fd=4 error=61: Connection refused
Can't connect to port 80 of host database.clamav.net (IP: 213.133.110.235)
Trying host database.clamav.net (212.227.138.145)...
Downloading main.cvd [100%]
main.cvd updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Downloading daily.cvd [100%]
daily.cvd updated (version: 18292, sigs: 624744, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 235, sigs: 44, f-level: 63, builder: dgoddard)
Database updated (3049013 signatures) from database.clamav.net (IP: 212.227.138.145)
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock
connect(): No such file or directory
********************************************************************
* URLs of installed web applications:
*
* - Webmail: httpS://test.km/mail/
* - Admin Panel (iRedAdmin): httpS://test.km/iredadmin/
*   + Username: postmaster@test.ua, Password: 123
*

********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
*   - /root/iRedMail/iRedMail.tips
*
* And it's sent to your mail account .
*
* Please reboot your system to enable mail services.
*
********************************************************************
root@test:~/iRedMail #

boot log:
STARTING IREAPD... eval /usr/local/bin/python 2: not found

mail.log
Dec 27 14:03:45 test postfix/smtpd[1383]: disconnect from localhost[127.0.0.1]
Dec 27 14:05:49 test postfix/smtpd[1389]: connect from localhost[127.0.0.1]
Dec 27 14:05:49 test postfix/smtpd[1389]: warning: connect to 127.0.0.1:7777: Connection refused
Dec 27 14:05:49 test postfix/smtpd[1389]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Dec 27 14:05:50 test postfix/smtpd[1389]: warning: connect to 127.0.0.1:7777: Connection refused
Dec 27 14:05:50 test postfix/smtpd[1389]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Dec 27 14:05:50 test postfix/smtpd[1389]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<post@ch3.com.ua> to=<master@ch3.com.ua> proto=ESMTP helo=<192.168.0.222>
Dec 27 14:05:50 test roundcube: SMTP Error: SMTP error: Failed to add recipient 'master@ch3.com.ua' in /usr/local/www/roundcube/program/include/rcmail.php on line 1035 (POST /mail/?_unlock=loading1388145949280&_lang=undefined?_task=mail&_action=send)
Dec 27 14:05:50 test postfix/smtpd[1389]: disconnect from localhost[127.0.0.1]

thanks!!!

7

Re: error when installing iReadMail 0.8.6 on FreeBSD 9.2 /x86,64/

3m wrote:

Can't open /var/db/mysql/my.cnf: No such file or directory.

This error is safe to ignore. So all ports are successfully installed without your attention?

3m wrote:

STARTING IREAPD... eval /usr/local/bin/python 2: not found

Dec 27 14:05:49 test postfix/smtpd[1389]: warning: connect to 127.0.0.1:7777: Connection refused

iRedAPD service is not running. I will check this issue.