View previous topic :: View next topic |
Author |
Message |
jonfr Veteran

Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Nov 13, 2007 7:18 am Post subject: postfix aliases.db error [solved] |
|
|
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 |
|
 |
di1bert l33t


Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Tue Nov 13, 2007 8:00 am Post subject: |
|
|
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 |
|
 |
Chris W l33t


Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Tue Nov 13, 2007 9:33 am Post subject: |
|
|
Check that exists (it should, it is part of net-mail/mailbase) and execute 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 |
|
 |
jonfr Veteran

Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Nov 13, 2007 9:39 am Post subject: |
|
|
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 |
|
 |
Chris W l33t


Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Tue Nov 13, 2007 10:20 am Post subject: |
|
|
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 |
|
 |
jonfr Veteran

Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Nov 13, 2007 10:23 am Post subject: |
|
|
No, the file wasn't there when I got the error messages. |
|
Back to top |
|
 |
|