[NBLUG/talk] Init script stoped working in debian.

Dean A. Roman droman at romansys.com
Mon Jan 31 13:13:56 PST 2005


> 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.








More information about the talk mailing list