Re: [supervise] <defunct>

rahlf <[email protected]> Tue, 10 Jul 2007 00:21:13 -0700 (PDT)
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>


Alain Wolf-2 wrote:
> 
> rahlf wrote, On 2007-07-09 15:37:
>> Hi all!
>> 
>> I've been trying to set up a couple of zope instances with daemontools.
>> For some reason they just won't start up.
>> 
>>  2313 ?        Ss     0:00 /bin/sh /command/svscanboot
>>  2320 ?        S      0:00  \_ svscan /service
>> 2334 ?        S      0:07  |   \_ supervise zopeInstanz13log
>> 13195 ?        Z      0:00  |   |   \_ [supervise] <defunct>
>>  2336 ?        S      0:07  |   \_ supervise log
>> 13190 ?        Z      0:00  |   |   \_ [supervise] <defunct>
>>  2338 ?        S      0:07  |   \_ supervise zopeInstanz16log
>> 13192 ?        Z      0:00  |   |   \_ [supervise] <defunct>
>> 2363 ?        S      0:07  |   \_ supervise zopeInstanz13
>> 13191 ?        Z      0:00  |   |   \_ [supervise] <defunct>
>>  2366 ?        S      0:07  |   \_ supervise zopeInstanz16
>> 13193 ?        Z      0:00  |   |   \_ [supervise] <defunct>
>>  2367 ?        S      0:07  |   \_ supervise log
>> 13196 ?        Z      0:00  |       \_ [supervise] <defunct>
>>  2321 ?        S      0:05  \_ readproctitle service errors: ...l:
>> unable to start zopeInstanz13/run: exec format error?supervise: fatal:
>> unable to start zopeInstanz16log/run: exec format error?supervise:
>> fatal: unable to start zopeInstanz16/run: exec format error?supervise:
>> fatal: unable to start log/run: exec format error?supervise: fatal:
>> unable to start zope Instanz13log/run: exec format error?supervise:
>> fatal: unable to start log/run: exec format error?
>> 
>> How can I find out what's wrong?
>> 
>> Cheers,
>> Sebastian 
>> 
> 
> Hello Sebastian
> Hard to tell, without more information.
> Can you show us your run scripts?
> Can you submit the commands in your run scripts without errors from a
> command line by hand?
> 
> Greetings
> Alain
> 
> 
> 

Hi Alain,

the run scripts execute without problem. I have one for zope

--------------------------------------------------
exec 2>&1
ulimit -v $MAXMEM
ulimit -a
echo "------- start by supervise -------"
PATH=/command:$PATH:/usr/local/bin
umask 077
/bin/date | /usr/bin/mail -s "`uname` zopeInstanz13-restart!" root
exec setuidgid zope /web/zopeInstanz13/bin/runzope
--------------------------------------------------

and one for a logging process.

--------------------------------------------------
exec < /web/zopeInstanz13/log/Z2.log
exec /usr/local/bin/setuidgid zopelog /usr/local/bin/multilog t n5 \
        /web/logs/zopeInstanz13access
--------------------------------------------------

Both fire up and don't show any behaviour out of the normal.

What am I not seeing?

Cheers,
Sebastian
-- 
View this message in context: http://www.nabble.com/-supervise--%3Cdefunct%3E-tf4049366.html#a11515995
Sent from the cr.yp.to - log mailing list archive at Nabble.com.