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

2014-02-12 Thread Shaun Ruffell
On Wed, Feb 12, 2014 at 05:21:24PM +, 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 -vvv

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

2014-02-12 Thread Rodrigo Borges Pereira
Hello Shaun, This system is a custom distro, based on debian and currently built around kernel 2.6.35.8. Is sem_open introduced only in DAHDI 2.9 ? On Wed, Feb 12, 2014 at 5:37 PM, Shaun Ruffell sruff...@digium.com wrote: On Wed, Feb 12, 2014 at 05:21:24PM +, Rodrigo Borges Pereira

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

2014-02-12 Thread Rodrigo Borges Pereira
Maybe the problem is lack of tmpfs? statfs(/dev/shm, 0xbff88568) = -1 ENOENT (No such file or directory) Is this a new requirement for DAHDI? On Wed, Feb 12, 2014 at 5:49 PM, Rodrigo Borges Pereira rodrigoborgespere...@gmail.com wrote: Hello Shaun, This system is a custom

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

2014-02-12 Thread Shaun Ruffell
On Wed, Feb 12, 2014 at 05:49:49PM +, Rodrigo Borges Pereira wrote: Hello Shaun, This system is a custom distro, based on debian and currently built around kernel 2.6.35.8. Is sem_open introduced only in DAHDI 2.9 ? Yes. It was added in [1] in order to prevent errors when multiple

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

2014-02-12 Thread Shaun Ruffell
On Wed, Feb 12, 2014 at 05:55:41PM +, Rodrigo Borges Pereira wrote: Maybe the problem is lack of tmpfs? statfs(/dev/shm, 0xbff88568) = -1 ENOENT (No such file or directory) Is this a new requirement for DAHDI? tmpfs is not a requirement per-se, but it's how most POSIX

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

2014-02-12 Thread Rodrigo Borges Pereira
Well, I created /dev/shm and mounted tmpfs on it, and the problem is no more. Just creating /dev/shm was not enough. thanks. On Wed, Feb 12, 2014 at 6:06 PM, Shaun Ruffell sruff...@digium.com wrote: On Wed, Feb 12, 2014 at 05:55:41PM +, Rodrigo Borges Pereira wrote: Maybe the problem is

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

2014-02-12 Thread Rodrigo Borges Pereira
Just one last question: do you have another suggestion about this? thanks. On Wed, Feb 12, 2014 at 6:07 PM, Rodrigo Borges Pereira rodrigoborgespere...@gmail.com wrote: Well, I created /dev/shm and mounted tmpfs on it, and the problem is no more. Just creating /dev/shm was not enough.

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

2014-02-12 Thread Shaun Ruffell
On Wed, Feb 12, 2014 at 06:12:41PM +, Rodrigo Borges Pereira wrote: Just one last question: do you have another suggestion about this? thanks. Not really. There are other ways that dahdi_cfg could serialize itself, but POSIX semaphores are widely deployed on systems that are installing

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

2014-02-12 Thread Rodrigo Borges Pereira
Ok thanks Shaun! Best regards. On Wed, Feb 12, 2014 at 6:22 PM, Shaun Ruffell sruff...@digium.com wrote: On Wed, Feb 12, 2014 at 06:12:41PM +, Rodrigo Borges Pereira wrote: Just one last question: do you have another suggestion about this? thanks. Not really. There are other ways