Forum: Cfengine Help
Subject: cfengine 3.1.2 segfaulting again...
Author: Sal
Link to topic: https://cfengine.com/forum/read.php?3,20083,20083#msg-20083

I am running cfengine 3.1.2 on CentOS 5.5 x86_64. I have updated the policy 
server to the latest patches and kernel and I am finding intermittent segfaults 
from cf-serverd again. I found this was happening on 3.0.5p1 until I upgraded 
to the latest kernel. I upgraded to 3.1.2 and I am now seeing the segfaults 
again. I am using the rpm from cfengine.org

cfengine-community-3.1.2-1.centos5.x86_64.rpm

These are the error messages from /var/log/messages:

Jan 11 11:00:27 cfengine kernel: cf-serverd[29375]: segfault at 
000000000000f780 rip 000000000044b587 rsp 00000000433d17d0 error 6
Jan 11 11:00:48 cfengine kernel: cf-serverd[30470]: segfault at 
000000000000f780 rip 000000000044b587 rsp 00000000440087d0 error 6
Jan 11 12:00:20 cfengine kernel: cf-serverd[31376]: segfault at 
000000000000f780 rip 000000000044b587 rsp 00007fff74fd5df0 error 6

I am not compiling, this is from the available rpm.

The kernel version I am running is

2.6.18-194.32.1.el5

And here are the libraries

        libnss_nis.so.2 => /lib64/libnss_nis.so.2 (0x00002ae3f2cdf000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003ae0400000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003ae1800000)
        libpcre.so.0 => /var/cfengine/lib/libpcre.so.0 (0x00002ae3f2eeb000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003ae1000000)
        libdb-5.0.so => /var/cfengine/lib/libdb-5.0.so (0x00002ae3f312c000)
        libcrypto.so.0.9.8 => /var/cfengine/lib/libcrypto.so.0.9.8 
(0x00002ae3f351c000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003adfc00000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003ae1c00000)
        libnss_files.so.2 => /lib64/libnss_files.so.2 (0x00002ae3f389a000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003adf800000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003ae0000000)

The pattern seems to occur when the clients try to connect to cf-serverd. The 
cron job restarts cf-serverd every 20 minutes when cf-execd runs. Is anyone 
else running into this type of problem?

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to