Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ve got problem with perl script for asterisk. I've investigate that when tping use DBI; -- all statcks. After that i added:

my @driver_names = DBI->available_drivers;
foreach (@driver_names){print $MYFILE "Driver = $_\n";} 

Driver = DBM
Driver = ExampleP
Driver = File
Driver = Gofer
Driver = Proxy
Driver = Sponge

There is no mysql driver.

I've installed via cpan DBD::mysql -- but no luck. Im using percona mysql 5.5 on ubuntu 12.04 i386, v5.14.2

share|improve this question

What do you get for output if you turn the verbosity and debug output up? Also, I'd suggest running asterisk from your session rather than init.d to test the debug output.

share|improve this answer
print nothing. just ${SYSTEMSTATUS}=APPERROR. Ive made script more simple: like open (MYFILE, '/tmp/test_ast.log'); and print something there. But script isnt started. cmd System refuses to run perl script as i suppose. – MealstroM Aug 10 '12 at 7:24
I've figured out where is a problem. it is coused by Log::Log4perl; second -- there is no mysql driver. Ill update my question – MealstroM Aug 10 '12 at 11:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.