[CentOS] segfault

Sat Dec 25 17:01:41 UTC 2010
Lucian <lucian at lastdot.org>

On Sat, Dec 25, 2010 at 3:16 PM, Sandeil Tenebro <mayukmok00 at yahoo.com> wrote:
> Hi,
>
> We have seen this messages on one of our server.
>
> OS: CentOS 5.5
> Processor: Xeon E5520  @ 2.27GHz
> Memory: 24 GB
> localhost ]# rpm -qa | grep httpd
> httpd-2.2.3-43.el5.centos.3
> system-config-httpd-1.3.3.3-1.el5
> httpd-devel-2.2.3-43.el5.centos.3
> httpd-devel-2.2.3-43.el5.centos.3
>
> Need help in collecting data and solve the issue.
>
> Below are the details
>
> message
> kernel: httpd[2090]: segfault at 00007fff3bacfec4 rip 00002ba6bbc50855 rsp
> 00007fff3bacfe50 error 6
>
> (gdb) bt full
> #0  0x00002b30a5a91b00 in __accept_nocancel () from /lib64/libpthread.so.0
> No symbol table info available.
> #1  0x00002b30a58772f4 in apr_socket_accept () from /usr/lib64/libapr-1.so.0
> No symbol table info available.
> #2  0x00002b30a3fbcc31 in unixd_accept ()
> No symbol table info available.
> #3  0x00002b30a3fbb6d7 in ?? ()
> No symbol table info available.
> #4  0x00002b30a3fbba1a in ?? ()
> No symbol table info available.
> #5  0x00002b30a3fbc27d in ap_mpm_run ()
> No symbol table info available.
> #6  0x00002b30a3f96e48 in main ()
> No symbol table info available.
>
> (gdb) run
> Starting program: /usr/sbin/httpd
> [Thread debugging using libthread_db enabled]
> (98)Address already in use: make_sock: could not bind to address [::]:80
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
>
> Program exited with code 01.
>
>
>  Please advice.
>
> Thank you,
> Sandeil
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Seems like there's stuff causing httpd to crash and hang. Before
starting httpd again you need to kill the hanging processes (ps
aux|grep http or lsof -iTCP:80).
What exactly are you serving off that web server? Do you have any
manually installed/compiled programs (e.g. php) or from 3rd party
repos?