4.10.29 vchkpw.c:#include wait.h typo?

2001-07-12 Thread Donal Diamond


In case anyone else is having similiar problems, on freebsd I had to change the 
include in chkpw.c

from 

#include wait.h
to
#include sys/wait.h

error was :

...
gcc -I. -I/usr/local/include/mysql  -g -O2 -Wall -c vchkpw.c
vchkpw.c:30: wait.h: No such file or directory
...

Prob just a typo.

Ken, on the topic of adding supervise/svscan support, in an earlier mail I  think you 
you said you dont use it on your production machines. 

May I ask why? Are there problems with daemontools.


Regards

Donal


-- 

Donal Diamond
Eircom Multimedia Infrastructure




Re: 4.10.29 vchkpw.c:#include wait.h typo?

2001-07-12 Thread Ken Jones

Donal Diamond wrote:
 
 In case anyone else is having similiar problems, on freebsd I had to change the 
include in chkpw.c
 
 from
 
 #include wait.h
 to
 #include sys/wait.h
 
 error was :
 
 ...
 gcc -I. -I/usr/local/include/mysql  -g -O2 -Wall -c vchkpw.c
 vchkpw.c:30: wait.h: No such file or directory

Yeah, a typo, fixed.

 ...
 
 Prob just a typo.
 
 Ken, on the topic of adding supervise/svscan support, in an earlier mail I  think 
you you said you dont use it on your production machines.
 
 May I ask why? Are there problems with daemontools.

No problem. I've never seen qmail/tcpserver die, ever. Never
ever ever. really, never. And i've seen *alot* of email machines.
So I don't see any reason to have them supervised. 
Unsupervised it makes it
easier to kill them. then i don't have to learn svscan syntax :)

I was talking to one Senior admin at an ISP and his reason for
not running supervise that if qmail/tcpserver dies, then there
is something else wrong with the machine and he wants to find
out about it rather than having it be restarted. 

Ken



Re: 4.10.29 vchkpw.c:#include wait.h typo?

2001-07-12 Thread Donal Diamond

 So I don't see any reason to have them supervised. 
 Unsupervised it makes it
 easier to kill them. then i don't have to learn svscan syntax :)
 
 I was talking to one Senior admin at an ISP and his reason for
 not running supervise that if qmail/tcpserver dies, then there
 is something else wrong with the machine and he wants to find
 out about it rather than having it be restarted. 

He must be senior enough to not have to go on-call and get paged at 4:30 in the 
morning :-)

I'd prob use svok or svstat to generate an alert if fails - but still use svscan so i 
can sleep soundly. 

Then again - it's probably never failed.

Donal