LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2005, 07:11 AM   #1
vcvinith
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
Question Starting sendmail service on Redhat 3.0, gives an error


Hi,

When giving the command "service sendmail start" to start the sendmail on Redhat 3.0, encountering the following error.

Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 571: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]

The persmission on /etc/mail is 755, and for /etc/mail/local-host-names and /etc/mail/trusted-users is 644.

Another Redhat 3.0 server having the same Sendmail RPM seems to start sendmail properly.

Please help, with resolving this issue with starting the sendmail service.

Thanks,

Vinith
 
Old 05-03-2005, 04:05 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.

Remove write permissions for 'other users' from the two files, then try to start sendmail again.
 
Old 05-04-2005, 02:26 AM   #3
vcvinith
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the help. But, even after removing Write permission for other users, on these 2 files, it gives the same error.

Also, current rpm level for sendmail is as follows-
rpm -qa|grep -i sendmail
sendmail-cf-8.12.11-4.RHEL3.1
sendmail-8.12.11-4.RHEL3.1

Any Other suggestion to resolve this issue.

Thanks,

Vinith
 
Old 05-11-2005, 05:05 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Please show us how the permissions of the files look like now.
 
Old 05-12-2005, 12:57 AM   #5
vcvinith
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

The permission of the files in /etc/mail is pasted below-
-rwxrwxrwx 1 root root 331 Jun 30 2004 access
-rwxrwxrwx 1 root root 12288 Apr 13 20:21 access.db
-rwxrwxrwx 1 root root 0 Jun 30 2004 domaintable
-rwxrwxrwx 1 root root 12288 Apr 13 20:21 domaintable.db
-rwxrwxrwx 1 root root 5588 Jun 30 2004 helpfile
-rw-r--r-- 1 root root 64 Jun 30 2004 local-host-names
-rwxrwxrwx 1 root root 0 Jun 30 2004 mailertable
-rwxrwxrwx 1 root root 12288 Apr 13 20:21 mailertable.db
-rwxrwxrwx 1 root root 1032 Jun 30 2004 Makefile
-rwxrwxrwx 1 root root 57535 Apr 13 20:21 sendmail.cf
-rwxrwxrwx 1 root root 5978 Jun 30 2004 sendmail.mc
drwxrwxrwx 2 root root 4096 Apr 13 20:21 spamassassin
-rwxrwxrwx 1 root root 628 Apr 13 20:21 statistics.rpmsave
-rwxrwxrwx 1 root root 39181 Jun 30 2004 submit.cf
-rwxrwxrwx 1 root root 952 Jun 30 2004 submit.mc
-rw-r--r-- 1 root root 127 Jun 30 2004 trusted-users
-rwxrwxrwx 1 root root 0 Jun 30 2004 virtusertable
-rwxrwxrwx 1 root root 12288 Apr 13 20:21 virtusertable.db


Thanks
 
Old 05-19-2005, 10:14 AM   #6
lobo1
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
Same sendmail problem

I am having exactly the same problem and error as Vcvinith. Have you been able to resolve the problem yourself? If anyone knows why this is happening, would really appreciate your help. I am using Redhat 9.
 
Old 05-19-2005, 10:58 AM   #7
lobo1
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
sendmail error

I believe I found the solution on another thread. Try also making /etc have permissions of 755 so it is the same as /etc/mail. I made this change and sendmail started without any errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error starting NetBackup: Cannot connect to the NB-Java authentication service charleycat Linux - Software 1 05-25-2005 09:13 AM
how to configure sendmail service in redhat linux8.0 yodhakishore Red Hat 0 04-15-2004 07:26 AM
Error Starting httpd Service - Please Help Speednow Linux - Networking 3 05-24-2003 03:10 PM
Error Starting httpd Service - Please Help Speednow Linux - Newbie 0 05-24-2003 02:16 PM
Redhat 7.1 Sendmail/smtpd not starting warath Linux - Networking 2 10-11-2001 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration