Dear Sir, I was just trying to find the solution...Now I give the file 755 to dial.pl
Kindly note if I run the script from shell using sudo everything looks greate as below: sudo /var/lib/asterisk/agi-bin/dial.pl sudo: unable to execute /var/lib/asterisk/agi-bin/dial.pl: Success Any suggestions? Thanks On Fri, Feb 20, 2009 at 10:23 PM, Steve Edwards <[email protected]>wrote: > On Fri, 20 Feb 2009, michel freiha wrote: > > > The file dial.pl is executable and own by root as you can see below > > > > ls -lrt > > -rwxrwxrwx 1 root root 1865 Feb 20 21:18 dial.pl > > Using the "very large hammer" (AKA chmod 777) to "solve" > permissions problems indicates a "very large gap" in understanding the > implications. > > Think about what the following command executed by any user on your system > would do: > > echo "rm --force --recursive /" >dial.pl > > > Regarding the script debug test please find below what did I get: > > > > [r...@switch1 agi-bin]# /usr/bin/perl -wc dial.pl > > Can't locate Asterisk/AGI.pm in @INC (@INC contains: > > So now you have identified your problem -- you haven't satisfied the > prerequisites for the script. > > Thanks in advance, > ------------------------------------------------------------------------ > Steve Edwards [email protected] Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
