Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd May 2007, 10:55
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default ISPConfig postfix problem

Hi,

Each time when I enter new user to ispconfig or save ispconfig configuration I have such error in postfix:

postfix/postmap: fatal: open database /etc/postfix/virtusertable.db: No such file or directory, but this file exists.

Each time I have to run command: postmap virtusertable

This problem started when I upgraded to latest version.
Reply With Quote
Sponsored Links
  #2  
Old 23rd May 2007, 11:23
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Which Linux distribution do you use?
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 23rd May 2007, 12:28
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

OpenSuse 10.2
Reply With Quote
  #4  
Old 24th May 2007, 15:38
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

Maybe problem is that I copied old sql tables to new installation?
Reply With Quote
  #5  
Old 24th May 2007, 16:58
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

Ok, maybe someone can explain me what ispconfig is doing with virtusertable.db file after saving configuration? Why postfix thinks that this file is missing?
Reply With Quote
  #6  
Old 24th May 2007, 17:25
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

Ok I've foung the problem:

24.05.2007 - 16:07:03 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: WARNING: could not postmap hash:/etc/postfix/virtusertable

But what could be the reason? What privileges should be on this file? Now are root:root
Reply With Quote
  #7  
Old 24th May 2007, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Please run
Code:
postmap hash:/etc/postfix/virtusertable
Do you get any error messages?
What's the output of
Code:
ls -la /etc/postfix
?
__________________
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
  #8  
Old 24th May 2007, 17:40
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

There is no error after running postmap hash:/etc/postfix/virtusertable

Output of ls -la /etc/postfix:

total 568
drwxr-xr-x 3 root root 4096 2007-05-24 18:37 .
drwxr-xr-x 86 root root 12288 2007-05-24 16:07 ..
-rw-r--r-- 1 root root 17832 2006-11-25 19:27 access
-rw-r--r-- 1 root root 12288 2007-03-15 10:30 access.db
-rw-r--r-- 1 root root 3606 2006-11-25 19:27 bounce.cf.default
-rw-r--r-- 1 root root 11175 2006-11-25 19:27 canonical
-rw-r--r-- 1 root root 12288 2007-03-15 10:30 canonical.db
-rw-r--r-- 1 root root 449 2006-11-25 19:27 dynamicmaps.cf
-rw-r--r-- 1 root root 9920 2006-11-25 19:27 generic
-rw-r--r-- 1 root root 16838 2006-11-25 19:27 header_checks
-rw-r--r-- 1 root root 11942 2006-11-25 19:27 LICENSE
-rw-r--r-- 1 root root 991 2007-05-24 16:07 local-host-names
-rw-r--r-- 1 root root 991 2007-05-24 16:07 local-host-names~
-rw-r--r-- 1 root root 27909 2007-04-02 12:12 main.cf
-rw-r--r-- 1 root root 27779 2007-03-22 10:01 main.cf.bk
-rw-r--r-- 1 root root 122 2006-11-25 19:27 main.cf.default
-rw-r--r-- 1 root root 27909 2007-05-19 20:17 main.cf.orig
-rw-r--r-- 1 root root 27450 2007-03-15 14:51 main.cf.origin
-rw-r--r-- 1 root root 1020 2006-11-25 19:27 makedefs.out
-rw-r--r-- 1 root root 3427 2007-04-23 11:02 master.cf
-rw-r--r-- 1 root root 5076 2006-10-01 19:51 master.cf.1
-rw-r--r-- 1 root root 3942 2007-03-15 10:30 master.cf.orig
-rw-r--r-- 1 root root 3432 2007-03-15 15:09 master.cf.SuSEconfig
-rw-r--r-- 1 root root 147 2007-04-25 14:45 mynetworks
-rw-r--r-- 1 root root 2255 2006-11-25 19:27 openssl_postfix.conf.in
-rw-r--r-- 1 root root 14887 2006-11-25 19:27 postfix-files
-rwxr-xr-x 1 root root 6366 2006-11-25 19:27 postfix-script
-rwxr-xr-x 1 root root 22086 2006-11-25 19:27 post-install
-rw-r--r-- 1 root root 199 2006-11-25 19:27 relay_ccerts
-rw-r--r-- 1 root root 12288 2007-03-15 10:30 relay_ccerts.db
-rw-r--r-- 1 root root 6805 2006-11-25 19:27 relocated
-rw-r--r-- 1 root root 12288 2007-03-15 10:30 relocated.db
-rw------- 1 root root 172 2007-03-22 10:16 sasl_passwd
-rw------- 1 root root 12288 2007-03-22 10:16 sasl_passwd.db
-rw------- 1 root root 172 2006-11-25 19:27 sasl_passwd.YaST2.save
-rw-r--r-- 1 root root 413 2007-03-22 10:16 sender_canonical
-rw-r--r-- 1 root root 12288 2007-03-22 10:16 sender_canonical.db
-rw-r--r-- 1 root root 412 2006-11-25 19:27 sender_canonical.YaST2.save
drwxr-xr-x 2 root root 4096 2007-04-04 12:34 ssl
-rw-r--r-- 1 root root 1629 2006-11-25 19:27 TLS_LICENSE
-rw-r--r-- 1 root root 12081 2006-11-25 19:27 transport
-rw-r--r-- 1 root root 12288 2007-03-15 10:30 transport.db
-rw-r--r-- 1 root root 11985 2007-03-22 10:16 virtual
-rw-r--r-- 1 root root 12288 2007-03-22 10:16 virtual.db
-rw-r--r-- 1 root root 11984 2006-11-25 19:27 virtual.YaST2.save
-rw-r--r-- 1 root root 30770 2007-05-24 16:07 virtusertable
-rw-r--r-- 1 root root 30770 2007-05-24 16:07 virtusertable~
-rw-r--r-- 1 root root 77824 2007-05-24 18:36 virtusertable.db
Reply With Quote
  #9  
Old 25th May 2007, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

The permissions are ok. Mine are the same.
I see that you use SuSE. Did you turn off AppArmor?
__________________
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
  #10  
Old 28th May 2007, 08:03
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
 
Default

AppArmor is turned off.
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
ISPconfig after installation cannot reach www.xyz.de:81 Figth4Linux Installation/Configuration 23 6th March 2008 22:38
ISPConfig Problem weslkers Installation/Configuration 3 20th May 2007 13:00
ISPConfig with postfix problem Chrisssssss General 30 20th January 2007 23:34
email/ftp problem after moving ispconfig mystix Installation/Configuration 3 14th September 2006 19:41
Postfix problem : read timeout DarkBen General 14 21st April 2006 12:39


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


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