ispCP - Board - Support - VHCS fork

Full Version: [SOLVED] maia/ amavis/ spamassassin install problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Question on the:
Howto install Maia on ispCP

When i try to start amavis i get the following error:
Code:
Starting amavisd: Error in config file "/etc/amavisd.conf": Can't locate object method "connect" via package "DBI" at /etc/amavisd.conf line 122.
(failed).

whats wrong in:
Code:
my $ dbh = DBI->connect("DBI:mysql:database=$db;host=$host", $user, $password, {RaiseError => 1});

Mail.info:
Code:
Mar 31 14:24:11 gail postfix/qmgr[1041]: CAB79104FB: from=<blablabla@gmail.com>, size=2026, nrcpt=1 (queue active)
Mar 31 14:24:11 gail postfix/qmgr[1041]: 359F3104FA: from=<amavis@gail.blablabla.nl>, size=617, nrcpt=1 (queue active)
Mar 31 14:24:11 gail postfix/qmgr[1041]: 2CBC8104F8: from=<blabla>, size=1648, nrcpt=1 (queue active)
Mar 31 14:24:11 gail postfix/smtp[1044]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Mar 31 14:24:11 gail postfix/smtp[1045]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Mar 31 14:24:11 gail postfix/smtp[1044]: CAB79104FB: to=<blablabla>, relay=none, delay=1129, delays=1129/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Mar 31 14:24:11 gail postfix/smtp[1045]: 359F3104FA: to=<amavis@blablabla>, orig_to=<amavis>, relay=none, delay=1390, delays=1390/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Mar 31 14:24:11 gail postfix/smtp[1044]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Mar 31 14:24:11 gail postfix/smtp[1044]: 2CBC8104F8: to=<blablabbala>, relay=none, delay=1264, delays=1264/0.03/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)

Thank you very much in advance!
Have you done the second instruction in the HowTo?
Code:
apt-get install libdbd-mysql-perl libdbi-perl libphp-jpgraph libossp-uuid-perl
unfortuanally everything is with the latest version Sad
Code:
:/etc/init.d# apt-get install libdbd-mysql-perl libdbi-perl libphp-jpgraph libossp-uuid-perl
Reading package lists... Done
Building dependency tree... Done
libdbd-mysql-perl is already the newest version.
libdbi-perl is already the newest version.
libphp-jpgraph is already the newest version.
libossp-uuid-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Ahem.. shame on me Wink

forgot to mention "use DBI;" in the config Wink

Thankx though!
Reference URL's