The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 newsyslog
Author: Stuart 
Date:   10-03-00 12:48

After editing an entry today in newsyslog.conf I get an error
"newsyslog: missing field in config file:"

I've checked and re-checke, compared it to several other servers newsyslog.conf and can't find anything obvious

Any ideas ??

Reply To This Message
 
 RE: newsyslog
Author: Dan Langille 
Date:   10-03-00 23:05

Show us your newsyslog.conf file.

Reply To This Message
 
 RE: newsyslog
Author: Stuart 
Date:   12-03-00 01:09

# configuration file for newsyslog
# $FreeBSD: src/etc/newsyslog.conf,v 1.16.2.3 1999/08/29 14:18:51 peter Exp $
#
# logfilename [owner.group] mode count size when [ZB] [/pid_file] [sig_num]
/var/cron/log 600 3 100 * Z
/var/log/amd.log 664 7 100 * Z
/var/log/kerberos.log 664 7 100 * Z
/var/log/lpd-errs 664 7 100 * Z
/var/log/maillog 664 7 * 24 Z
/var/log/sendmail.st 664 10 * 168 B
/var/log/messages 600 5 100 * Z
/var/log/slip.log 600 3 100 * Z
/var/log/ppp.log 600 3 100 * Z
/var/log/apache/tucows_access_log 644 5 5000 168 B /var/run/apache.pid 30
/var/log/apache/tucows_error_log 644 5 200 * Z
/var/log/apache/tukids_access_log 644 5 5000 168 B /var/run/apache.pid 30
/var/log/apache/tukids_error_log 644 5 200 * Z


Reply To This Message
 
 RE: newsyslog
Author: Dan Langille 
Date:   12-03-00 03:38

This is a guess: check that the whitespace between the columns are tabs. Well, I think they have to be tabs.

But first, take a backup of that file. Remove one line, try again. Repeat until you find the offending line.

Also: when do you get the error in question?

Reply To This Message
 
 RE: newsyslog
Author: Stuart 
Date:   13-03-00 14:41

Every hour on the hour cron would bawk and log this error.

I deleted last 4 lines in newsyslog.conf - error gone.

Will look into later.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org