Solved

What needs to be done after running ESEUTIL /d /p

Posted on 2004-03-23
22
2,408 Views
Last Modified: 2008-02-01
Hi All,

We are currently running Exchange 5.5 Standard edition and out IS was at 15.5GB. Therefore I ran an offline defrag with the following switches.

eseutil /d /ispriv /td:\dback\tempdfrag.edb /p

Thsi all ran through successfully but we only managed to compact the IS to 14.4GB !! :o(

My question is this...

What is the correct procedure for moving the old priv.edb out the way and moving the new tempdfrag.edb in to the mdbdata folder?? Is it as simple as using windows explorer to cut and paste and rename??

Thanks in advance
0
Comment
Question by:janos2
  • 10
  • 8
  • 4
22 Comments
 
LVL 8

Accepted Solution

by:
Emptyone earned 100 total points
ID: 10656495
It's almost as simple as you descibred yes. But would recommend renaming the old files and copying in the new files. This way you have a backup either way.
0
 

Author Comment

by:janos2
ID: 10658003
I did that but was a bit concerned that it was too simplistic!!
The reason I am querying it now is that the server has since crashed out twice, and the event log has numerous strange events being recorded, such as:

/// "MSExchangeIS (491) Unable to create the log. The drive may be read-only, out of disk space, misconfigured, or corrupted. Error -1022. "  
--- There is plenty of space available and the drive is definitely not read-only ---

/// An error occurred while writing to the database log file. Attempting to stop the Microsoft Exchange Information Store.

/// MSExchangeIS (491) The database engine failed with error -510 while trying to log the commit of a transaction.  To ensure database consistency, the process was terminated.  Simply restart the process to force database recovery and return the database to a consistent state.

/// An error was returned from the messaging software the Internet Mail Service uses to process messages on the Microsoft Exchange Server. It is possible that the piece of mail being processed at the time will be returned to the sender as a failed delivery instead of being delivered. The message will be moved to the "BAD" folder, if possible, and the error is not a temporary error. Otherwise it will be retried when the service is restarted. Use the appropriate utilities found in the SUPPORT directory of your Exchange CD to view and manipulate messages that have been moved to the "BAD" folder.

/// A serious error has occurred while trying to send mail into the Exchange Information Store. The Internet Mail Service is being shut down.

These events have never occurred until after we ran the ESEUTIL, and now we are more than a little concerned!!

Any ideas?
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10658575
Have you set compression on the driver or directory where the logs are located?
0
 

Author Comment

by:janos2
ID: 10659145
No neither are using compression.

0
 
LVL 8

Expert Comment

by:seeimred
ID: 10662849
when you swapped out the EDB files, did you clear out the EDB*.logs & the CHK file? They would no longer match and are not needed with the defragged file since it was in a consistent state to begin with.
0
 

Author Comment

by:janos2
ID: 10667403
Thanks for your help guys.

It all seems fine now.
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10669015
Glad I could help. But did the error go away by itself?
0
 

Author Comment

by:janos2
ID: 10669628
I spoke too soon!!

The server just crashed again and the event logs have the same sequence of error messages as before...

I have no idea what the problem could be... any help is greatly appreciated.
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10669687
Have you tried the solution from seeimred?
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10669701
Are there any errors in the eventlog?
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10669733
Also, have a look on this KB

http://support.microsoft.com/default.aspx?scid=kb;en-us;275602&Product=ech

It looks a lot like the messages you have
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 

Author Comment

by:janos2
ID: 10670318
These are in the event logs:

/// "MSExchangeIS (491) Unable to create the log. The drive may be read-only, out of disk space, misconfigured, or corrupted. Error -1022. "  
--- There is plenty of space available and the drive is definitely not read-only ---

/// An error occurred while writing to the database log file. Attempting to stop the Microsoft Exchange Information Store.

/// MSExchangeIS (491) The database engine failed with error -510 while trying to log the commit of a transaction.  To ensure database consistency, the process was terminated.  Simply restart the process to force database recovery and return the database to a consistent state.

/// An error was returned from the messaging software the Internet Mail Service uses to process messages on the Microsoft Exchange Server. It is possible that the piece of mail being processed at the time will be returned to the sender as a failed delivery instead of being delivered. The message will be moved to the "BAD" folder, if possible, and the error is not a temporary error. Otherwise it will be retried when the service is restarted. Use the appropriate utilities found in the SUPPORT directory of your Exchange CD to view and manipulate messages that have been moved to the "BAD" folder.

/// A serious error has occurred while trying to send mail into the Exchange Information Store. The Internet Mail Service is being shut down.
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10671903
What are the Event id on these errors?
0
 

Author Comment

by:janos2
ID: 10675362
/// Entries in the application log + EventID's. \\\

Event ID = 125  ----- MSExchangeIS (491) Unable to create the log. The drive may be read-only, out of disk space, misconfigured, or corrupted. Error -1022.


Event ID = 1111 ----- An error occurred while writing to the database log file. Attempting to stop the Microsoft Exchange Information Store.

Event ID = 193 ----- MSExchangeIS (491) The database engine failed with error -510 while trying to log the commit of a transaction.  To ensure database consistency, the process was terminated.  Simply restart the process to force database recovery and return the database to a consistent state.

Event ID = 4116 ----- An error was returned from the messaging software the Internet Mail Service uses to process messages on the Microsoft Exchange Server. It is possible that the piece of mail being processed at the time will be returned to the sender as a failed delivery instead of being delivered. The message will be moved to the "BAD" folder, if possible, and the error is not a temporary error. Otherwise it will be retried when the service is restarted. Use the appropriate utilities found in the SUPPORT directory of your Exchange CD to view and manipulate messages that have been moved to the "BAD" folder.

Event ID = 4102 ----- A serious error has occurred while trying to send mail into the Exchange Information Store. The Internet Mail Service is being shut down.
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10675399
This is probably caused by your antivirus software. Exclude the exchange folder from the real time scanning of files, and you will likely be up and running as you should. What happens here is that your antivirus software finds virus in log files and removes them, and thereby giving exchange problems keeping track of its log files.
0
 

Author Comment

by:janos2
ID: 10679008
We don't have any AV on this particular box!?!

I have also had a look at the link you provided, and although the errors tie up to those that we are getting it refers to restoring a previous online restore, and that this affects the number generation of the transaction logs.... I am not quite sure what this means or how to find out what transaction log numbers are.??!??
0
 
LVL 8

Expert Comment

by:seeimred
ID: 10679727
I'll ask my question again as it is directly related to "transaction logs".  When you swapped out the EDB file in the \MDBDATA folder, did you clear out the existing edb*.log files and the CHK file??? These are the transaction logs and should have been removed at the time of the edb swap. They would have no longer matched the log signature with the post-defrag file.

If you did not clear those existing logs out, you need to stop the IS and do it ASAP. You may also need to run isinteg -pri -fix -test alltests while the IS is stopped.

Once you're out of the woods, you can reassess your file size situation.  Check your ISMaint schedule and adjust it to start and complete a full cycle of garbagecollect. Verify when it starts from the Event App log info event 700. Completed is registered as an info event 704, and a final summary info event of 1221 indicating the amount of space regained as whitespace inside the database after scavaging expired deleted items.  Based on the 1221 event, you can then determine how much the file will shrink physically with another pass at eseutil /d.
0
 

Author Comment

by:janos2
ID: 10685238
Ok,

No I didn't clear out the existing edb*.log files or the CHK file. I have looked at the mdbdata folder however and none of the edb*.log file have date stamps older than today (there also is no CHK file in this directory - not sure if there is supposed to be though)

Do I still need to run the isinteg??

The ISMaint schedule appears to be set up correctly and the 1221 log show 24 MB free space!! looks like I need to tone down the deleted item retension!!

0
 
LVL 8

Expert Comment

by:seeimred
ID: 10689929
There should be an edb.chk file somewhere. Try a file search for it.

Decreasing the Deleted Item Retention will help. When you're running standard Ed. and are bumping the 16 Gb ceiling, you walk a fine line with DIR.

You could start troubleshooting those errors by stopping the IS, run eseutil /mh and verify the State of each edb file. Make sure they are Consistent. Then clear out those logs. Start up the IS and monitor for the Events.  If they reappear, next step would probably be the isinteg.

We haven't asked about your backup situation. What are you using and is it Exchange-aware?
0
 

Author Comment

by:janos2
ID: 10704519
Found the edb.chk on c:\exchsrvr\mdbdata (even though the priv.edb to d:\  -- is this ok??)

We are using Arcserve 2000 with the exchange module.

When you say verify the state of each edb file does the eseutil /mh do this for you?? and if they are consistent do I just delete them??

Thanks for your help on this...
0
 
LVL 8

Expert Comment

by:seeimred
ID: 10704786
The location of the edb.chk if fine but it probably contains references to the old pre-compacted files.
I never say delete unless you have no room to spare. If you delete them first, you have no way back if something goes wrong.  Move or rename is better until you get a successful restart of the service. Then it should be safe to discard them with a delete.

Let's start with this:
Stop the IS service
run eseutil /mh -ispriv & -ispub
verify the State = consistent
clear out all the log files (including the edb.log)
clear out the edb.chk on C:
restart the IS service
monitor the event app log for a reoccurance of those errors.
0
 

Author Comment

by:janos2
ID: 10730664
I will give this a try over the weekend and report back..

Thanks for the continued help on this....
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now