Solved

syslog centos default or replace with rsyslog

Posted on 2011-02-26
5
1,374 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
  • 3
  • 2
5 Comments
 
LVL 77

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 77

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 77

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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