Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: fpausp on April 05, 2011, 10:58:35 PM

Title: Update error ?
Post by: fpausp on April 05, 2011, 10:58:35 PM
Hi,

I got this after the yum update to asterisk 1.4.40:

Code: [Select]
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.40 currently running on sme7kvm (pid = 4696)
Verbosity was 0 and is now 3
    -- Executing [0800100100@internal:1] AGI("SIP/5000-00000004", "selintra|OutCos|0800100100") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/selintra
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
  ==  selintra|OutCos|0800100100: Failed to execute '/usr/share/asterisk/agi-bin/selintra': No such file or directory
[Apr  5 22:48:26] ERROR[6015]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
  == Auto fallthrough, channel 'SIP/5000-00000004' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/5000-00000004", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/5000-00000004'

I cannot call in or out. Whats wrong ?
Title: Re: Update error ?
Post by: fpausp on April 05, 2011, 11:12:36 PM
OK,

Maybe I fixed it with:

Code: [Select]
cp /var/lib/asterisk/agi-bin/selintra /usr/share/asterisk/agi-bin/

Can someone explain me that ?

Best

Title: Re: Update error ?
Post by: SARK devs on April 06, 2011, 12:29:59 AM
It is almost certainly because you used rpms from Atrpms.  For whatever reason, the rpms from Atrpms set Asterisk to use usr/share for the asterisk/agi-bin.  The Digium RPMs use /var/lib.   SAIL expects the agi to be in /var/lib.

You can of course copy or symlink the directories; or change the value in /etc/asterisk.conf. 

I do not know why the two sets of rpms do things differently.

Kind Regards

S
Title: Re: Update error ?
Post by: fpausp on April 06, 2011, 03:09:42 PM
OK, thanks for the Info.

Best
fpausp