This is a newly installed stable machine, cvsupped and rebuilt this weekend. I have installed postfix with amavisd-new and clamav. They are all set for startup in /etc/rc.conf and sendmail is appropriately marked out, I have set up quite a few of these in the recent past. However neither amavis, clamav or postfix start automatically, they can all be started manually. I have turned on rc_debug, but they are not mentioned at all, their scripts are all in /usr/local/etc/rc.d. The only script mentioned in the debug output is fetchmail, which is not enabled in the rc.conf. They are all freshly install from ports. Where can I start looking to get this running? -- Bill
On Thu, Aug 09, 2007 at 10:46:06PM +0100, Bill Smith wrote:> This is a newly installed stable machine, cvsupped and rebuilt this weekend. > I have installed postfix with amavisd-new and clamav. > They are all set for startup in /etc/rc.conf and sendmail is appropriately marked out, I have set up quite a few of these in the recent past. > However neither amavis, clamav or postfix start automatically, they can all be started manually. > I have turned on rc_debug, but they are not mentioned at all, their scripts are all in /usr/local/etc/rc.d. The only script mentioned in the debug output is fetchmail, which is not enabled in the rc.conf. > They are all freshly install from ports. > Where can I start looking to get this running?Sounds like a broken /etc/rc.subr. Are you sure you "rebuilt" the box correctly, following the procedures in /usr/src/Makefile in the correct order? mergemaster sounds like it may have been missed... Just a shot in the dark. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On Thu, Aug 09, 2007 at 10:46:06PM +0100, Bill Smith wrote:> This is a newly installed stable machine, cvsupped and rebuilt this weekend. > I have installed postfix with amavisd-new and clamav. > They are all set for startup in /etc/rc.conf and sendmail is appropriately marked out, I have set up quite a few of these in the recent past. > However neither amavis, clamav or postfix start automatically, they can all be started manually. > I have turned on rc_debug, but they are not mentioned at all, their scripts are all in /usr/local/etc/rc.d. The only script mentioned in the debug output is fetchmail, which is not enabled in the rc.conf. > They are all freshly install from ports. > Where can I start looking to get this running?Output of "rcorder /etc/rc.d/* /usr/local/etc/rc.d/*" would be where I'd look next. Probably save it to a file (normal stdout redirection). Peace, david -- David H. Wolfskill david@catwhisker.org Anything and everything is a (potential) cat toy. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070810/c7db9049/attachment.pgp
On Thu, 9 Aug 2007 22:46:06 +0100 Bill Smith <bill@saturn.rakupottery.org.uk> wrote:> However neither amavis, clamav or postfix start automatically, they can all be started manually.you mean that postfix starts if you log in to the box and issue: /usr/local/etc/rc.d/postfix start shot in the dark ^2 : something missing in the environment provided by the rc subsystem but OK in your shell - paths ? library paths? _________________________ {Beto|Norberto|Numard} Meijome "Software is like sex, its better when its free" Linus Torvalds I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
On Thu, 9 Aug 2007, Bill Smith wrote:> This is a newly installed stable machine, cvsupped and rebuilt this weekend. > I have installed postfix with amavisd-new and clamav. > They are all set for startup in /etc/rc.confFor each of the scripts, what is the output of: /usr/local/etc/rc.d/SCRIPT rcvar Doug -- This .signature sanitized for your protection
Doug Barton wrote:> On Thu, 9 Aug 2007, Bill Smith wrote: > >> This is a newly installed stable machine, cvsupped and rebuilt this >> weekend. >> I have installed postfix with amavisd-new and clamav. >> They are all set for startup in /etc/rc.conf > > For each of the scripts, what is the output of: > /usr/local/etc/rc.d/SCRIPT rcvar > > Doug ># amavisd $amavisd_enable=YES # clamav_clamd $clamav_clamd_enable=YES # clamav_freshclam $clamav_freshclam_enable=YES # postfix $postfix_enable=YES -- - Bill
Norberto Meijome wrote:> On Thu, 9 Aug 2007 22:46:06 +0100 > Bill Smith <bill@saturn.rakupottery.org.uk> wrote: > > >> However neither amavis, clamav or postfix start automatically, they can all be started manually. >> > > you mean that postfix starts if you log in to the box and issue: > > /usr/local/etc/rc.d/postfix start >yes, no problem at all> shot in the dark ^2 : something missing in the environment provided by the rc subsystem but OK in your shell - paths ? library paths? > > _________________________ > {Beto|Norberto|Numard} Meijome > > "Software is like sex, its better when its free" > Linus Torvalds > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >-- - Bill
> This is a newly installed stable machine, cvsupped and rebuilt this weekend. > I have installed postfix with amavisd-new and clamav. > They are all set for startup in /etc/rc.conf and sendmail is appropriately marked out, I have set up quite a few of these in the recent past.I assume it's postfix_enable="YES" and yes for the other options and sendmail_enable="NONE"?> However neither amavis, clamav or postfix start automatically, they can all be started manually. > I have turned on rc_debug, but they are not mentioned at all, their scripts are all in /usr/local/etc/rc.d. The only script mentioned in the debug output is fetchmail, which is not enabled in the rc.conf. > They are all freshly install from ports. > Where can I start looking to get this running?What does /usr/local/etc/rc.d/postfix rcvar say? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare
Doug Barton wrote:> On Fri, 10 Aug 2007, Bill Smith wrote: > >> Thanks Doug, I ran mergemaster (again), I seemed to have missed out >> FILESYSTEMS, my fault for not paying enough attention to detail and >> being in a hurry, which I am not usually. >> It is now fully functional. > > Glad it worked out for you! FWIW, I have the following in my > .mergemasterrc file since pretty much day 1: > > AUTO_INSTALL=yes > > Might be worth a shot. > > Doug >cheers, I will give that a crack! -- - Bill