On Tue, 26 Dec 2006, Fourat Zouari wrote:
Ok, so you're still seenig the same start-stop-daemon error :(
what is the output of:
$ls -l `which start-stop-daemon`
here, I see
-rwxr-xr-x 1 root root 18504 Oct 13 06:41 /sbin/start-stop-daemon
dev:~# which start-stop-daemon
/usr/local/sbin/start-stop-daemon
dev:~# dpkg -S `which start-stop-daemon`
dpkg: /usr/local/sbin/start-stop-daemon introuvable.
It's in frensh, it says that the file doesn't exist, strange !! see :
dev:~# ls -l `which start-stop-daemon`
-rwxr-xr-x 1 root staff 29991 2006-12-21 23:07
/usr/local/sbin/start-stop-daemon
the file does exist !
dev:~# whereis start-stop-daemon
start-stop-daemon: /sbin/start-stop-daemon /usr/local/sbin/start-stop-daemon
/usr/share/man/man8/start-stop-daemon.8.gz
so, you have somehow managed to have a localized start-stop-daemon
Do things work ok if you remove /usr/local/sbin from your path ?
sh -x /etc/init.d/sendmail start
[...]
+ START_MTAL_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/sendmail.pid --exec
/usr/sbin/sendmail-mta --startas /usr/sbin/sendmail-mta
--start'
+ STOP_MTAL_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/sendmail.pid --name
sendmail-mta --stop'
+ SIGNAL_MTAL_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/sendmail.pid --name
sendmail-mta --stop'
+ START_MTAQ_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/queue.pid --make-pidfile --exec
/usr/sbin/sendmail-mta --startas
/usr/sbin/sendmail-mta --start'
+ STOP_MTAQ_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/queue.pid --name
sendmail-mta --stop'
+ SIGNAL_MTAQ_CMD='start-stop-daemon --pidfile
/var/run/sendmail/mta/queue.pid --name
sendmail-mta --stop'
+ START_MSP_CMD='start-stop-daemon --pidfile
/var/run/sendmail/msp/sendmail.pid --exec
/usr/sbin/sendmail-msp --startas /usr/sbin/sendmail-msp
--chuid smmsp --start'
+ STOP_MSP_CMD='start-stop-daemon --pidfile
/var/run/sendmail/msp/sendmail.pid --name
sendmail-msp --stop'
+ SIGNAL_MSP_CMD='start-stop-daemon --pidfile
/var/run/sendmail/msp/sendmail.pid --name
sendmail-msp --stop'
[...]
Ok, these clearly indicate that both --pidfile *and* --exec are
being passed to start-stop-daemon.
[...]
++ tail -n 1 /var/run/sendmail/mta/sendmail.pid
+ COMMAND='/usr/sbin/sendmail-mta -Am -L sm-mta -bd -q10m'
++ ps --no-heading 25156
+ '[' '!' -z '25156 ? Ss 0:00 sendmail: MTA: accepting
connections ' ']'
This says you already have an instance of sendmail running !?!
Something seems broken on your end...
--
Rick Nelson
Microsoft Corp., concerned by the growing popularity of the free 32-bit
operating system for Intel systems, Linux, has employed a number of top
programmers from the underground world of virus development. Bill Gates stated
yesterday: "World domination, fast -- it's either us or Linus". Mr. Torvalds
was unavailable for comment ...
-- Robert Manners, [EMAIL PROTECTED], in comp.os.linux.setup
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]