ispCP - Board - Support
[SOLVED] maia/ amavis/ spamassassin install problems - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] maia/ amavis/ spamassassin install problems (/thread-2896.html)



[SOLVED] maia/ amavis/ spamassassin install problems - el-mar - 03-31-2008 11:25 PM

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!


RE: maia/ amavis/ spamassassin install problems - Cube - 03-31-2008 11:55 PM

Have you done the second instruction in the HowTo?
Code:
apt-get install libdbd-mysql-perl libdbi-perl libphp-jpgraph libossp-uuid-perl



RE: maia/ amavis/ spamassassin install problems - el-mar - 04-01-2008 12:01 AM

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.



RE: maia/ amavis/ spamassassin install problems - BeNe - 04-01-2008 12:04 AM

Maybe this helps ?

--> http://isp-control.net/forum/solved-maia...esnt-work-(-t-2038.html

Greez BeNe


RE: maia/ amavis/ spamassassin install problems - el-mar - 04-01-2008 12:11 AM

Ahem.. shame on me Wink

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

Thankx though!