Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-2010, 05:33 AM
Junior Member
 
Posts: 5
Default [SOLVED] Segmentation fault occurred at

Hello,

the following error is repeatly reported in /var/log/messages.
"servidor kernel: grsec: Segmentation fault occurred at xxxxxxxxxxxxxxxx in /opt/zimbra/jdk1.6.0_16/bin/java" where xxxxxxxxxxxxx is a memory position. The parent process sometimes is /opt/zimbra/libexec/zmmtaconfig and sometimes is /opt/zimbra/libexec/zmlogprocess. Anyone knows what is happening?

- zimbra version: 6.0.4 y running on Fedora 11 4G RAM in real hardware.
- i´ve observed the problem the first time two days ago.


Thank you for your help.

Last edited by demades; 02-02-2010 at 08:33 AM..
Reply With Quote
  #2 (permalink)  
Old 02-02-2010, 05:50 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Some idea of operating system, Zimbra version and release would be a good starting point. Please update your with the output of the following command (do not post it in this thread):

Code:
zmcontrol -v
How much RAM is on this server and what specification is it? Is it in a VM or real hardware? For how long has this problem been happening?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 03-17-2010, 07:22 AM
Starter Member
 
Posts: 2
Default

Hello,

I have the same problem on my system.

Code:
$ zmcontrol -v
Release 6.0.5_GA_2213.DEBIAN5_64 DEBIAN5_64 FOSS edition.

$ uname -r
2.6.31.5-grsec-xxxx-grs-ipv4-64
The server is real hardware (not VM) with 2GB RAM.

Thank you for your help.
Reply With Quote
  #4 (permalink)  
Old 05-11-2010, 04:08 AM
New Member
 
Posts: 3
Default

Same problem here:

CentOS 5.4 64 bits with 8 GB RAM.

Code:
$ zmcontrol -v
Release 6.0.6_GA_2330.RHEL5_64_20100505212335 CentOS5_64 FOSS edition.

$ uname -r
2.6.32.2-xxxx-grs-ipv4-64
Thx for helping us.

Last edited by mperea; 05-11-2010 at 04:15 AM..
Reply With Quote
  #5 (permalink)  
Old 05-15-2010, 09:01 AM
Member
 
Posts: 13
Default Java / Zimbra Segmentation fault

Hello, quite the same problem for me :

Since first fresh install a few days ago, system logs show java/zimbra segmentation fault several (dozens) times a minute in :
/var/log/kern.log
/var/log/syslog

The thing is Zimbra seems to work OK, excepting this.

Anybody an idea to fix it ?

Thanks.

Box is real hardware with Ubuntu-server 8.04 LTS 64 bits, 4GB of RAM :

Code:
$ zmcontrol -v
Release 6.0.6_GA_2330.UBUNTU8_64 UBUNTU8_64 FOSS edition.

$ uname -r
2.6.32.2-xxxx-grs-ipv4-64
Typical log sequence in /var/log/kern.log (same in /var/log/syslog ) :

Log from zimbra, looks ok :

Code:
May 15 17:40:01 MYSERVER /USR/SBIN/CRON[4824]: (zimbra) CMD (/opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1)
May 15 17:40:01 MYSERVER /USR/SBIN/CRON[4826]: (root) CMD (/usr/local/rtm/bin/rtm 54 > /dev/null 2> /dev/null)
May 15 17:40:01 MYSERVER /USR/SBIN/CRON[4827]: (zimbra) CMD (/opt/zimbra/libexec/zmstatuslog)
May 15 17:40:01 MYSERVER /USR/SBIN/CRON[4825]: (zimbra) CMD (/opt/zimbra/libexec/zmqueuelog)
May 15 17:40:01 MYSERVER /USR/SBIN/CRON[4828]: (zimbra) CMD (/opt/zimbra/libexec/zmcheckduplicatemysqld -e > /dev/null 2>&1)
...and shit happens typically just after it :

Code:
May 15 17:40:03 MYSERVER kernel: grsec: Segmentation fault occurred at 0000000000000010 in /opt/zimbra/jdk1.6.0_16/bin/java[java:5312] uid/euid:1000/1000 gid/egid:114/114, parent /opt/zimbra/libexec/zmlogprocess[zmlogprocess:4830] uid/euid:1000/1000 gid/egid:114/114

May 15 17:40:03 MYSERVER kernel: grsec: Segmentation fault occurred at 0000000000000010 in /opt/zimbra/jdk1.6.0_16/bin/java[java:5320] uid/euid:1000/1000 gid/egid:114/114, parent /bin/bash[sh:4987] uid/euid:1000/1000 gid/egid:114/114
Those lines with 'zmlogprocess' = two or more times.

... then several (dozens) lines like this, with 'zmmtaconfig', appearing often each 2 seconds :

Code:
May 15 17:40:40 MYSERVER kernel: grsec: Segmentation fault occurred at 0000000000000008 in /opt/zimbra/jdk1.6.0_16/bin/java[java:5963] uid/euid:1000/1000 gid/egid:114/114, parent /opt/zimbra/libexec/zmmtaconfig[zmmtaconfig:13177] uid/euid:1000/1000 gid/egid:114/114

Last edited by michelp; 05-15-2010 at 09:07 AM.. Reason: text formating
Reply With Quote
  #6 (permalink)  
Old 05-16-2010, 03:33 AM
Moderator
 
Posts: 7,928
Default

All the errors posted appear to be a result of using a GRSEC kernel; which I believe is not a stock one delivered with the distro. Akin to RHEL/CENTOS for a successful installation you have to disable SELINUX on those and my assumption is that you would need to do something similar with GRSEC
__________________
Reply With Quote
  #7 (permalink)  
Old 05-25-2010, 07:00 AM
New Member
 
Posts: 3
Default

Changing the kernel to a non GRSEC one did the trick for me.

Thx...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.