Current time: 12-23-2024, 07:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] maia/ amavis/ spamassassin install problems
Author Message
el-mar Offline


Posts: 3
Joined: Mar 2007
Reputation: 0
Post: #1
[SOLVED] maia/ amavis/ spamassassin install problems
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!
(This post was last modified: 04-01-2008 12:27 AM by el-mar.)
03-31-2008 11:25 PM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #2
RE: maia/ amavis/ spamassassin install problems
Have you done the second instruction in the HowTo?
Code:
apt-get install libdbd-mysql-perl libdbi-perl libphp-jpgraph libossp-uuid-perl
(This post was last modified: 03-31-2008 11:55 PM by Cube.)
03-31-2008 11:55 PM
Find all posts by this user Quote this message in a reply
el-mar Offline


Posts: 3
Joined: Mar 2007
Reputation: 0
Post: #3
RE: maia/ amavis/ spamassassin install problems
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.
(This post was last modified: 04-01-2008 12:02 AM by el-mar.)
04-01-2008 12:01 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: maia/ amavis/ spamassassin install problems
Maybe this helps ?

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

Greez BeNe
(This post was last modified: 04-01-2008 12:05 AM by BeNe.)
04-01-2008 12:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
el-mar Offline


Posts: 3
Joined: Mar 2007
Reputation: 0
Post: #5
RE: maia/ amavis/ spamassassin install problems
Ahem.. shame on me Wink

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

Thankx though!
04-01-2008 12:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)