Need help with sqlite related error on VM
Executing SQL create table b (id int(11), b text); .. HTTP/1.0 500 Perl execution failed Server: MiniServ/1.770 Date: Tue, 8 Dec 2015 22:51:29 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
install_driver(SQLite2) failed: Can't locate DBD/SQLite2.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/libexec/webmin/) at (eval 96) line 3. Perhaps the DBD::SQLite2 perl module hasn't been fully installed, or perhaps the capitalisation of 'SQLite2' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, SQLite, Sponge, mysql. at /usr/libexec/webmin/virtualmin-sqlite/index.cgi line 63.
Comments
Submitted by andreychek on Tue, 12/08/2015 - 17:58 Comment #1
Howdy -- try installing this program:
yum install perl-DBD-SQLite2
After doing that, are you able to use sqlite properly?
I tried this earlier. Got this error, again
No package perl-DBD-SQLite2 available.
Submitted by andreychek on Tue, 12/08/2015 - 18:17 Comment #3
Ah, it looks like it's only available in the EPEL repository.
You would need to either setup the EPEL repo, or download it from this link here:
http://dl.fedoraproject.org/pub/epel/6/
Thanks Eric. That fixed it.
Submitted by JamieCameron on Tue, 12/08/2015 - 22:35 Comment #5
Submitted by Issues on Tue, 12/22/2015 - 22:37 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.