Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th November 2010, 15:51
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
Default bayes: cannot open bayes databases

I have moved my Ispconfig 2 setup to a new server.
Then I get errors in mail.warn but it lokks as it works any way, both I and oter accounts get their mail.
The errors is like this:
spamd[6520]: bayes: cannot open bayes databases /var/www/web6/.spamassassin/bayes_* R/O: tie failed:
spamd[6520]: bayes: bayes db version 0 is not able to be used, aborting! at /usr/share/perl5/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
spamd[2657]: auto-whitelist: open of auto-whitelist file failed: auto-whitelist: cannot open auto_whitelist_path /var/www/web50/user/web50_****/.spamassassin/auto-whitelist: No such file or directory

The files is there and it is the same user as at the old server.
One thing I suspect is the DB_version.

When i run:
spamassassin 2>&1 -D --lint | less
The old server has: DB_File, version 1.814
And the new server has: DB_File, version 1.82

Is there some solution to this?
Reply With Quote
Sponsored Links
  #2  
Old 1st December 2010, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Which distributions do you use on the old and the new server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st December 2010, 14:34
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
Default

Hi.

I use Ubuntu 8.04 and Ispconfig 2.2.37.
The same on both the old and new server.
Reply With Quote
  #4  
Old 2nd December 2010, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
ls -la /var/www/web6/.spamassassin/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd December 2010, 16:34
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
Default

On the new server:
-rw------- 1 web6_tevensso web6 335872 2010-12-01 01:01 auto-whitelist
-rw------- 1 web6_tevensso web6 32688 2010-01-08 14:31 bayes_journal
-rw------- 1 web6_tevensso web6 1318912 2010-01-08 13:56 bayes_seen
-rw------- 1 web6_tevensso web6 5234688 2010-01-08 13:56 bayes_toks
lrwxrwxrwx 1 root root 44 2010-11-25 21:41 user_prefs -> /var/www/web6/user/web6_tevensso/.user_prefs

On the old server:
-rw------- 1 web6_tevensso web6 335872 2010-01-08 14:31 auto-whitelist
-rw------- 1 web6_tevensso web6 32688 2010-01-08 14:31 bayes_journal
-rw------- 1 web6_tevensso web6 1318912 2010-01-08 13:56 bayes_seen
-rw------- 1 web6_tevensso web6 5234688 2010-01-08 13:56 bayes_toks
lrwxrwxrwx 1 root root 44 2009-08-19 15:58 user_prefs -> /var/www/web6/user/web6_tevensso/.user_prefs
Reply With Quote
  #6  
Old 3rd December 2010, 17:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

The permissions are identical. Maybe the different versions of DB_File are really the problem...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 6th December 2010, 11:32
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I have follwed the same Perfect setup guide on both servers.
Is there a way to update the files to the same version?
Reply With Quote
  #8  
Old 7th December 2010, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Maybe you can find the .deb package of DB_File in /var/cache/apt/archives on the old server and install it on the new one.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 7th December 2010, 15:44
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I tryed to run apt-get update, apt-get upgrade on the old server to se if the DB-files would be updated but the DB_file version is still 1.814.
I thougt that it could be that mistake I did before changen to a new server.

In the new server there is a folder:
/root/.cpan/build/DB_File-1.820
But that folder does not exist on the old server.

The new server also has these folders there:
Digest-SHA1-2.13
Digest-SHA-5.48
HTML-Parser-3.68
Net-DNS-0.66

The old server only has this folder:
NetAddr-IP-4.030

Isn't that somethin that ISPconfig creates during setup?
Both servers has ispconfig ver 2.2.37
Reply With Quote
  #10  
Old 7th December 2010, 16:49
newfield_no1 newfield_no1 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 2
Thanked 3 Times in 2 Posts
 
Default

I am looking at the guide for perfect setup of ubuntu 8.04 and the guide Here:

http://www.ispconfig.org/ispconfig-2...r-ispconfig-2/

And then I found the difference.
At the old server there was no problems when I tested:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

But when I set up the new server there was some error so I had to install the Perl modules discribed there.

I have done the same thing at the old server now and then I got DB_File, version 1.82 at that now.

But I dont know if the userfiles are updated and how can I copy all the userfiles from the old server to the new?
Is it possible?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem 100% CPU ispconfig_httpd -DSSL Captain Installation/Configuration 7 8th March 2010 22:50
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
open ports rayit General 6 18th January 2006 15:23


All times are GMT +2. The time now is 05:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.