Can you pls provide a debug log of the startup? One reason may be that the work 
directory does not exist. This was previously undetected.

Rainer

Jeff Poling <[email protected]> hat geschrieben:I posted last night about an 
issue with rsyslog hanging after I started using the 5.8.5 version.  Today I 
have some more info.  The startup process actually fails and produces the 
following error:

"Starting system logger (rsyslog): rsyslogd: $AbortOnUncleanConfig is set, and 
config is not clean.
Check error log for details, fix errors and restart. As a last resort, you may 
want to remove $AbortOnUncleanConfig to permit a startup with a dirty config."

I am using the same config file from the previous version of rsyslog.  Is there 
something that I need to change in the config file to get it to work with 
5.8.5?  Below is the config we are using:

##
$ModLoad immark   # provides --MARK-- message capability
$ModLoad imuxsock # provides support for local system logging (e.g. via logger 
command)
$ModLoad imklog   # kernel logging (formerly provided by rklogd)

####
$ModLoad imfile   # Input module for text files
#$ModLoad imrelp   # Input RELP protocol
#$InputRELPServerRun 1514
$ModLoad omrelp

$WorkDirectory /opt/rsyslog/spool
$MarkMessagePeriod 600
$MaxMessageSize 64k
#$OptimizeForUniprocessor on
$RepeatedMsgReduction off

#$MainMsgQueueFileName mailQ_
#$MainMsgQueueSaveOnShutdown on
#$MainMsgQueueType LinkedList
#$MainMsgQueueWorkerThreads 8

$ActionWriteAllMarkMessages on
$ActionQueueFileName actionQ_
$ActionQueueSaveOnShutdown on
$ActionQueueType LinkedList
$ActionResumeRetryCount -1
#$ActionQueueWorkerThreads 8
#$ActionQueueDequeueBatchSize 32
#$ActionQueueHighWaterMark 12000

$AbortOnUncleanConfig on
#$template HostFile,"/opt/var/log/messages.%FROMHOST%.%%%%%%%%"
#$template TraditionalFormat,"%% %timegenerated:::date-rfc3164% %HOSTNAME% 
[%syslogfacility-text%.%syslogpriority-text%] %syslogtag%%msg%\n"

*.* :omrelp:mysyslogserver.myorg.com:601


Thanks for any insight.

Jeff
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to