2012/4/12 Lara S. <[email protected]>:
>
> Hi to all!!Hi have a problem.I'm upgrade rsyslog 3.22.1 to rsyslog 4.8.0 in 
> CENTOS 5.2, but my rsyslog not loggin.I'm using this How to, 
> http://www.howtoforge.com/installing-fu ... centos-5.x, but don't intall all 
> features, I just made a normal compilation, ./configuremakemake installmy 
> /var/log/messages shows the following messageshas not logged anything for two 
> hours, this is the last message that appearskernel: imklog 3.22.1, log source 
> = /proc/kmsg started.2012-04-04T10:24:25.749184+02:00 rsyslogd: [origin 
> software="rsyslogd" swVersion="3.22.1" x-pid="31688" 
> x-info="http://www.rsyslog.com";] (re)start2012-04-04T10:24:25.747635+02:00 
> rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically 
> generated config directives may interfer with your rsyslog.conf settings. We 
> suggest upgrading your config and adding -c3 as the first rsyslogd 
> option.2012-04-04T10:24:25.748787+02:00 rsyslogd: Warning: backward 
> compatibility layer added to following directive to rsys
 log.conf: ModLoad imuxsockI'm configure /etc/init.d/rsyslog and add this 
line:# Source configif [ -f /etc/sysconfig/$prog ] ; then. 
/etc/sysconfig/$progelseSYSLOGD_OPTIONS="-c3"fiI also change this file 
/etc/sysconfig/rsyslogand addSYSLOGD_OPTIONS="-c3 -f /etc/rsyslog.conf"My 
rsyslog.conf using templates.but I have not created any of the folders listed 
in the templates.This is my rsyslog.conf# if you experience problems, check# 
http://www.rsyslog.com/troubleshoot for assistance# rsyslog v3: load input 
modules# If you do not load inputs, nothing happens!# You may need to set the 
module load path if modules are not found.$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)$template DynMsg, 
"/var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/messages.log"$template DynSecure, 
"/var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/secure.log"$template DynKern, "
 /var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/console.log"$template DynMail, 
"/var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/mail.log"$template DynCron, 
"/var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/cron.log"$template DynSpooler, 
"/var/log/%HOSTNAME%/%$YEAR%/%$MONTH%/spooler.log"# Log all kernel messages to 
the console.# Logging much else clutters up the screen.kern.* ?DynKern # 
/dev/console# Log anything (except mail) of level info or higher.# Don't log 
private authentication messages!*.info;mail.none;authpriv.none;cron.none 
?DynMsg # -/var/log/messages# The authpriv file has restricted 
access.authpriv.* ?DynSecure # /var/log/secure# Log all the mail messages in 
one place.mail.* ?DynMail # -/var/log/maillog# Log cron stuffcron.* ?DynCron # 
-/var/log/cron# Everybody gets emergency messages*.emerg *# Save news errors of 
level crit and higher in a special file.uucp,news.crit ?DynSpooler # 
-/var/log/spooler# Save boot messages also to boot.loglocal7.* 
/var/log/boot.log# Remote Logging (we use TCP for rel
 iable delivery)# An on-disk queue is created for this action. If the remote 
host is# down, messages are spooled to disk and sent when it is up 
again.$ActionForwardDefaultTemplate RSYSLOG_ForwardFormart#$WorkDirectory 
/rsyslog/spool # where to place spool files#$ActionQueueFileName uniqName # 
unique name prefix for spool files#$ActionQueueMaxDiskSpace 1g # 1gb space 
limit (use as much as possible)#$ActionQueueSaveOnShutdown on # save messages 
to disk on shutdown#$ActionQueueType LinkedList # run 
asynchronously#$ActionResumeRetryCount -1 # infinite retries if host is down# 
remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional#*.* @@IP:514
> i'm launch command:ps aux | grep rsyslogroot 32448 0.0 0.0 131648 1168 ? Sl 
> 16:46 0:00 /sbin/rsyslogd -i /var/run/rsyslogd.pid -c3 -f /etc/rsyslog.conf
> Thanks for your help and sorry for my english

Hi Lara,

Your mail came all in one line for me. Can you please format it and
send it again? I've tried to understand the problem as it is, but I
couldn't :(

Best regards,
Radu
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to