• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 815
  • Last Modified:

Exchange 2007 log file corrupted after recovery

Hi I wondered if someone could help me with this annoying issue. I had an issue with one of our clients' HP servers where one of the logical partitions suffered a multiple failure and they lost their Exchange databases, after replacing the disks and recovering the Exchange data using Windows Server Backup restoration process everything appeared fine except I couldn't mount the second storage group which contained the public folders, so I ran an eseutil /p to repair the store which worked, I then mounted the store and everything was fine.

The issue that I have now is that when the Windows Imaging Backup runs of a night time one of the Exchange log files E01.log gets flagged up as being in an inconsistent state, yesterday I dismounted the store again and ran lots more tests on it and everything was fine and I was happy that the store was in a clean state. I now want to know what I can do with this log file so it does not get flagged as being dirty. I have tried renaming it but when I mount the store it will not mount. Is there anything I can do to prevent the backup failing with an inconsistency just because this log file appears damaged?

Thanks
Gary
0
ics45
Asked:
ics45
  • 5
  • 4
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
I now want to know what I can do with this log file so it does not get flagged as being dirty - Check any AV is not scanning and has the Exclusions.

I have tried renaming it but when I mount the store it will not mount - Did you move all data apart from the .edb and try or just moving .log files ?

Is there anything I can do to prevent the backup failing with an inconsistency just because this log file appears damaged? - If logs go dirty or any issues backup will have issues for sure and need to be manually corrected.

- Rancy
0
 
Sushil SonawaneCommented:
Make sure your exchange server installation, database log file store exclude in antivirus scan.
sometime antivurs aslo damage or delete the logs files.
0
 
ics45Author Commented:
Hi Rancy/Sushil84

I have now excluded to log file from Antivirus but it was fine before the partition collapsed and the backup error has only happened since it has been restored but I have now added it as an exception.

Regarding the move I didn't move the log file I simply renamed it, I left the edb and log files in the same folder.

Regards,
Gary
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Once you dismount the database you can move all files except .edb and remount and start from fresh with no worry about any damage or issues with older logs.

- Rancy
0
 
ics45Author Commented:
Is this correct? So how come I wasn't able to restart the store when I renamed the E01.log file? I am happy to try this but obviously I don't want to seriously damage this second store as the public folders contain lots of client information.

Gary
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
You dont rename any file as ESE engine is smart enough to understand .... once the database is dismounted you can simply move all ".log .chk .jrs .temp .tmp" and file except the .edb out of the Current location and take my word "Database will Mount" :)

If everything is working i too wouldnt touch but this will work 100 out of 100 times :) .... until something isnt done correctly.

- Rancy
0
 
ics45Author Commented:
Ok will try it and report back.

Cheers
Gary
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Sure Gary let me know if you have any doubts :)
0
 
ics45Author Commented:
How very impressive Rancy this does indeed work, I backed up all of the file beforehand and I have now zipped them up in an archive, we will see how the backup goes tonight but all being well max points to you tomorrow morning!

Cheers
Gary
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
No hurry of points ... if you have any doubts buddy look to us always :)

- Rancy
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now