Re: [Mod-apache-snmp-users] [notice] child pid 26926 exit signal Segmentation fault (11) [SOLVED]
Monitor Apache using SNMP
Brought to you by:
eplx
From: 'S. B. <su...@de...> - 2006-05-08 02:01:16
|
Le dimanche 07 mai 2006 =E0 15:16 +0200, Rapha=EBl 'SurcouF' Bordet a =E9crit : > Hi, >=20 > Im' trying to get mod-apache-snmp working under a debian sarge, using > apache2 (2.0.54-5). I've successfully compiled ap2_snmp as net-snmp > module and ap2_snmp_module as apache2 module. > I've configure apache2 like this (: >=20 > --( /etc/apache2/mods-available/ap2_snmp.conf )-- > <Location /ap2_snmp> > Sethandler ap2_snmp > Order Deny,Allow > Deny from all > Allow from 127.0.0.1 10.0.0.0/24 > </Location> > snmp_community apache2 > snmp_agent_address localhost > snmp_tmp_dir /tmp/ > snmp_version 1 > snmp_http_address 10.0.0.1 80 > ---8<--- [...] > And I've got these error messages every 30 s in error.log: >=20 > --( /var/log/apache2/error.log )-- > [Sun May 07 15:13:37 2006] [notice] child pid 27222 exit signal > Segmentation fault (11) > [Sun May 07 15:14:07 2006] [notice] child pid 27509 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > ---8<--- I've finally find which module was the origin of this segfault: cfg_ldap. By disable this module, ap2_snmp is working fine. However, I must set =AB snmp_http_address =BB to "127.0.0.1" and configur= e apache2 to listen also upon 80 port of 127.0.0.1.=20 Thanks Esteban et best regards, --=20 Rapha=EBl 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net |