1

Topic: New installation with problems - Freebsd 9.0 64

==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Freebsd 9.0 AMD64
- Related log if you're reporting an issue:
====
Hi.

I did a new Virtual Server on my esxi 5 with FreeBSD 9.0 AMD64.
I installed bash, fetched installation of iredmail 0.8.1 and ran iRedMail.sh.
everything installed, i rebooted the server and on my first login on webmail
my connection was closed and i receive this on apache:
[notice] child pid 1380 exit signal Segmentation fault (11).
I can't use webmail, always closes after some seconds.
Zang told to upgrade php.ini memory_limit to 256 mb, but don't work.

Did anyone made a new installation on freebsd recently ?

Thanks a lot.

----

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

2

Re: New installation with problems - Freebsd 9.0 64

Does increasing to 512MB work for you?

3

Re: New installation with problems - Freebsd 9.0 64

No Zang, don't worked. The same error.
I'm making a new server on a physical machine.
Report status as soon as finish.

4

Re: New installation with problems - Freebsd 9.0 64

Hi Zang.

I finished the server, but have the same problem.
I put in php.ini  memory_limit =  512M;512M
and apache crashing again.

Log apache:
Aug 28 15:45:29 teste kernel: pid 1643 (httpd), uid 80: exited on signal 11
Aug 28 15:45:29 teste kernel: pid 1647 (httpd), uid 80: exited on signal 11

I put in httpd.conf "LogLevel debug" and error is the same.
I realy don't know what to do. I need to install a server for a costumer.
Wait for you guys.

If anyone wants to access the server, tell me and i release it.

Cheers.

5

Re: New installation with problems - Freebsd 9.0 64

Details from server:

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012
    root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (2400.05-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Family = 6  Model = f  Stepping = 11
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4086497280 (3897 MB)

6

Re: New installation with problems - Freebsd 9.0 64

Still no idea yet. Sorry.

- Could you please paste file /var/db/ports/apache22/options to help troubleshoot?
- Could you try to disable some Apache modules in httpd.conf and try again?
- Did you try the latest development version of iRedMail? You can get it here: https://bitbucket.org/zhb/iredmail/

P.S. The latest development version of iRedMail works quite well with FreeBSD Jail. If you want to give it a try, here's tutorial:
http://www.iredmail.org/wiki/index.php? … eeBSD.Jail

7

Re: New installation with problems - Freebsd 9.0 64

Hi Zang,

Follows apache options:

[root@teste ~]# cat /var/db/ports/apache22/options
WITH_APR_FROM_PORTS=true
WITH_THREADS=true
WITH_MYSQL=true
WITHOUT_PGSQL=true
WITHOUT_SQLITE=true
WITH_IPV6=true
WITH_BDB=true
WITH_AUTH_BASIC=true
WITH_AUTH_DIGEST=true
WITH_AUTHN_FILE=true
WITH_AUTHN_DBD=true
WITH_AUTHN_DBM=true
WITH_AUTHN_ANON=true
WITH_AUTHN_DEFAULT=true
WITH_AUTHN_ALIAS=true
WITH_AUTHZ_HOST=true
WITH_AUTHZ_GROUPFILE=true
WITH_AUTHZ_USER=true
WITH_AUTHZ_DBM=true
WITH_AUTHZ_OWNER=true
WITH_AUTHZ_DEFAULT=true
WITH_CACHE=true
WITH_DISK_CACHE=true
WITH_FILE_CACHE=true
WITH_MEM_CACHE=true
WITH_DAV=true
WITH_DAV_FS=true
WITH_BUCKETEER=true
WITH_CASE_FILTER=true
WITH_CASE_FILTER_IN=true
WITH_EXT_FILTER=true
WITH_LOG_FORENSIC=true
WITH_OPTIONAL_HOOK_EXPORT=true
WITH_OPTIONAL_HOOK_IMPORT=true
WITH_OPTIONAL_FN_IMPORT=true
WITH_OPTIONAL_FN_EXPORT=true
WITH_LDAP=true
WITH_AUTHNZ_LDAP=true
WITH_ACTIONS=true
WITH_ALIAS=true
WITH_ASIS=true
WITH_AUTOINDEX=true
WITH_CERN_META=true
WITH_CGI=true
WITH_CHARSET_LITE=true
WITH_DBD=true
WITH_DEFLATE=true
WITH_DIR=true
WITH_DUMPIO=true
WITH_ENV=true
WITH_EXPIRES=true
WITH_HEADERS=true
WITH_IMAGEMAP=true
WITH_INCLUDE=true
WITH_INFO=true
WITH_LOG_CONFIG=true
WITH_LOGIO=true
WITH_MIME=true
WITH_MIME_MAGIC=true
WITH_NEGOTIATION=true
WITH_REWRITE=true
WITH_SETENVIF=true
WITH_SPELING=true
WITH_STATUS=true
WITH_UNIQUE_ID=true
WITH_USERDIR=true
WITH_USERTRACK=true
WITH_VHOST_ALIAS=true
WITH_FILTER=true
WITH_VERSION=true
WITH_PROXY=true
WITH_PROXY_CONNECT=true
WITH_PATCH_PROXY_CONNECT=true
WITH_PROXY_FTP=true
WITH_PROXY_HTTP=true
WITH_PROXY_AJP=true
WITH_PROXY_BALANCER=true
WITH_SSL=true
WITH_SUEXEC=true
WITH_CGID=true

What modules can i disable?
I installed with this link:
https://bitbucket.org/zhb/iredmail/down … .1.tar.bz2
I'll try with hg clone https://bitbucket.org/zhb/iredmail

I report to you later.

Thanks a lot.

8

Re: New installation with problems - Freebsd 9.0 64

Hi.

I reinstalled the server.
Fetch new installation of iredmail using
hg clone https://bitbucket.org/zhb/iredmail
I installed only bash-static on server.
And started the installation, bash iRedMail.sh.
I'll report to you when finished.

Thanks.

9

Re: New installation with problems - Freebsd 9.0 64

Hi Zang.

Installation finished and all works fine. I'm logging into roundcube and all works.
Can i use this installation on a production server?
I tryed to install my iredadmin-pro-ldap-1.7.2 following the tutorial
http://www.iredmail.org/wiki/index.php? … ro/OSE-Pro
and it does not work, i can't logon.
Does have another changes i can do?

Cheers.

10

Re: New installation with problems - Freebsd 9.0 64

jorge wrote:

Installation finished and all works fine. I'm logging into roundcube and all works.
Can i use this installation on a production server?

Yes. It's feature-freezed for a new release - iRedMail-0.8.2, will be available soon. Still testing it with FreeBSD Jail, but it's quite stable now.

Don't forget to update version number in /etc/iredmail-release to 0.8.2 since the development version is for 0.8.2.

jorge wrote:

I tryed to install my iredadmin-pro-ldap-1.7.2 following the tutorial
http://www.iredmail.org/wiki/index.php? … ro/OSE-Pro
and it does not work, i can't logon.

Please check Apache error log to find related log, paste here so that we can help solve it.

11

Re: New installation with problems - Freebsd 9.0 64

Hi Zang.

I put apache to log all erros from iredadmin, but do not show. Only do not log in.
I will wait for the new version.

Thanks a lot.

12

Re: New installation with problems - Freebsd 9.0 64

jorge wrote:

I put apache to log all erros from iredadmin, but do not show. Only do not log in.

What error message does iRedAdmin report in the login page after login failed? Username or password incorrect? or others?