Sendmail will not start on Slackware 10.2
I'm unable to get sendmail started on my Slackware 10.2 box. Sendmail process was running, but now for some reason it's defunct.
Here's what I get when I try to start sendmail: /etc/rc.d/rc.sendmail start Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m 451 4.0.0 /etc/mail/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/loca l-host-names': Group writable directory 451 4.0.0 /etc/mail/sendmail.cf: line 585: fileclass: cannot open '/etc/mail/tru sted-users': Group writable directory Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m I've compared directory permissions to another Slackware box and everyhthing looks the same to me... Any help would be appreciated. |
I've had a similar issue the other day, and even after
taking group-writeable away from /etc sendmail was still giving the same error. I ended up with an upgradepkg --reinstall which seemed to fix the complaints. Very odd. And that was with Slack 12.1, btw, not 10.2 ... |
After I posted this I realized that I was looking at the wrong box. The Slackware box I'm having trouble with is v.11.0, running Sendmail v.8.13.8.
Problem is, I'm a total Noobie and don't know the correct syntax of the command upgradepkg --reinstall ??? What is the location of the sendmail package that I need to upgrade if it was initially installed with Slackware 11? thanks for any help. |
It would be on the CD1. But you may want to check for fixes online,
Slack11 is a tad old ... http://www.slackware.com/getslack Find the closest mirror, go to patches, packages and grab anything you know to have installed ... Cheers, Tink |
when I run upgradepkg do I need to specify the old sendmail.tgz file or just the one I'm upgrading to?
thanks |
The latter ...
upgradepkg needs to be pointed at the file you want to use for the upgrade-process. |
That took care of the problem... Thanks a bunch.
Dave |
Glad it fixed it - but I'd rather understand WHY this happens :}
Cheers, Tink |
/etc/mail should be owned by root:root by default and it should have permissions 755 or -rwx-r-xr-x
The remaining default files should have these permissions: Code:
-rw-r--r-- 1 root root 486 May 13 2003 Makefile Now it's time to drop sendmail and install/configure Postfix instead :p |
Well the thing is that on my system it made no difference. The perms
were as expected, and it kept swearing at me even after I had made /etc have no perms for group. After a re-install the problem went away, oddly enough. But I second the postfix notion, it's much nicer to configure, and far less cryptic in its errors :} |
Quote:
Quote:
|
Quote:
|
This could be because sendmail checks all of the directories in that path, including "/". You should have the following permissions for the error to stop:
Code:
ls -ld / /etc /etc/mail |
Unnnf ... :D Should have checked that, huh ..
|
All times are GMT -5. The time now is 09:47 AM. |