LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-02-2005, 05:07 AM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
logrotation doesn't working properly


Dear All,

#cd /var/log
#ls -lh |less

--------
---------
--------
---------
Code:
-rw-r--r--    1 root     root          10M Feb 28 23:24 postgres.log.20
-rw-r--r--    1 root     root            0 Feb 28 20:16 postgres.log.21
-rw-r--r--    1 root     root          10M Feb 28 20:15 postgres.log.22
-rw-r--r--    1 root     root            0 Feb 28 17:04 postgres.log.23
-rw-r--r--    1 root     root          10M Feb 28 17:03 postgres.log.24
-rw-r--r--    1 root     root            0 Feb 28 13:52 postgres.log.25
-rw-r--r--    1 root     root          10M Feb 28 13:51 postgres.log.26
-rw-r--r--    1 root     root            0 Feb 28 10:56 postgres.log.27
-rw-r--r--    1 root     root          10M Feb 28 10:55 postgres.log.28
-rw-r--r--    1 root     root            0 Feb 28 08:40 postgres.log.29
-rw-r--r--    1 root     root            0 Mar  2 00:12 postgres.log.3
--------
---------
--------
---------

Why every odd numbered ( postgres.log.3, postgres.log.21 etc. )log file is of size 0. what could be the possible cause


-jack

Last edited by emailssent; 03-02-2005 at 08:12 AM.
 
Old 03-02-2005, 10:54 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,548

Rep: Reputation: 180Reputation: 180
"logrotation doesn't working properly"

You can set up logrotate to work the way that you want it to. So take a look at your logrotate script.
Logrotate is configured in /etc/logrotate.conf on SuSE. You can find it on your distribution with:
find /etc -iname "*logrotate*"

-----------------------------
Steve Stites
 
  


Reply


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
wacom not working properly spotty spot Linux - Hardware 0 11-14-2005 04:32 PM
dhcpd not working properly bwarsh Linux - Networking 1 08-15-2005 04:24 PM
opengl is not working properly PinRojas Debian 7 07-05-2005 12:19 PM
search not working properly. Lleb_KCir LQ Suggestions & Feedback 5 11-24-2004 12:41 AM
X not working properly. MylesCLin Linux - Software 1 09-15-2004 10:46 AM


All times are GMT -5. The time now is 01:30 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