Results 1 to 7 of 7

Thread: [SOLVED] Segmentation fault occurred at

  1. #1
    demades is offline Junior Member
    Join Date
    Oct 2009
    Posts
    5
    Rep Power
    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 09:33 AM.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    shinjuku is offline Starter Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    5

    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.

  4. #4
    mperea is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    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.

  5. #5
    michelp's Avatar
    michelp is offline Intermediate Member
    Join Date
    Jan 2010
    Posts
    16
    Rep Power
    5

    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

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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

  7. #7
    mperea is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

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

    Thx...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 09-26-2011, 11:50 PM
  2. Replies: 5
    Last Post: 05-04-2009, 05:24 AM
  3. Replies: 3
    Last Post: 08-22-2007, 11:08 PM
  4. Cron Job Segmentation Fault
    By ricknight in forum Administrators
    Replies: 4
    Last Post: 02-04-2007, 09:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •