Koozali.org: home of the SME Server

Solved: sarkphe not found

Offline compsos

  • *
  • 472
  • +0/-0
Solved: sarkphe not found
« on: November 28, 2014, 01:04:08 PM »
Hi
Just in case some else already has found the answer, we have the following error but so far no other clues

SME 8.1 X86_64 2.6.18-398.el5
Sail 4.0.0.127
smesailenv 4.0.0.12
perl-DBD-SQLite-1.14-1
perl-IO-Socket-Multicast-1.11-1
perl-File-ReadBackwards-1.04-1.2.el5.rf
perl-IO-Interface-1.04-1.el5.rf
perl-Text-CSV-1.21-1.el5.rf

It is this line "Failed to execute '/var/lib/asterisk/agi-bin/sarkhpe': No such file or directory"  but the file is there and have uninstalled and reinstall and then set the DB up manually rather than import the original. The installation is similar to another in specification, it works and this one no go.

Are we just missing a module or path setting?

Code: [Select]
"    -- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
<SIP/501-00000003>AGI Tx >> agi_request: sarkhpe
<SIP/501-00000003>AGI Tx >> agi_channel: SIP/501-00000003
<SIP/501-00000003>AGI Tx >> agi_language: en-gb
<SIP/501-00000003>AGI Tx >> agi_type: SIP
<SIP/501-00000003>AGI Tx >> agi_uniqueid: 1417174352.3
<SIP/501-00000003>AGI Tx >> agi_version: 1.8.7.0
<SIP/501-00000003>AGI Tx >> agi_callerid: 501
<SIP/501-00000003>AGI Tx >> agi_calleridname: Gordon
<SIP/501-00000003>AGI Tx >> agi_callingpres: 0
<SIP/501-00000003>AGI Tx >> agi_callingani2: 0
<SIP/501-00000003>AGI Tx >> agi_callington: 0
<SIP/501-00000003>AGI Tx >> agi_callingtns: 0
<SIP/501-00000003>AGI Tx >> agi_dnid: 502
<SIP/501-00000003>AGI Tx >> agi_rdnis: unknown
<SIP/501-00000003>AGI Tx >> agi_context: internal
<SIP/501-00000003>AGI Tx >> agi_extension: 502
<SIP/501-00000003>AGI Tx >> agi_priority: 1
<SIP/501-00000003>AGI Tx >> agi_enhanced: 0.0
<SIP/501-00000003>AGI Tx >> agi_accountcode:
<SIP/501-00000003>AGI Tx >> agi_threadid: 47588856695104
<SIP/501-00000003>AGI Tx >> agi_arg_1: OutCos
<SIP/501-00000003>AGI Tx >> agi_arg_2: 502
<SIP/501-00000003>AGI Tx >> agi_arg_3:
<SIP/501-00000003>AGI Tx >> agi_arg_4:
<SIP/501-00000003>AGI Tx >>
<SIP/501-00000003>AGI Rx << verbose "Failed to execute '/var/lib/asterisk/agi-bin/sarkhpe': No such file or directory" 1
 sarkhpe,OutCos,502,,: Failed to execute '/var/lib/asterisk/agi-bin/sarkhpe': No such file or directory
<SIP/501-00000003>AGI Tx >> 200 result=1
    -- Auto fallthrough, channel 'SIP/501-00000003' status is 'UNKNOWN'

Thanks
« Last Edit: November 28, 2014, 09:34:25 PM by compsos »
Regards

Gordon............

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: sarkphe not found
« Reply #1 on: November 28, 2014, 01:10:10 PM »
Quote
The installation is similar to another in specification, it works and this one no go.

check owner/permissions

Offline compsos

  • *
  • 472
  • +0/-0
Re: sarkphe not found
« Reply #2 on: November 28, 2014, 01:35:24 PM »
Hi Steph
Checked and cross checked against working installation. Raised permissions but made no difference. Is there a way of tracing the call from asterisk to sarkhpe or higher logging? So far all attempts at getting more information have only returned to 2 lines.

Thanks.
Regards

Gordon............

Offline compsos

  • *
  • 472
  • +0/-0
Re: Solved: sarkphe not found
« Reply #3 on: November 28, 2014, 09:37:27 PM »
It was a case of "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory". This was picked up on loading Dahdi modules not whilst running asterisk.

As it was 64B system we needed 32B libraries for sail.

Code: [Select]
yum install glibc.i686
Regards

Gordon............