Solved

MS Exchange problem

Posted on 2014-02-20
7
198 Views
Last Modified: 2014-02-23
Hi Guys,

Got a problem with Exchange and Server 2003.  Trying to run a mail database transfer job and it's taking days??
0
Comment
Question by:Snowington
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39874091
Did you test the database first?

Here are some tips



Note: Add the path to your Exchsvr\Bin directory to your Environmental Variables PATH statement.  That way you can execute ESEUTIL from within your MDBDATA directory.

Note: Delete log files whenever instructed by ESEUTIL or ISINTEG

Begin by stopping the information store service

Open a command prompt and navigate to your Exchsvr\MDBDATA directory

Check for Clean Shutdown
Run the following commands
    Eseutil /mh priv1.edb
    Eseutil /mh pub1.edb
Check for logs needed. If the report shows Logs Required 0/0 then delete all log files.
Delete *.log
If the shutdown was clean, skip to the defrag section of this FAQ.

OK, so IF the logs required was not 0/0 then lets try and repair the database.  The text in bold that follows are the commands you need to run.

Attempt a Soft Recovery

    Eseutil /r E00
 
If soft recovery fails, do a hard repair

    Eseutil /p priv1.edb
    Eseutil /p pub1.edb
    Delete *.log
    Mount and then dismount stores one at a time.

OK, by now your transaction logs should all be committed.  Let's move on and defrag the database to free up the space within the database that was being used up by deleted users.
 
Defrag the database

Before you defrag the database, you need to decide if you will perform the defrag in the current database or instead you can choose to have a brand new database created by the defrag.  The latter choice will give you a new database and even tighter defragmentation than the former.  Using this scenario the original database remains intact so there is less risk involved.

Verify that you have sufficient disk space to have two copies of your database in the same location.  If you do not then the defrag will fail.  If you are low on disk space, use the /t switch to identify WHERE to create the temp file used by ESEUTIL.
I'll outline the differences in the commands needed below.  

Quick and simple defrag:

Open a command prompt.  Navigate to the location of your database files.  If you added the Exchange bin folder to your path statement as specified above then you do not need to include path information to the ESEUTIL command.  Execute the following commands.


    Eseutil /d priv1.edb
    Eseutil /d pub1.edb
 
Start the Information Store service
Dismount the stores in Exchange System Manager
Note: if no repair was needed above you can start your stores again and you are done.  Please note that Microsoft recommends mounting and dismounting the stores after a defrag.

Creating a new database during defrag:

    Eseutil /d priv1.edb /t <tempfilename.edb> /p
    Eseutil /d pub1.edb /t <tempfilename.edb> /p

At the conclusion of the above commands you will have new EDB and STM files with the names specified in tempfilename.  Archive off or rename your current database files and then rename the newly created files to Priv1 and Pub1.  Move these files to the same location as the original database, you can then start the Information Store Service.

For those who have been experiencing errors logged in backups due to mailbox corruption, then the following will be really important to you.  You will want to run ISINTEG to fix any errors in the database itself.  It is important to run ISINTEG multiple times until you either get no errors, or you get the same errors reported each time.

Repair Errors In the Database With ISINTEG

    Isinteg -s servername -fix -test alltests

Note: This is important so I will repeat this point.  ISINTEG should be run multiple times until it returns either no errors or the same errors repeatedly.  At a minimum it should be executed twice.

At this point you should be able to return all services etc. to normal operation and allow users access to their mailboxes.
0
 

Author Comment

by:Snowington
ID: 39874126
No.  I didn't test the database.  Also to justify what's happening, I was getting serious trouble from the client side.  Even though the local server and address were successfully resolved.  The client would not sync with the server.  Also re-asked for a psw which was a bit odd as it was already authenticated??

Cannot do much at the moment as the fileshare on the server is being used by the clients working.

Thanks,

S
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39874153
Yes this is a difficult process.

I would scheduled testing your database to make sure you have now corruption.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:Snowington
ID: 39874178
It's certainly turning out to be difficult! :0  Is there a repair tool to check the database/  your instructions are a bit complicated in parts.  don't want to screw it up if you know what I mean?

Thanks again

S
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39877141
Yes

use this

Repair Errors In the Database With ISINTEG

    Isinteg -s servername -fix -test alltests

You can search for more info on ISinteg
0
 

Author Comment

by:Snowington
ID: 39877188
Hi.  Tried to run the ISINTEG but said it didn't recoginse the server?

Syntax correct and server decription wise, tried:

Isinteg - s server.kelleyko.local etc
                  kelleyko
                  kelleyko.local

Can't find it though?
0
 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 500 total points
ID: 39877203
I found this that might help

http://www.msexchange.org/articles-tutorials/exchange-server-2003/tools/Exchange-ISINTEG-ESEUTIL.html

Make sure you are running from the correct directory
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
2007 SCCM 5 58
Boudnary Settign SCCM 2012 R2 SP1 6 86
Sharepoint Credential Prompt when Opening a form 2 174
SCCM cant add drivers to driver package 11 458
When you are trying to access the server, have you ever encountered "The terminal server has exceeded the maximum number of allowed connection" error?  or "The user is attempting to log on to a Terminal Server in Remote Administration mode, but the …
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

735 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