> when compiling the new version you should be able to just do make
> install
> after you have compiled it to install it.

As far as I know, you need to set --libdir and --bindir (or its 64 bit
equivalents) ./configure options on CentOS, but I don't know what the correct
values are for it.

Rainer

> 
> you may need to uninstall the RHEL shipped version, I think that by
> default rsyslog will get installed under /usr/local when compiled from
> source.
> 
> installing from source will not create the /etc/rsyslog.conf file for
> you.
> 
> the rsyslog on my laptop (ubuntu with a couple manual tweaks) is:
> 
> #  /etc/rsyslog.conf    Configuration file for rsyslog.
> #
> #                       For more information see
> #                       /usr/share/doc/rsyslog-
> doc/html/rsyslog_conf.html
> #
> #  Default logging rules can be found in /etc/rsyslog.d/50-default.conf
> #################
> #### MODULES ####
> #################
> $ModLoad imuxsock # provides support for local system logging
> $ModLoad imklog   # provides kernel logging support (previously done by
> rklogd)
> #$ModLoad immark  # provides --MARK-- message capability
> #$KLogPath /var/run/rsyslog/kmsg
> # provides UDP syslog reception
> #$ModLoad imudp
> #$UDPServerRun 514
> # provides TCP syslog reception
> #$ModLoad imtcp
> #$InputTCPServerRun 514
> ###########################
> #### GLOBAL DIRECTIVES ####
> ###########################
> #
> # Use traditional timestamp format.
> # To enable high precision timestamps, comment out the following line.
> #
> $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
> #
> # Set the default permissions for all log files.
> #
> $FileOwner syslog
> $FileGroup adm
> $FileCreateMode 0640
> $DirCreateMode 0755
> $Umask 0022
> $PrivDropToUser syslog
> $PrivDropToGroup syslog
> $RepeatedMsgReduction on
> $RepeatedMsgContainsOriginalMsg on
> #
> # Include all config files in /etc/rsyslog.d/
> #
> #$IncludeConfig /etc/rsyslog.d/*.conf
> *.* -/var/log/messages
> 
> this should be enough to get you started, you will need to uncomment
> the
> remote reception options and then start rsyslog with rsyslogd -cX where
> X
> is the major version you are running (3,4,5 depending on which one you
> pick)
> 
> David Lang
> _______________________________________________
> 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