- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to start sendmail..Please help.
Categories
Company
Local Language
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
Discussions
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
Community
Resources
Forums
Blogs
- 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
12-10-2000 11:12 PM
12-10-2000 11:12 PM
Unable to start sendmail..Please help.
When we invoke 'newaliases' it comes out with the following error.
----------
warning: cannot lock /etc/mail/aliases: Error 0
hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied
dbm map "Alias0": unsafe map file /etc/mail/aliases: Permission denied
WARNING: cannot open alias database /etc/mail/aliases
Cannot create database for alias file /etc/mail/aliases
------------------------
Due to this, we are unable to start the sendmail daemon also, as it invokes newaliases before starting.
We came to know of this error only when the system rebooted last time.
The system is updated with the latest patches. We have tried copying the aliases file from a different system ans also verified the file & directory permissions.. Still it did not work.
Can someone help us please?
Thanks,
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 12:34 AM
12-11-2000 12:34 AM
Re: Unable to start sendmail..Please help.
/etc/mail/aliases.*
Correct it with
chown root:mail /etc/mail/aliases.*
chmod 644 /etc/mail/aliases.*
Then run newaliases again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 02:16 AM
12-11-2000 02:16 AM
Re: Unable to start sendmail..Please help.
644, owner root, group sys.
Don't copy any aliases.db files from another system.
Stop and restart sendmail(/sbin/init.d/sendmail stop/start) This will also run newaliases command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 02:17 AM
12-11-2000 02:17 AM
Re: Unable to start sendmail..Please help.
644, owner root, group sys.
Don't copy any aliases.db files from another system.
Stop and restart sendmail(/sbin/init.d/sendmail stop/start) This will also run newaliases command.
You can also download and install the new sendmail patch (PHNE_22672 for 10.20)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 02:24 AM
12-11-2000 02:24 AM
Re: Unable to start sendmail..Please help.
As mentioned in my question, I had already tried changing the permissions of aliases & aliases.db files.
This has not helped us in resolving this problem.
Please help us.
Thanks,
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 03:52 AM
12-11-2000 03:52 AM
Re: Unable to start sendmail..Please help.
dr-xr-xr-- 2 bin bin,
If it?s set like above it can?t create a file in the directory, it should be like:
dr-xr-xr-x 2 bin bin
Test by creating a file in /etc and in /etc/mail, with the touch command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 05:56 AM
12-11-2000 05:56 AM
Re: Unable to start sendmail..Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 06:15 AM
12-11-2000 06:15 AM
Re: Unable to start sendmail..Please help.
dr-xr-xr-x 2 bin bin 1024 May 10 13:43 /etc/mail
-rw-r--r-- 1 root sys 835 Aug 30 1999 /etc/mail/aliases
-rw-r--r-- 1 root mail 32768 May 10 13:43 /etc/mail/aliases.db
/sbin/init.d/sendmail stop Re-start it using: /sbin/init.d/sendmail start and run: sendmail -q -v to force immediate processing of sendmail's message queue.
Berlene