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
Solved

MS Exchange problem

Posted on 2014-02-20
7
197 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
  • 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
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 …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

790 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