Exchange 2007 - Eseutil returns Jet Error 1022 ** URGENT **

Following a serious power outage an Exchange 2007 server is reporting Jet Error -1022 when attempting to run eseutil /k to check the consistency of the .edb files.
Store is dismounted and services stopped but still getting the error.  Chkdsk has been run in check only mode - no repair switch !! - no disc errors found.

Local admin has full control and domain admin also has full control to both the location of eseutil and the mailbox datastore folders

Please can anyone advise what the problem may be and how to get things back up again

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alan HardistyCo-OwnerCommented:
If the services are stopped, then you cannot perform the eseutil.  The Information store service has to be started, but the store dismounted.
Start the Information Store service (if you can) and then try again.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alan HardistyCo-OwnerCommented:
The /k switch on eseutil does not perform a consistency check - it performs a checksum check.  /g performs an integrity check, which you may find more useful.
Exchange 2007 ESEUTIL Switches reference: 
Is the exchange services are starting or is it only a problem with database?
Run eseutil /mh "database" and Check if it is Dirty Shutdown.
Do you have any errors in event log??
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

cmdownAuthor Commented:
Hi all - thanks for the replies.  The store service was dropping out whch was fixed by dismounting the stores, restarting all exchange services and then running eseutil.  All stores can back as clean so has gone live again. However, I would like to run a full diagnostic and possible rebuild to eradicate any possible inconsistancies as I am occassionally finding 'black holes' that emails disappear into - they do not show in their respective folder and you can only 'find' them if you do an advanced search.  Any thoughts before I accept & close this post ?
Alan HardistyCo-OwnerCommented:
run eseutil /g "x:\program files\exchsrvr\mdbdata\pub1.edb" (change the database name and location if necessary) - if errors found
run eseutil /p "x:\program files\exchsrvr\mdbdata\pub1.edb" (change the database name and location if necessary)
then run isinteg -s (server) -fix -test alltests
That should sort you out.
If you have run ESEUTIL /P, this will remove the corrupted pages, this may cause you data lose or any unexpected inconsistencies with the database.  Run ISINTEG fix -test alltests for the database which you have issue. This will resolve your issue up to some extent.

For reference:

Another option: If you have an option to create a new mailbox store, I would suggest you to move the users of corrupted database to new store.
cmdownAuthor Commented:
Thanks Guys
The original problem was due to the store service not restarting properly. Stopped all exchange servicesm, rebooted server & then able to proceed with dismounting stores and running eseutil checks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.