Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix aliases.db error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Nov 13, 2007 7:18 am    Post subject: postfix aliases.db error [solved] Reply with quote

I get this postfix error in /var/log/messages

Code:
Nov 13 07:13:25 saturn postfix/local[25991]: fatal: open database /etc/mail/aliases.db: No such file or directory


How can I fix it.

Thanks in advance for the help.


Last edited by jonfr on Tue Nov 13, 2007 9:39 am; edited 1 time in total
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Tue Nov 13, 2007 8:00 am    Post subject: Reply with quote

Check that the path to your aliases file is correct in your main.cf file
to start with. Perhaps there is a broken symlink or something that may also
be causing the problem.

There are a couple of other things that may be causing this but they seem
unlikely to me (file system corruption etc.)

-m
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Nov 13, 2007 9:33 am    Post subject: Reply with quote

Check that
Code:
/etc/mail/aliases
exists (it should, it is part of net-mail/mailbase) and execute
Code:
# newaliases
to create the missing file.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein


Last edited by Chris W on Tue Nov 13, 2007 10:19 am; edited 1 time in total
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Nov 13, 2007 9:39 am    Post subject: Reply with quote

It's here.

Code:
ls /etc/mail
aliases  aliases.db


I use webmin to control postfix, I think I did fix it with it. But at least it is fixed.
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Nov 13, 2007 10:20 am    Post subject: Reply with quote

Could be a permission problem on the aliases.db file.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Nov 13, 2007 10:23 am    Post subject: Reply with quote

No, the file wasn't there when I got the error messages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum