- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail aliases db wierd error..
Operating System - HP-UX
1823908
Members
3257
Online
109666
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:53 AM
тАО07-21-2003 11:53 AM
Sendmail aliases db wierd error..
Jul 21 15:35:59 ewbs1 sendmail[10538]: h6LJZxo10536: SYSERR(root): Cannot open hash database /etc/mail/aliases.db: Invalid argument
Any advice?
Any advice?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 11:58 AM
тАО07-21-2003 11:58 AM
Re: Sendmail aliases db wierd error..
system2:/etc/mail # /sbin/init.d/sendmail start
hash map "Alias0": unsafe map file /etc/mail/aliases
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail
system2:/etc/mail #
Also getting this when I restart sendmail.
hash map "Alias0": unsafe map file /etc/mail/aliases
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail
system2:/etc/mail #
Also getting this when I restart sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 12:04 PM
тАО07-21-2003 12:04 PM
Re: Sendmail aliases db wierd error..
I believe you have a permissions problem in /etc/mail. For the directory /etc/mail should be:
drwxr-xr-x 2 root bin 8192 Jul 15 09:27 /etc/mail
Then for the contents of /etc/mail
chpama01:[ /etc/mail ]
root> ll
total 160
-rw-r--r-- 1 bin bin 880 Nov 14 2000 aliases
-rw-r--r-- 1 root mail 24576 Jul 16 2002 aliases.db
-rw-r--r-- 1 root sys 0 Jul 15 09:27 aliases.dir
-rw-r--r-- 1 root sys 1024 Jul 15 09:27 aliases.pag
I think you have an older version of sendmail and you may want to upgrade it. The above perms are for sendmail v 8.12.x
drwxr-xr-x 2 root bin 8192 Jul 15 09:27 /etc/mail
Then for the contents of /etc/mail
chpama01:[ /etc/mail ]
root> ll
total 160
-rw-r--r-- 1 bin bin 880 Nov 14 2000 aliases
-rw-r--r-- 1 root mail 24576 Jul 16 2002 aliases.db
-rw-r--r-- 1 root sys 0 Jul 15 09:27 aliases.dir
-rw-r--r-- 1 root sys 1024 Jul 15 09:27 aliases.pag
I think you have an older version of sendmail and you may want to upgrade it. The above perms are for sendmail v 8.12.x
If it has wheels or a skirt, you can't afford it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 12:19 PM
тАО07-21-2003 12:19 PM
Re: Sendmail aliases db wierd error..
Hi can you go to /etc/mail
and in that dir you should have a file called aliases. Look at it. Default should look like so below.
# Alias for mailer daemon
MAILER-DAEMON : root
# RFC 822 requires that every host have a mail address "postmaster"
postmaster : root
# Aliases to handle mail to msgs and news
nobody : /dev/null
# System Admistration aliases
operator : root
uucp : root
daemon : root
# Local aliases
# end of file
Now if your file does not look like that make sure it is the right format. Depending on what you are trying to do you usualy dont need an alias unless you want email for a specific user to go to another mailbox. If that is the case post your file and we can help you fix it.
If your file does not look like the default you can do the following..
Make backups of the existing files just incase:
mv aliases aliases.ol
mv aliases.db aliases.db.old
Copy the default aliases file to the /etc/mail dir.
cp /usr/newconfig/etc/mail/aliases /etc/mail/
rebuild the aliases file using the newaliases command:
newaliases
that will rebuild your aliases.db from the new aliases file.
you can also restart sendmail.
Let us know..
Richard
and in that dir you should have a file called aliases. Look at it. Default should look like so below.
# Alias for mailer daemon
MAILER-DAEMON : root
# RFC 822 requires that every host have a mail address "postmaster"
postmaster : root
# Aliases to handle mail to msgs and news
nobody : /dev/null
# System Admistration aliases
operator : root
uucp : root
daemon : root
# Local aliases
# end of file
Now if your file does not look like that make sure it is the right format. Depending on what you are trying to do you usualy dont need an alias unless you want email for a specific user to go to another mailbox. If that is the case post your file and we can help you fix it.
If your file does not look like the default you can do the following..
Make backups of the existing files just incase:
mv aliases aliases.ol
mv aliases.db aliases.db.old
Copy the default aliases file to the /etc/mail dir.
cp /usr/newconfig/etc/mail/aliases /etc/mail/
rebuild the aliases file using the newaliases command:
newaliases
that will rebuild your aliases.db from the new aliases file.
you can also restart sendmail.
Let us know..
Richard
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP