We just install Centos 6.5 as an ORACLE server. We found /etc/syslog.conf file is gone. Some of our applications used to setup on CENTOS 5.X /etc/syslog.conf are not work.
Can anyone tell me how to fix Centos 6.X no /etc/syslog.conf issue?
Thanks.
On Mon, 31 Mar 2014 23:38:26 +0800 (CST) mcclnx mcc mcclnx@yahoo.com.tw wrote:
Can anyone tell me how to fix Centos 6.X no /etc/syslog.conf issue?
It's /etc/rsyslog.conf now.
----- Original Message ----- | On Mon, 31 Mar 2014 23:38:26 +0800 (CST) | mcclnx mcc mcclnx@yahoo.com.tw wrote: | | > Can anyone tell me how to fix Centos 6.X no /etc/syslog.conf issue? | | It's /etc/rsyslog.conf now. | | -- | I think that all right-thinking people in this country are sick and | tired of being told that ordinary decent people are fed up in this | country with being sick and tired. I'm certainly not. But I'm | sick and tired of being told that I am. | - Monty Python
Upstream moved from syslog-ng to rsyslog during the move from 5 -> 6, as such the configuration is now /etc/rsyslog.conf. However, because this is rsyslog now, your existing syslog configurations will not work. You will either need to move to rsyslog or remove rsyslog and install syslog-ng if you wish to continue using your existing configurations.
On Mon, Mar 31, 2014 at 1:48 PM, James A. Peltier jpeltier@sfu.ca wrote:
----- Original Message ----- | On Mon, 31 Mar 2014 23:38:26 +0800 (CST) | mcclnx mcc mcclnx@yahoo.com.tw wrote: | | > Can anyone tell me how to fix Centos 6.X no /etc/syslog.conf issue? | | It's /etc/rsyslog.conf now. | | -- | I think that all right-thinking people in this country are sick and | tired of being told that ordinary decent people are fed up in this | country with being sick and tired. I'm certainly not. But I'm | sick and tired of being told that I am. | - Monty Python
Upstream moved from syslog-ng to rsyslog during the move from 5 -> 6, as such
As did Debian for example (one more compelling reason to stick with rsyslog --> standardization).
Many bright individuals at Red Hat and Debian chose rsyslog as the default. That does not mean their choices are the "best fit" for every scenario.
the configuration is now /etc/rsyslog.conf. However, because this is rsyslog now, your existing syslog configurations will not work. You will either need to move to
Not exactly true. Some of the configuration is transferable. ( But if you use the new rsyslog format that only rsyslog supports, it is not compatible with sysklogd. Not sure why that would matter though! )
"Rsyslogd tries to keep as compatible to stock syslogd as possible." [2]
The lead rsyslog developer, Rainer, says rsyslog will take the sysklogd config file. [0]
More rsyslog docs from their site and wiki. [1] [2] [3]
**Apparently rsyslog web services are having problems right now** ( I checked from downforeveryoneorjustme.com ) You might be able to snag a cached version from Google Cache or some other web cache in the meantime.
rsyslog or remove rsyslog and install syslog-ng if you wish to continue
using your existing configurations.
EPEL has packaged syslog-ng [4] if the OP must to go that route. ( But syslog-ng is _NOT_ compatible with sysklogd or rsyslog. )
[0] http://lists.adiscon.net/pipermail/rsyslog/2010-February/026643.html [1] http://www.rsyslog.com/doc/rsyslog_conf.html [2] http://www.rsyslog.com/doc/v3compatibility.html [3] http://wiki.rsyslog.com/index.php/Rsyslog_on_CentOS_success_story [4] https://admin.fedoraproject.org/pkgdb/acls/name/syslog-ng