[asterisk-bugs] [Asterisk 0011963]: res_snmp.so hangs asterisk at startup

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Mar 13 00:06:03 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11963 
====================================================================== 
Reported By:                amessina
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11963
Category:                   Resources/res_snmp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-09-2008 10:53 CST
Last Modified:              03-13-2008 00:06 CDT
====================================================================== 
Summary:                    res_snmp.so  hangs asterisk at startup
Description: 
Running Asterisk-1.4.18 (from ATrpms.net) on Fedora 8 x86_64, I see the
following issue:

At bootup or when I issue a "service asterisk restart" (init.d), Asterisk
hangs when loading res_snmp.so and Asterisk must be killed with -s 9

However, if i add a "noload => res_snmp.so" to modules.conf, let Asterisk
startup and then do "asterisk -rx"module load res_snmp.so"", it works just
fine, loads and connects to snmpd.

I have the agent configured as a sub agent and run asterisk as user and
group "asterisk".

[general]
subagent = yes
enabled = yes

I used to see this issue occur randomly on a separate, but identically
configured i386 machine.  Now, the i386 machine has no problem loading
res_snmp.so at startup, but the x86_64 does.

I do not get any useful info from debug: the last line before I must kill
asterisk is always:

DEBUG[5560] config.c: Parsing /etc/asterisk/res_snmp.conf
====================================================================== 

---------------------------------------------------------------------- 
 juggie - 03-13-08 00:06  
---------------------------------------------------------------------- 
If you can please build from source (latest 1.4 or trunk) and confirm you
are able to re-create the issue.  If so, compile as file mentioned with
DONT_OPTIMIZE (accessible in make menuconfig) and then we can work from
there.  Without any more information we cannot proceed. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-13-08 00:06  juggie         Note Added: 0083882                          
======================================================================




More information about the asterisk-bugs mailing list