#1  
Old 27th February 2007, 12:27
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default Postifix errors

Since today i have the following error in my /var/log/mail.warn file:

warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable

I gave the command postmap /etc/postfix/virtusertable to and restarted postfix to solve the problem, but this but it does not help.

What steps can i take to solve this problem and more important, how is it possible that this suddenly occur?

***edit***

Now I've tried these commands:

updatedb
locate hosts
postmap /etc/postfix/virtusertable
/etc/init.d/postfix restart

And i verify the results...

***edit***

It's working.
The commands:

updatedb
locate hosts

did the trick.

I'm still wondering how this could happen?
Can anyone tell me more, why errors like descibed above suddenly can appear?
__________________
Hans

MrHostman | Master in managed hosting

Last edited by Hans; 27th February 2007 at 13:26.
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2007, 18:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Hans
updatedb
locate hosts
These commands do nothing but search for everything that contains the string "hosts" in the name. It does not fix anything.

If your Postfix is running chrooted, there might be a second virtusertable file (ususally /var/spool/postfix/etc/postfix/virtusertable), and maybe Postfix is complaining about that 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
  #3  
Old 1st March 2007, 13:16
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

The output of "locate virtusertable" is:

/etc/postfix/virtusertable
/etc/postfix/virtusertable.db
/root/ispconfig/isp/conf/virtusertable.master

The server has been completely setup according the setup here: http://www.howtoforge.com/perfect_setup_debian_sarge


I still do not have errors anymore, but i was interested in the cause.
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #4  
Old 2nd March 2007, 13:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Looks ok.

Maybe someone (or a script) restarted Postfix after /etc/postfix/virtusertable was modified, but before the postmap command was run?
__________________
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 March 2007, 15:18
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
 
Default

Thanks for your reply Falko,
I'll check that.
__________________
Hans

MrHostman | Master in managed hosting
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
Install Errors DarkLord00 Installation/Configuration 12 25th February 2007 17:49
MySQL connection errors drake General 9 23rd August 2006 17:57
Errors during ISP compilation gimi Installation/Configuration 4 18th July 2006 16:23
Installing 2.2.1 and stopped with errors djtremors Installation/Configuration 9 26th April 2006 22:03
PHP Errors in the "WEB-FTP" module crudolphy General 9 27th December 2005 20:17


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


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