Solved

syslog centos default or replace with rsyslog

Posted on 2011-02-26
5
1,362 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 76

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 76

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 76

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now