[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:26:44 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:26 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
====================================================================== 

---------------------------------------------------------------------- 
 amessina - 03-13-08 00:26  
---------------------------------------------------------------------- 
I currently have two systems, and i386 and an x86_64, both in production. I
do not have a test environment.  Unfortuntely, I've had enough problems
with the DTMF changes, that are reported to be set fixed in what will be
zaptel 1.4.10.

Those issues are keeping me using asterisk 1.4.17 on x86_64 and asterisk
1.4.18 on i386.

I am not able to do any testing or re-compiling at this time.  My current
workaround is to have a noload => res_snmp.so then manually issue a module
load res_snmp.so after asterisk is started (which works perfectly, though
is obviously less than optimal).

I wish I could be more help at this time, but I'll have to wait to
stabilize and update these systems prior to messing with this.

I am also working to procure a system that I can use for testing. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-13-08 00:26  amessina       Note Added: 0083883                          
======================================================================




More information about the asterisk-bugs mailing list