• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Manually flush logfiles

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> General >> Manually flush logfiles Page: [1]
Login
Message << Older Topic   Newer Topic >>
Manually flush logfiles - 17.May2009 10:10:24 PM   
Belt

 

Posts: 88
Joined: 22.May2007
Status: offline
I have a E2007 SP1 server which doesn't flush logs, eventually filling the drive.
how can i manually flush or delete them(i did it once and can't remember how again).

doing a full backup doesn't works, it doesn't has replication anymore either.
Post #: 1
RE: Manually flush logfiles - 17.May2009 10:22:02 PM   
mark@mvps.org

 

Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
Doing a full backup DOES work so there's something else wrong with the system somewhere.
I notice you say replication isn't enabled any more. I'd guess that you think it isn't and the Exchange thinks it is.
What type of replication do you think isn't there any more?

_____________________________

Mark Arnold (Exchange MVP)
List Moderator

(in reply to Belt)
Post #: 2
RE: Manually flush logfiles - 17.May2009 10:31:18 PM   
Belt

 

Posts: 88
Joined: 22.May2007
Status: offline
i know that it should, but it doesn't and i need this logsfiles cleared.
there was SCR(i think it was SCR, the new replication mehtod introduced in SP1) with two mailbox server.
it isn't enabled anymore(i run get-storagegroupcopystatus and get no listings) since the server suffered a hardware breakdown and everything went to hell.

now every... 2 months i need to manually delete all logfiles.I'm also getting a ton of 440 and 477 logfiles checksum errors.

i can take my time to investigate why it isn't fluishing afterwards, the problem now is the server going out of space and 34GB of february-old logfiles

(in reply to mark@mvps.org)
Post #: 3
RE: Manually flush logfiles - 17.May2009 10:37:05 PM   
mark@mvps.org

 

Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
So do a backup, delete all the old log files and do another backup.
Then get investigating what's going on......

Create a new SG and a store. Then add a mailbox to it and make sure that the mailbox gets traffic (journal your own mailbox to it perhaps) and do backups of it. If that store purges out the logs you'll know what the problem is.

_____________________________

Mark Arnold (Exchange MVP)
List Moderator

(in reply to Belt)
Post #: 4
RE: Manually flush logfiles - 17.May2009 11:35:24 PM   
Belt

 

Posts: 88
Joined: 22.May2007
Status: offline
Mark,
what i want to know is what logs are safe to delete.
do i leave the e00.chk and .log?
there's also 3 .res files

(in reply to mark@mvps.org)
Post #: 5
RE: Manually flush logfiles - 18.May2009 1:54:22 AM   
yeowow

 

Posts: 22
Joined: 20.Jul.2008
Status: offline
Try running this command

Get-StorageGroupCopyStatus -Server <RunningServer> -StandbyMachine <OldReplica>

If the results are something other than NotConfigured then it means exchange still thinks that replication is enabled - which in this case you will need to utilise the Disable-StorageGroupCopy commands

(in reply to Belt)
Post #: 6
RE: Manually flush logfiles - 18.May2009 6:33:15 AM   
Belt

 

Posts: 88
Joined: 22.May2007
Status: offline
hmmm., i'm getting:
[PS] C:\Documents and Settings\Administrator\Desktop>Get-storageGroupCopyStatus
-Server ds01 -StandbyMachine ds02

Name                      SummaryCopySt CopyQueueLeng ReplayQueueL LastInspecte
                         atus          th            ength        dLogTime
----                      ------------- ------------- ------------ ------------
First Storage Group       Failed        0             0
Second Storage Group      NotConfigured 0             0

but when i ran:
[PS] C:\Documents and Settings\Administrator\Desktop>Disable-StorageGroupCopy -i
dentity "DS01\First Storage Group" -StandbyMachine DS02

Confirm
Are you sure you want to perform this action?
Disabling Storage Group Copy "DS01\First Storage Group".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
WARNING: An unexpected error has occurred and debug information is being
generated: The network path was not found.
Disable-StorageGroupCopy : The network path was not found.
At line:1 char:25
+ Disable-StorageGroupCopy  <<<< -identity "DS01\First Storage Group" -StandbyM
achine DS02

i'm running the command wrongly?

(in reply to yeowow)
Post #: 7
RE: Manually flush logfiles - 18.May2009 6:40:38 AM   
Belt

 

Posts: 88
Joined: 22.May2007
Status: offline
and if i do:
[PS] C:\Documents and Settings\Administrator\Desktop>Disable-StorageGroupCopy -i
dentity "DS01\First Storage Group" -StandbyMachine "DS02\First Storage Group"

Confirm
Are you sure you want to perform this action?
Disabling Storage Group Copy "DS01\First Storage Group".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
Disable-StorageGroupCopy : Storage group 'DS01\First Storage Group' does not ha
ve standby continuous replication enabled.
At line:1 char:25
+ Disable-StorageGroupCopy  <<<< -identity "DS01\First Storage Group" -StandbyM
achine "DS02\First Storage Group"

(in reply to Belt)
Post #: 8
RE: Manually flush logfiles - 18.May2009 8:02:43 PM   
sbq

 

Posts: 21
Joined: 16.Jun.2008
Status: offline
quote:

ORIGINAL: Belt

Mark,
what i want to know is what logs are safe to delete.
do i leave the e00.chk and .log?
there's also 3 .res files


You can use ESEUTIL to do a header check and see what log files are required of a dismounted database (you have to dismount it first).  There's a blog post that covers this here:

http://exchangeis.com/blogs/exchangeis/archive/2007/05/28/using-eseutil-how-to-check-which-transaction-log-files-are-not-committed.aspx

As well as a very good article on eseutil and isinteg here:

http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html

Note that if your backups aren't flushing your logs then there's a chance they aren't working.  Normally, after manually flushing logs and re-mounting the store you should do a full backup immediately as your last backup is no good now (logs it would need to replay are no longer there), but if your backups aren't working then you'd still be in a position where you could lose all your data.

Have you thought about adding a much bigger disk to the server and moving the logs over to that through the EMC until you can work out your backup issues?

(in reply to Belt)
Post #: 9

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> General >> Manually flush logfiles Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter