Hi,
I'm running SME8 with SAIL 3.1.0-128
Last night I did something I shouldn't have done. I was playing around with perl and databases, and wanted to test a script that uses SQLite. So I issued the commands which I found on an SQLite tutorial page:
perl -MCPAN -e shell
cpan> install DBI
cpan> install DBD::SQLite
I don't know why I didn't check if DBI was already there (well, it was late and I just followed the tutorial without thinkig too much...
). The installation took an awfully long time, but my perl script ended up working ok. This morning, I wanted to check something on my SME/Sail box (which is where I also tested the script), and to my surprise the GUI didn't give me the extensions, trunks, routes info anymore, but now says:
Software error:DBD::SQLite::st execute failed: database is locked at /opt/sark/perl/modules/sark/SarkSubs.pm line 1205.
I am assuming this is due to my playing around with DBI and SQLite. I regressed the database, stopped/restarted, rebooted, to no avail. I won't do anything further (like trying to get rid of SQLite again) as I don't want to break anything else. Asterisk is working ok, no problems there, just Sail has hiccups...
My question is did I break the SAIL installation? Or possibly even more since SME is heavily depending on Perl??
And also, is there any way to undo the changes I did?
Just in case this is relevant, I did a yum list installed | grep -i sql and it gave me the below printout. Note that this is 100% identical to another server with the same configuration that wasn't compromised in the way I described above:
yum list installed | grep -i sql
asterisk18-addons-mysql.i386 1.8.5.0-1_centos5 installed
e-smith-mysql.noarch 2.2.0-6.el5.sme installed
mysql.i386 5.0.95-5.el5_9 installed
mysql-server.i386 5.0.95-5.el5_9 installed
perl-DBD-MySQL.i386 4.022-1.el5.rfx installed
perl-DBD-SQLite.i386 1.14-1.el5.rf installed
php-mysql.i386 5.3.3-13.el5.sme.1 installed
postgresql-libs.i386 8.1.23-6.el5_8 installed
python-sqlite.i386 1.1.7-1.2.1.0 installed
sqlite.i386 3.3.6-6 installed
Any comments most welcome - whilst I hang my head in shame and promise not to do anything like this ever again
Thanks
Frank