LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2012, 01:41 PM   #1
vamsi_k
Member
 
Registered: Aug 2008
Posts: 66

Rep: Reputation: 18
logrotate error doesn't exist -- won't try to dispose of it


Hope error log /var/log/maillog.17 doesn't exist -- won't try to dispose of it can be

ignored right basing below information.



cat postfix
/var/log/maillog {
missingok
rotate 16
start 1
create 0600 root
postrotate
/etc/init.d/postfix reload > /dev/null
endscript
}


empty log files are rotated, old logs are removed
considering log /var/log/maillog
log needs rotating
rotating log /var/log/maillog, log->rotateCount is 16
renaming /var/log/maillog.16 to /var/log/maillog.17 (rotatecount 16, logstart 1, i 16),
old log /var/log/maillog.16 does not exist
renaming /var/log/maillog.15 to /var/log/maillog.16 (rotatecount 16, logstart 1, i 15),
old log /var/log/maillog.15 does not exist
renaming /var/log/maillog.14 to /var/log/maillog.15 (rotatecount 16, logstart 1, i 14),
old log /var/log/maillog.14 does not exist
renaming /var/log/maillog.13 to /var/log/maillog.14 (rotatecount 16, logstart 1, i 13),
old log /var/log/maillog.13 does not exist
renaming /var/log/maillog.12 to /var/log/maillog.13 (rotatecount 16, logstart 1, i 12),
old log /var/log/maillog.12 does not exist
renaming /var/log/maillog.11 to /var/log/maillog.12 (rotatecount 16, logstart 1, i 11),
old log /var/log/maillog.11 does not exist
renaming /var/log/maillog.10 to /var/log/maillog.11 (rotatecount 16, logstart 1, i 10),
old log /var/log/maillog.10 does not exist
renaming /var/log/maillog.9 to /var/log/maillog.10 (rotatecount 16, logstart 1, i 9),
old log /var/log/maillog.9 does not exist
renaming /var/log/maillog.8 to /var/log/maillog.9 (rotatecount 16, logstart 1, i 8),
old log /var/log/maillog.8 does not exist
renaming /var/log/maillog.7 to /var/log/maillog.8 (rotatecount 16, logstart 1, i 7),
old log /var/log/maillog.7 does not exist
renaming /var/log/maillog.6 to /var/log/maillog.7 (rotatecount 16, logstart 1, i 6),
old log /var/log/maillog.6 does not exist
renaming /var/log/maillog.5 to /var/log/maillog.6 (rotatecount 16, logstart 1, i 5),
old log /var/log/maillog.5 does not exist
renaming /var/log/maillog.4 to /var/log/maillog.5 (rotatecount 16, logstart 1, i 4),
renaming /var/log/maillog.3 to /var/log/maillog.4 (rotatecount 16, logstart 1, i 3),
renaming /var/log/maillog.2 to /var/log/maillog.3 (rotatecount 16, logstart 1, i 2),
renaming /var/log/maillog.1 to /var/log/maillog.2 (rotatecount 16, logstart 1, i 1),
renaming /var/log/maillog.0 to /var/log/maillog.1 (rotatecount 16, logstart 1, i 0),
old log /var/log/maillog.0 does not exist
log /var/log/maillog.17 doesn't exist -- won't try to dispose of it
renaming /var/log/maillog to /var/log/maillog.1
creating new log mode = 0600 uid = 0 gid = 0

Last edited by vamsi_k; 07-20-2012 at 01:44 PM.
 
Old 07-20-2012, 03:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,414
Blog Entries: 55

Rep: Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587Reputation: 3587
Yes it can be ignored as /var/log/maillog.17 was just created at the start of this run.
 
Old 08-02-2012, 02:18 PM   #3
vamsi_k
Member
 
Registered: Aug 2008
Posts: 66

Original Poster
Rep: Reputation: 18
Thanks a lot unSpawn
 
  


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
ERROR 1146: Table 'information_schema.tables' doesn't exist neverland Linux - Server 3 07-15-2010 03:59 PM
Strange database issue table doesn't exist [error code: 1146] edenCC Linux - Server 2 06-20-2010 01:29 AM
logrotate won't run - gives error Avatar Linux - General 2 07-19-2004 11:22 AM
Insmod error on boot, looking for floppy that doesn't exist. zack3g Linux - Hardware 9 05-20-2004 08:48 PM
login error: home directory supposedly doesn't exist jmelton Linux - General 3 11-30-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration