cron mail problem solved

2009-06-15 Thread DA Forsyth
Why do I become so clever AFTER asking for help?

Anyhow, I have solved the cron not sending email problem.
The cron log file contains lines like this
NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
which when searched for produces the page at
http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors-
44.html

So I have edited my /etc/nsswitch.conf to have 
group: files
password: files
(instead of 'compat')

and now it works again.

I guess I must have installed that file in the  upgrade during my 
glazed mergemaster phase of 'esc i enter' to install all those files 
whose only difference is the $Id$ tag (why do they bother?)


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cron mail problem solved

2009-06-15 Thread Frank Shute
On Mon, Jun 15, 2009 at 11:11:14AM +0200, DA Forsyth wrote:

 Why do I become so clever AFTER asking for help?
 
 Anyhow, I have solved the cron not sending email problem.
 The cron log file contains lines like this
 NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
 which when searched for produces the page at
 http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors-
 44.html
 
 So I have edited my /etc/nsswitch.conf to have 
 group: files
 password: files
 (instead of 'compat')
 
 and now it works again.
 
 I guess I must have installed that file in the  upgrade during my 
 glazed mergemaster phase of 'esc i enter' to install all those files 
 whose only difference is the $Id$ tag (why do they bother?)

You can get mergemaster to ignore those cvs tags. In
/etc/mergemaster.rc:

DIFF_FLAG='-Bub'
DIFF_OPTIONS='-I$FreeBSD:.*[$]'
IGNORE_FILES='/etc/motd /etc/mail/mailer.conf /etc/printcap'

The 2nd line above tells diff to ignore lines that match that RE.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cron mail problem solved

2009-06-15 Thread Tim Judd
On 6/15/09, DA Forsyth d.fors...@ru.ac.za wrote:
 Why do I become so clever AFTER asking for help?

 Anyhow, I have solved the cron not sending email problem.
 The cron log file contains lines like this
 NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found
 which when searched for produces the page at
 http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors-
 44.html

 So I have edited my /etc/nsswitch.conf to have
 group: files
 password: files
 (instead of 'compat')

 and now it works again.

 I guess I must have installed that file in the  upgrade during my
 glazed mergemaster phase of 'esc i enter' to install all those files
 whose only difference is the $Id$ tag (why do they bother?)



mergemaster(8)
-F

Lots of options, maybe check it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org