OK, done, twice :-(


>From: "Freeman, Michael" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>,"Vadim Pushkin" <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>,<php-syslog-ng-support@lists.sourceforge.net>
>Subject: RE: [Php-syslog-ng-support] logrotate.php error

>Please use the issue tracker on http://code.google.com/p/php-syslog-ng
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf
>Of Clayton Dukes
>Sent: Monday, August 14, 2006 3:37 PM
>To: Vadim Pushkin
>Cc: [EMAIL PROTECTED]; php-syslog-ng-support@lists.sourceforge.net
>Subject: Re: [Php-syslog-ng-support] logrotate.php error
>
>Hi Vadim,
>I agree that there seems to be some problems in the logrotate.
>As soon as I have some time, I'll try to look into it, but that may not
>happen for another couple of weeks.
>
>Also, would you mind filing a bug for this on sourceforge?
>
>
>
>On 8/14/06, Vadim Pushkin <[EMAIL PROTECTED]> wrote:
> > What I've found wrong so far is the following:
> >
> > 1.  all_logs.MRG contains the name of one more table than it should.
> > For instance, my log rotate schedule is currently set to 2, but for
> > some reason it keeps tables for 4 days. My all_logs.MRG file ends up
>looking like this:
> >
> > logs
> > logs20060811
> > logs20060812
> > logs20060813
> > logs20060814
> >
> > when in fact it should look like this (assuming 2 means today + 2 more
> > days):
> >
> > logs
> > logs20060812
> > logs20060813
> > logs20060814
> >
> > So, if I go in and remove the entry for logs20060811, my GUI works.  I
>
> > have not figured out what portion of the logrotate or merge script
> > keeps the additional table, but it seems to be off by one number.
> >
> > Finally, I do not believe that the logs are actually being rotated
> > because whenever I do a search for any data within any of the above
>tables, i.e.
> > logs20060812, I get blank results.  logs, which contains data for all
> > of the other tables, is the only place that I can search for data.
> >
> > I love this project and  would like to begin using it, but having to
> > modify the all_logs.MRG each day is far more overhead than is worth.
> >
> > Can anyone help?  I am not good enough in PHP to fix this on my own...
> >
> > Regadrs,
> >
> > .vp
> >
> >
> > >From: "Clayton Dukes" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: "Matthew Beason" <[EMAIL PROTECTED]>
> > >CC: php-syslog-ng-support@lists.sourceforge.net
> >
> > >
> > >Hi Matt,
> > >I'm not sure why it's happening, I did have that problem once when I
> > >changed retention to 1 day (just messing around).
> > >If I remember correctly, I ended up just trying to run the rotate
> > >script manually and fixing any errors it had.
> > >In my case, it was stopping because it had a duplicate table, so I
> > >renamed that dup table and then it ran correctly.
> > >
> > >As for the upgrade path, I didn't set it up to do any upgrades, but
> > >it should be the same table structure (I think?) -- I wuld just
> > >backup the db before doing it, just in case.
> > >
> > >
> > >On 8/10/06, Matthew Beason <[EMAIL PROTECTED]> wrote:
> > > > Clayton,
> > > >
> > > > I was wondering what you made of the following error when I try to
>
> > > > login
> > >to
> > > > the php frontend to php-syslog-ng:
> > > >
> > > > Query: "DESCRIBE all_logs" Failed
> > > >  Can't find file: 'all_logs.MRG' (errno: 2)
> > > >
> > > > I'm running php-syslog-ng version 2.8.1. My LOGROTATERETENTION is
> > > > set to
> > >90
> > > > in config/config.php. I think I've finally reached the 90 day
> > > > timeframe since I first configured the sysloghost. Therefore, it
> > > > is trying to
> > >remove
> > > > old log tables but I'm not sure how successfully. I'm able to get
> > > > this partially working again by editing the "all_logs.MRG" file
> > > > and removing
> > >the
> > > > reference to any logs are no longer exist in the same directory.
> > > >
> > > > Any thoughts on what the resolution to this might be?
> > > >
> > > > One other question, is there an easy upgrade path from 2.8.1 to
>2.9.1?
> > > >
> > > > I really appreciate any assistance you can offer. You've been a
> > > > superb resource in the past!
> > > >
> > > > Matt
> > > >



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Php-syslog-ng-support mailing list
Php-syslog-ng-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

Reply via email to