Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-24-2008, 03:15 AM   #1
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
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:;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:



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 > Forums > Linux Forums > Linux - Newbie

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

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