LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Can't exec /usr/sbin/sendmail (After Kernel Install) ??
@ 2001-10-08 22:03 Peter Moscatt
2001-10-09 12:50 ` Richard B. Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Peter Moscatt @ 2001-10-08 22:03 UTC (permalink / raw)
To: Linux Kernel Mailing List
I have just recently compiled my first kernel (2.4.10)
onto my Mandrake 8.0 system.
All seems to be working fine, so I had a look at the
'dmesg' file in /var/log just to see it any errors
were appearing.
I have noticed that the following is occuring:
Oct 8 19:46:53 qld anacron[818]: Job 'cron.daily'
terminate (mailing output)
Oct 8 19:46:53 qld anacron[1302]: Can't exec
/usr/sbin/sendmail: No such file or directory
Oct 8 19:46:53 qld anacron[818]: Tried to mail output
to job 'cron.daily', but mailer process
(/usr/sbin/sendmail) exited with status 1
Oct 8 19:46:53 qld anacron[818]: Normal exit (1 jobs
run)
Is it just a matter or installing sendmail and all
will be sweet again ?
Pete
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't exec /usr/sbin/sendmail (After Kernel Install) ??
2001-10-08 22:03 Can't exec /usr/sbin/sendmail (After Kernel Install) ?? Peter Moscatt
@ 2001-10-09 12:50 ` Richard B. Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Richard B. Johnson @ 2001-10-09 12:50 UTC (permalink / raw)
To: Peter Moscatt; +Cc: Linux Kernel Mailing List
On Mon, 8 Oct 2001, Peter Moscatt wrote:
> I have just recently compiled my first kernel (2.4.10)
> onto my Mandrake 8.0 system.
>
> All seems to be working fine, so I had a look at the
> 'dmesg' file in /var/log just to see it any errors
> were appearing.
>
> I have noticed that the following is occuring:
>
> Oct 8 19:46:53 qld anacron[818]: Job 'cron.daily'
> terminate (mailing output)
> Oct 8 19:46:53 qld anacron[1302]: Can't exec
> /usr/sbin/sendmail: No such file or directory
Merely installing a new kernel should not have affected any
of the executables. First, see if the file exists:
ls -la /usr/sbin/sendmail
If it doesn't, try to find it:
which sendmail
or:
find / -name "sendmail"
If it doesn't exist, find it in your distribution and install it.
You can actually just do the following from the root account:
cp /wherever_on_distribution/sendmail /usr/sbin/sendmail
chown 0.0 /usr/sbin/sendmail
chmod 4755 /usr/sbin/sendmail
If it exists somewhere else, like /usr/sendmail, do:
ln -s /usr/sendmail /usr/sbin/sendmail
It may exist in /lost+found. If so, don't use it. It's probably
corrupt, having been put there by fsck during startup.
If it does exist, try to find out why it blows up when being
executed, do:
strace /usr/sbin/sendmail -q
If that works, try:
strace /usr/sbin/sendmail
It should print a message and wait for input if it's working. Just
^C out. It seems to work.
Otherwise, see from strace, what system call failed and report it.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-09 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08 22:03 Can't exec /usr/sbin/sendmail (After Kernel Install) ?? Peter Moscatt
2001-10-09 12:50 ` Richard B. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).