PDA

View Full Version : Problem with aliases.db


marvin_ita
14th February 2010, 07:37 PM
Hello,
I'm trying to regenerate the aliases database, but all I get is this error:
[root@Algol marvin]# /usr/bin/newaliases
/etc/aliases.db: Invalid type 5 specified
Cannot open hash database /etc/aliases.db: Invalid argument
WARNING: cannot open alias database /etc/aliases
Cannot create database for alias file /etc/aliases
[root@Algol marvin]# file /etc/aliases.db
/etc/aliases.db: empty

Seems that the aliases database is empty.... and I have no idea how to proceed.

Is it just me or is a rawhide bug? In F11 it worked.

Mattia

SlowJet
14th February 2010, 08:16 PM
Is /etc/aliases empty?
If not try running newaliases from /etc

SJ

marvin_ita
15th February 2010, 08:59 AM

Thank you SlowJet,
no, /etc/aliases is not empty... you can see it in the file attached.
The only thing I changed is the last line, where all root mail is forwarded to my user. But also with the original file I get the error.

However the root mail is forwarded to my user even with the aliases.db empty... strange.