Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

syslog centos default or replace with rsyslog

Posted on 2011-02-26
5
Medium Priority
?
1,402 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

721 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