Thanks Mark,

> Rocsca,
> 
> > I'm using SA with SQL support under Amavid-new. My DBMS is MySQL.
> > I 'm preparing one another Antispam server and I ve installed the 
> > latest stable software available.
> > I ve dumped bayes DB (schema + data) from an already 
> working machine 
> > and I ve restore them on the new machine.
> > But when I try to start amavisd in debug mode I get the following
> > errors:
> >
> > May 28 17:37:29.010 av8.stt.vir /usr/local/sbin/amavisd[17102]:
> > SpamAssassin debug facilities: info
> > bayes: database version 0 is different than we understand 
> (3), aborting!
> > at 
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/SQL.pm
> > line 136.
> 
> > May 28 17:37:30.155 av8.stt.vir /usr/local/sbin/amavisd[17102]:
> > (!!)TROUBLE in pre_loop_hook: check: no loaded plugin implements
> > 'check_main': cannot scan! at
> > 
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 
> > 164.
> 
> > While the version specified in the database is really '3'.
> > What it could be the source of this error?
> 
> The "bayes: database version 0 is different than we understand"
> error is typically a misleading side effect of some other 
> error (possibly unreported by SpamAssassin). Either a bayes 
> database was not accessible at all (using username and 
> password as configured), or SpamAssassin installation is 
> broken or too heavily protected.
> Could also be caused by running chrooted and not having SQL 
> database accessible from a jail.

I have no problem accessing via mysql client:

 # su - amavis
[EMAIL PROTECTED]:~> mysql -h 127.0.0.1 -u bayes -p bayes
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 242
Server version: 5.0.45-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


but

mysql> show tables;
+-----------------+
| Tables_in_bayes |
+-----------------+
| awl             |
+-----------------+
1 row in set (0,00 sec)

So I think I ve foud the cause..

:-)

rocsca

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to