- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error with sendmail cannot open /etc/mail/send...
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
01-23-2003 09:11 AM
01-23-2003 09:11 AM
Error with sendmail cannot open /etc/mail/sendmail.cw:
I have two rp7400 with HP-UX 11.11 in Cluster.
I can use sendmail in the first server but in the second one i get the next error message:
cluster02:/etc->sendmail -v my_email@any.com
/etc/mail/sendmail.cf: line 0: WARNING: World writable directory /etc
/etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.cw: World writable directory
I looked for the process but it was not runnig, so i tryed to start it with the command
/sbin/init.d/sendmail start
But it does not start
Before this I compared the first node of the cluster file's
/etc/mail/sendmail.cf
/etc/mail/sendmail.cw
with the same files on the second node, i found differences only in the node name and the sendmail daemon process id .
Also I read the /var/admin/syslog/mail.log file and i found that the second node has had the same problem since it was installed.
I hope your answers
Thanks....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 09:19 AM
01-23-2003 09:19 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
What does /etc/nsswtich.conf file look at.
On the security standpoint, the directory /etc/mail should not be world writable.
There should be error messages in /var/admin/syslog/syslog.log when the sendmail daemon doesn't start, you should look there and post them up.
Same problem on both boxes means its probably related to network configuration.
Seeing the errors would really help in this case.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 09:41 AM
01-23-2003 09:41 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
Looks like a permission issue.
Match the permission on both the nodes on cluster
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 10:46 AM
01-23-2003 10:46 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
/etc/mail/sendmail.cf: line 0: WARNING: World writable directory /etc
/etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.cw: World writable directory
The /etc/mail/* files have the same permissions in both servers but one can run sendmail and the other cannot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 10:49 AM
01-23-2003 10:49 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
What the error is complaining about is the perms on /etc
/etc should be
dr-xr-xr-x (555) bin:bin
It's a security threat for /etc to be world writable as there's nothing in there that comman users need to write. It's all config type stuff that ONLY root should be able to write.
Suspect that if both systems have perms on /etc the same, then you have diff sendmail vers & the newer is the complainer.
Sendmail has been steadily hardening itself thru the years.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 09:23 AM
01-24-2003 09:23 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2003 09:33 AM
01-24-2003 09:33 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
The /etc/mail directory should have read-execute permissions across the board (555), and also have both owner and group set to bin.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 04:50 AM
03-09-2006 04:50 AM
Re: Error with sendmail cannot open /etc/mail/sendmail.cw:
Thank you all for responding to the first request for help - it helped me to and I'm greatful for your assistance.
Have a wonderful day!
Tom