Solved

MS Exchange problem

Posted on 2014-02-20
7
199 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
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lync 2010 Group Chat - Domain Controller 3 65
Dcom Error 10016 Every 3 Hours 9 78
Software Updates with SCCM 2012 2 105
Office Web Apps/ SharePoint 2013 1 134
Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …

752 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