Koozali.org: home of the SME Server

DBD sqlite error

Offline jameswilson

  • *
  • 751
  • +0/-0
    • Security Warehouse, trade security equipment
DBD sqlite error
« on: August 02, 2012, 07:55:14 PM »
Quote
Software error:

DBD::SQLite::db prepare failed: not an error at /opt/sark/perl/modules/sark/SarkSubs.pm line 917.

Upgraded asterisk 14 to 18 and now have this?

Any ideas please

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: DBD sqlite error
« Reply #1 on: August 04, 2012, 04:06:55 PM »
I have not seen an error like this as a result of an upgrade of asterisk.  The error does not have anything to do with asterisk directly so I would suspect that something else may have changed on your system.   The error message you received is an unusual one. It is often associated with mixed or incorrect versions of sqlite.  Did you by any chance build sqlite with your new asterisk install?  How did you install the new asterisk version?  which version of sark/sail do you have?   

You can get an output (in the error-log) of the actual sql command which you are running by uncommenting line 914 in the same SarkSubs module and running your code again.

Kind Regards

S
 

Offline compsos

  • *
  • 472
  • +0/-0
Re: DBD sqlite error
« Reply #2 on: August 25, 2012, 01:06:19 AM »
James
Check the version of perl-DBD-SQLite installed as there is an update in smecontribs that breaks Sail. Remove and reinstall the version from the Sail site.
http://sailpbx.com/sail/sail-3.2/perl-DBD-SQLite-1.14-1.el5.rf.i386.rpm
Regards

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