[NBLUG/talk] Init script stoped working in debian.
Steve Johnson
gnuguy at gmail.com
Mon Jan 31 14:18:47 PST 2005
Dean,
Yeah thats all good, I did seem to narrow this down a little bit.. In
the script there is a line that looks like this
. /usr/share/sendmail/sendmail;
thats a dot space and then the path to sendmail.
Now that gets the ELF error... I can recreate it with another binary... example
smeagol:~# . ls
-su: ELF: command not found
Same error.. so the .<space>command seems to die..
On Mon, 31 Jan 2005 13:13:56 -0800 (PST), Dean A. Roman
<droman at romansys.com> wrote:
> > Troy Arnold
> > On Mon, Jan 31, 2005 at 12:32:12PM -0800, Steve Johnson wrote:
> >> I'm not sure when this happened, but my /etc/init.d/sendmail init
> >> script stoped working on my debian stable box, after I noticed this, I
> >> checked on my testing box, and it stopped working too.
> >>
> >> I get this when I run it.
> >>
> >> smeagol:~# /etc/init.d/sendmail stop
> >> /etc/init.d/sendmail: line 1: ELF: command not found
> >>
> >> This happens on both my testing and stable box, and yes I am logged in
> >> as root when I run the command =)
> >
> > That's interesting. Is /etc/init.d/sendmail a shell script or is it an
> > elf binary ?
> >
> > Is this sendmail installation from Debian packages or is it built from
> > source?
> >
> >
> > -troy
> >
>
> Check the first line of the /etc/init.d/sendmail script to make it has the
> shell interpreter specified....example==>> #! /bin/sh
> Also check that /usr/sbin/sendmail exists.
>
> Thanks,
> ---Dean.
>
>
--
"Knowing others is wisdom, knowing your self is Enlightenment."
-- Lao-Tzu
|C8H10N4O2|
More information about the talk
mailing list