# Agi-bin not found at /var/lib/asterisk/agi-bin

**URL:** <https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073>\
**Category:** Asterisk Support\
**Created:** [January 29, 2012, 9:17am UTC](https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073 "2012-01-29T09:17:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [January 29, 2012, 9:17am UTC](https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073/1 "2012-01-29T09:17:33Z")

</div>

Hi

I am newbie to asterisk but its really awesome with its unique features

I have followed this url ( [voip-info.org/wiki/view/Aste … stallation](http://www.voip-info.org/wiki/view/Asterisk+festival+installation) )

i was trying to run a perl script as shown below

exten =\> 1234,1,Answer  
exten =\> 1234,2,AGI(festival-script.pl|Welcome to the wonderful world of Asterisk! Your phone number is ${CALLERIDNUM}.)  
exten =\> 1234,3,Hangup

but the location /var/lib/asterisk/agi-bin not exists in asterisk 1.8

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [January 29, 2012, 10:12am UTC](https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073/2 "2012-01-29T10:12:09Z")

</div>

That’s not true. That directory is definitely included by the things installed by make install for 1.8.8.2.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [January 30, 2012, 5:10pm UTC](https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073/3 "2012-01-30T17:10:22Z")

</div>

Hi David

I have installed the asterisk from repository using apt-get in ubuntu. i have also installed a libasterisk-agi-perl assuming it may create the target location but didnt …

could you please tell me where does the AGI searches in my case ?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [January 30, 2012, 5:24pm UTC](https://community.asterisk.org/t/agi-bin-not-found-at-var-lib-asterisk-agi-bin/38073/4 "2012-01-30T17:24:23Z")

</div>

Ask the packager. I suspect it goes in the standard directory, but the packager forgot to create that directory in the package. Assuming they haven’t completely messed up the file locations, /etc/asterisk/asterisk.conf will tell you where it is expeceted to be.
