i opened all the files one by one and checked the date and i cant find anything about yesterday also.. how can this happen, is logrotate deleting my old log files ?? i have stopped isoqlog also,.. but i think mrtg is still runing as a cron script should i stop it also ??

thank you

On 8/11/06, Stanley Robins <[EMAIL PROTECTED]> wrote:
ok i will change that to 100000, but now on my send logs i did a  cat * | tai64nlocal | grep 2006-08-10

and i cannot see any entry, but i when i do 2006-08-11 i do get all the emails which were sent. also where are my old logs going that is my question..  and i read it with * still i cannot get what now ??




On 8/11/06, George Sweetnam < [EMAIL PROTECTED]> wrote:
It all depends on whether you like 100's of small files or a smaller number of large files.  I maintain 80 100000 size files.  You are handling about 50 40000 files ... I personally would hate trying to read in that size and with only 50 they are rotated away too quickly.  To give you an idea you are filling your default size limit in about 9 minutes (per your post earlier).
 
Oh there was an earlier post telling you how to read the files with "@" in front of them... you have to use a \ before the @ to read them.
 
like this:
cat  [EMAIL PROTECTED] | tai64nlocal
 
 
George
 
----- Original Message -----
Sent: Friday, August 11, 2006 12:23 AM
Subject: Re: [qmailtoaster] log files

my /logsize is 40000 should i change it to 100000  ?



On 8/11/06, George Sweetnam < [EMAIL PROTECTED] > wrote:
The file sizes should be greater than "0" , but you didn't post enough info for us to know if they are blank.  I suspent the run file is calling a size variable which is not created in your setup.  Do this:
        cat /var/qmail/supervise/smtp/log/run
 
you should see something like this:
###
        #!/bin/sh
        LOGSIZE=`cat /var/qmail/control/logsize`
        LOGCOUNT=`cat /var/qmail/control/logcount`
        exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE n$LOGCOUNT /var/log/qmail/send 2>&1
########
 
Logsize points to a file in the control directory and I'd bet it's 0.  Do this:
          echo "100000" > /var/qmail/control/logsize
 
You'll just need to restart your log send program to make it start logging again (in the current file):
          svc -du /var/qmail/supervise/send
 
I usually look for log dir problems by looking for readproctitle errors in the running processes:
          ps aux | grep readproctitle
 
It should look like this:
readproctitle service errors: .......................
 
Good luck to you,
 
George Sweetnam
 
 
 
----- Original Message -----
Sent: Thursday, August 10, 2006 11:10 PM
Subject: Re: [qmailtoaster] log files

Jake all those files say 2006-08-10 and thats it.. also the time stamps are also of  the 2006-8-10 .

thank you

On 8/10/06, Jake Vickers < [EMAIL PROTECTED]> wrote:
Stanley Robins wrote:
> Jake these are all files and not directories.. and also the date is i
> am getting is only 2006-08-10 and nothing other than that.. not even
> that of yesterday.
>
Correct. Those files are your log files. They've been renamed from
"current" to the time and date they're reporting on. View one of the
files, you'll see.


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted < http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Reply via email to