No found AGI in PERL + ORACLE

hi, Support

I am running an AGI in perl, which connects to an oracle database.
When I run scripts.pl (AGI) from the command prompt of the CentOS 5 this works properly, but when executes it the asterisk through the AGI does not work the consultation, this already I past with other programs that I have tried to invoke through an agi in PERL, this can be is that asterisk not seeing variables of sorroundings of the operatvo system?

thank…

you should do a su - nobody, then run the script to make sure all of your paths are properly defined.