I'm getting some weird errors in /var/log/exim_mainlog when someone is trying to send an email. The problem is I can't solve this so i'll try here.
2012-10-29 00:35:54 DBD::SQLite::db prepare failed: database is locked at /etc/exim_greylist_sqlite.pl line 1013, <HAN1> line 66.
2012-10-29 00:35:54 H=valid_hostname [valid_ip]:5555 F=<mail@example.com> temporarily rejected RCPT <mail@example.com>: failed to expand ACL string "${perl{greylist}}": Can't call method "execute" on an undefined value at /etc/exim_greylist_sqlite.pl line 1014, <HAN1> line 66.
2012-10-29 00:35:54 SMTP connection from valid_hostname [valid_ip]:5555 closed by QUIT
Some lines from exim_greylist_sqlite:
1012 my $query = "select strftime('%s', block_expires, 'utc')-strftime('%s','now') from relaytofrom where rcpt_to='$lp' and mail_from='$sender_addr'";
1013 $sth = $isp->prepare($query) || print FILE "$query\n";
1014 $sth->execute || print FILE "$query\n";
1015 my @status_array = $sth->fetchrow_array;
1016 $sth->finish;
I don't even know from where to start and solve this. I have tried searching on cPanel forums, tried using google in multiple ways but with no result :(