Solved

syslog centos default or replace with rsyslog

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bad ownership or modes for chroot directory 6 66
AWS CLI issues with Tags 3 64
nagios monitor 3 42
Check if a filw is immutable for a certain amount of time 6 48
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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.

911 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

23 Experts available now in Live!

Get 1:1 Help Now