26

Re: iredmail error

camel1cz wrote:

On Debian the package is called libdbd-mysql-perl

So install it by running

apt-cache search libdbd-mysql-perl

When i run this code, the output is:
libdbd-mysql-perl - Perl5 database interface to the MySQL database

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

27

Re: iredmail error

My mistake / it should have been:

apt-get install libdbd-mysql-perl

28

Re: iredmail error

camel1cz wrote:

My mistake / it should have been:

apt-get install libdbd-mysql-perl

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdbd-mysql-perl is already the newest version.
The following packages were automatically installed and are no longer required:
  libmozjs17d libqt4-test xulrunner-17.0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.

29

Re: iredmail error

Hm, it's really something wrong with your setup.

Check if the perl mysql driver is present:

ls -l /usr/lib/perl5/DBD

have to show mysql.pm between other files.

If not, reinstall the driver:

apt-get install --reinstall libdbd-mysql-perl

Also check, if the file /etc/cluebringer/cluebringer.conf has correct DSN set. It's in the section [database] and needs to show correct working DB connection parameters for your setup.

30 (edited by mehdizadeh_1986 2014-01-08 16:49:58)

Re: iredmail error

camel1cz wrote:

Hm, it's really something wrong with your setup.

Check if the perl mysql driver is present:

ls -l /usr/lib/perl5/DBD

-rw-r--r-- 1 root root  52180 Dec 22  2010 DBM.pm
-rw-r--r-- 1 root root  12168 Aug 16  2010 ExampleP.pm
drwxr-xr-x 2 root root   4096 Dec 10 09:27 File
-rw-r--r-- 1 root root  44279 Feb 16  2012 File.pm
drwxr-xr-x 4 root root   4096 Dec 10 09:27 Gofer
-rw-r--r-- 1 root root  49077 Jun  6  2012 Gofer.pm
drwxr-xr-x 2 root root   4096 Jan  7 08:10 mysql
-rw-r--r-- 1 root root  64004 Jun  9  2012 mysql.pm
-rw-r--r-- 1 root root   4341 Feb 22  2011 NullP.pm
-rw-r--r-- 1 root root 166369 Oct 31  2012 Pg.pm
-rw-r--r-- 1 root root  29044 Jun  8  2010 Proxy.pm
-rw-r--r-- 1 root root   7983 Sep 14  2011 Sponge.pm
-rwxr-xr-x 1 root root   2701 Mar 13  2012 testme.tmp.pl

camel1cz wrote:

Also check, if the file /etc/cluebringer/cluebringer.conf has correct DSN set. It's in the section [database] and needs to show correct working DB connection parameters for your setup.

DSN=DBI:mysql:host=127.0.0.1;database=cluebringer;user=cluebringer;password=<password>

DB_Type=mysql
DB_Host=127.0.0.1
DB_Port=3306
DB_Name=cluebringer
Username=cluebringer
Password=<password>