LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-24-2008, 03:15 AM   #1
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Rep: Reputation: 15
how to write log data to disk when the server is down while using rsyslog


I have configured rsyslog in two systems. I made one of them as client and the other as server by modifying their configuration files. Now the problem is that I am not able to write the log data of the client to its disk space while the server is down.

How can I make this problem solved.
 
Old 06-25-2008, 01:15 AM   #2
rgerhards
Member
 
Registered: Sep 2003
Distribution: Fedora/Debian
Posts: 50

Rep: Reputation: 15
You need to place a disk-persisting queue before the action. This is commented out in the sample rsyslog.conf. Have a look here:

http://git.adiscon.com/?p=rsyslog.gi...433f7d;hb=HEAD

Also, this article may help you understand what is going on. It is focussed on database writes, but the concepts are the same for forwarding:

http://www.rsyslog.com/doc-rsyslog_h...base_rate.html

HTH
Rainer
 
  


Reply

Tags
rsyslog, sysadmin, syslog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
MySQL logging server how can i 'log rotate' all the data helptonewbie Linux - Newbie 1 03-31-2008 04:48 AM
write mail log to /var/log/maillog jimmyjiang Red Hat 4 01-15-2008 06:18 PM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM
how to log data to disk file mikesievers Programming 1 04-25-2002 12:36 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration