Solved

syslog centos default or replace with rsyslog

Posted on 2011-02-26
5
1,393 Views
Last Modified: 2012-05-11
I have centos 5.5 x86_64 installed on a server running zimbra and by default it used syslog which i beleive was part of os installation defaults. however I have been reading that rsyslog seems to be the popular choice to use.

Can i change from syslog to rsyslog and use this with my zimbra instalation? It is 7.0 and how would I switch loging softwares and not screw things up.

 
0
Comment
Question by:Coryvmcs1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 34989746
yum install rsyslog

rsyslog is seen as better as it offers additional options.

What features from rsyslog are you interested in?
Are you looking at centralized log repository?
0
 

Author Comment

by:Coryvmcs1
ID: 34989754
If I install rayslog do I need to remove the default syslog?
0
 
LVL 79

Expert Comment

by:arnold
ID: 34989793
They provide the same basic service and can not run at the same time.
You do not have to remove syslog, but you would need to make sure syslog is not configured to run (chkconfig syslog off).
0
 

Author Comment

by:Coryvmcs1
ID: 34989997
Do you know how I would tell zimbra to use the new rsyslog so it won't have any problems.
0
 
LVL 79

Accepted Solution

by:
arnold earned 500 total points
ID: 34992130
There is nothing to tell.  rsyslog will listen on the same UDP port 514 as the old one did which is why only one can be running.
You would need to match the rsyslog's configuration to the syslogs.
i.e. syslog has local7 facility for a specific file i.e. your cisco routers/switches are configured to syslog with local7 facility to /var/log/cisco.
etc.

 
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question