[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] sh: /usr/lib/sendmail: No such file or directory



Cedric Haindl wrote:

> my beloved shiny little Cobalt RaQ4r just sent me this one at 4 o'clock in
> the morning:
> 
> subject:Cron <root@webbox> run-parts /etc/cron.daily
> sh: /usr/lib/sendmail: No such file or directory
> 
> Has anyone ever heard of this one? There is no sendmail in this directory
> obviously.

On my RaQ3i, /usr/lib/sendmail is a symbolic link to /usr/sbin/sendmail,
which is the executable sendmail program.

> I must admin that I deleted a site yesterday (but I did that
> before too) and installed Urchin (a weblog analyzer).

Shouldn't have affected anything.

Do the following:

$ ls -al /usr/sbin/sendmail

and see if you get anything.  Presuming you do, then everything is
alright.  If not, then everything may still be alright, except that your
RaQ4 may be set up differently from my RaQ3i.

Do you know what program set up the cronfile?  Of course not <frown>;
that's the disadvantage of automatic installs.

So do this:

$ ls -al /etc/cron.daily

and see if there's a file with a recent date on it; that's probably the
culprit.

Or you can look through all the files.  Depending on what they do, you
can either remove the offending file (which will stop the functionality
included in that file, if it's not important), or you can create a
symbolic link in /usr/lib, to /usr/sbin/sendmail.  To learn more, try

$ man ln

> I sent them a mail
> already,

who is "them"?

> but just in case, that this is a common problem I dare to ask here
> as well

I've never seen it before, but I don't have a RaQ4.

Commercial help available if you require it.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205