[asterisk-users] Problem/error with DAHDI tools 2.9.0.1

Shaun Ruffell sruffell at digium.com
Wed Feb 12 11:37:34 CST 2014


On Wed, Feb 12, 2014 at 05:21:24PM +0000, Rodrigo Borges Pereira wrote:
> Hello,
> 
> Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away:
> 
> *line 15: Unable to create 'dahdi_cfg' mutex.*
> 
> Is this a problem?
> 
> Thanks in advance.
> 
> Full detail:
> 
> [ebox]> dahdi_cfg -vvvvvvv
> DAHDI Tools Version - 2.9.0.1
> 
> DAHDI Version: 2.9.0
> Echo Canceller(s): HWEC
> Configuration
> ======================
> 
> SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
> SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
> SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
> SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
> 
> Channel map:
> 
> Channel 01: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 01)
> Channel 02: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 02)
> Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
> (Slaves: 03)
> Channel 04: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 04)
> Channel 05: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 05)
> Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
> (Slaves: 06)
> Channel 07: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 07)
> Channel 08: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 08)
> Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
> (Slaves: 09)
> Channel 10: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 10)
> Channel 11: Clear channel (Default) (Echo Canceler: kb1) (Slaves: 11)
> Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: kb1)
> (Slaves: 12)
> 
> 12 channels to configure.
> 
> Notice: Configuration file is /etc/dahdi/system.conf
> *line 15: Unable to create 'dahdi_cfg' mutex.*

Which distro / version are you running? It appears that the sem_open
call has failed on this platform.

There does appear to be a mistake in the code though with the error
reporting. 'perror' should be used instead of 'error'.  The line
number in the config file isn't related to this error report.

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list