- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to start sendmail due to permission iss...
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
Discussions
Discussions
Forums
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
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
тАО09-27-2012 01:41 AM
тАО09-27-2012 01:41 AM
Unable to start sendmail due to permission issues
Hi Everyone,
I am having problems starting my sendmail.
# /sbin/init.d/sendmail start
451 4.0.0 /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
Unable to start Sendmail
For more information see /var/adm/syslog/mail.log
syslog contents:
# tail /var/adm/syslog/mail.log
Sep 27 16:30:01 sendmail[18540]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
Sep 27 16:31:00 sendmail[18554]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
And my file permissions:
# ls -ld /etc/mail/sendmail.cw /etc/mail/ /etc/
dr-xr-xr-x 37 bin bin 8192 Sep 27 11:10 /etc/
dr-xr-xr-x 2 root sys 8192 Sep 27 10:14 /etc/mail/
-rwxr-xr-x 1 bin bin 685 Mar 28 2012 /etc/mail/sendmail.cw
Would you guys know what could be the culprit here and how to have a permanent fix for this?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2012 02:48 AM
тАО09-27-2012 02:48 AM
Re: Unable to start sendmail due to permission issues
World writable directory
Have you already tried to open permissions for 'world'?
'chmod 777 /etc/mail/sendmail.cw'
maybe also:
'chmod 777 /etc/mail'
Just test it ...
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2012 02:59 AM
тАО09-27-2012 02:59 AM
Re: Unable to start sendmail due to permission issues
okay I was just able to solve it.
Now my problem is after successfully starting the sendmail service the mailx command just hangs
myserver:/# mailx -s "TEST" name@domainmail.com
(Interrupt -- one more to kill letter)
myserver:/#
- Tags:
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2012 03:14 AM
тАО09-27-2012 03:14 AM
Re: Unable to start sendmail due to permission issues
The mailx command is not hanging - it is waiting for you to type (or pipe in) the content of the mail message!
Type something, then press Control-D to send the message and end the mailx command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2012 03:15 AM
тАО09-27-2012 03:15 AM
Re: Unable to start sendmail due to permission issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2012 03:20 AM
тАО09-27-2012 03:20 AM
Re: Unable to start sendmail due to permission issues
thanks sorry kinda new to sendmail