Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Operation terminated with error -540

Posted on 2006-07-17
18
Medium Priority
?
2,692 Views
Last Modified: 2007-11-27
Hai,

I have Exchange 2003 on top of Windows 2003. I got corruption with one of the database. Now to repair I run "eseutil /p Database.edb" but it fails with the following error. Needs help.

Operation terminated with error -540 (JET_errDatabaseStreamingFileMismatch, Database and streaming file do not match each other) after 6.0 seconds

Regards,

0
Comment
Question by:rafimt
[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
  • 7
  • 5
  • 4
18 Comments
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17121016
are the edb and stm files in the same folder??

if not, then you have to point to it when you run the eseutil command.  You can see the
switches by running eseutil /?.  Y
ou should just have to add a /s

e.g.
eseutil /p c:\priv1.edb /sc:\otherfolder\priv1.stm
0
 

Author Comment

by:rafimt
ID: 17121043
Both .edb and .stm are in the same folder. It is not related to folder.



0
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17121635
do the signatures match when you do a dump of the header fromboth files

"eseutil /mh" from memory
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 6

Expert Comment

by:glennbrown2
ID: 17121661
also, look at this PAQ  ---- >  http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_20779243.html


Quote below. Note the last comment as well.
***********
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=UNdEsttlDHA.576%40cpmsftngxa06.phx.gbl
***********

Eseutil /i - bypass the database and streaming file mismatch error:

The /i option ignores the signature mismatch error in the check phase if
the
database and streaming file do not match each other. The database and
streaming
file will receive new signatures in the repair phase. Without using this
option,
repair will terminate immediately once the database and streaming file
mismatch
error occurs.

From the Command Line Run:

  eseutil /p <database name> /i

NOTE:
======
The "/i" switch is not available in the RTM version of eseutil.exe. The
"/i" switch was first introduced in the SP1 version of eseutil.exe.
 
If using the RTM version of eseutil.exe and an upgrade to SP1 or later is
not possible, follow the steps in the following article to run the eseutil
/p /i command, you will need to use at least the SP1 version of the files
listed in the below article:

    244525 XADM: How to Run Eseutil on a Computer Without Exchange Server

Let me know if this worked out for you. It may however best for you to file
a ticket with Microsoft Product Support Service for phone support.
0
 

Author Comment

by:rafimt
ID: 17122125
Thanks,

Now it is start doing it and went some way, then terminated with the follwing errors.

Operation terminated with error -4001 (JET_errFileIOBeyondEOF, a read was issued to a location beyond EOF (writes will expand the
file)) after 1200.110 seconds.
0
 
LVL 27

Expert Comment

by:Exchange_Admin
ID: 17122638
Questions:
1. How did you get in this predicament?
2. Do you have a backup of your Exchange databases? If so are these online backups made with an Exchange agent?

0
 

Author Comment

by:rafimt
ID: 17122822
We have backup, but it is two day old. I would like to repair the existing database.

Regards,
0
 
LVL 27

Expert Comment

by:Exchange_Admin
ID: 17123852
You didn't answer how you got into this issue.

"We have backup, but it is two day old."
Is circular logging disabled?
If the answer is yes and you have all the log files since the last backup, you can restore the backup and the log files will replay into the database bringing it back to the point of failure.
0
 

Author Comment

by:rafimt
ID: 17125616
Dear Exchange Admin,

Yes, circular logging disabled and I have all the log files. I copied all the log files to one directory. It is not in default log directory.

0
 
LVL 27

Expert Comment

by:Exchange_Admin
ID: 17125928
Copy the logfiles to the proper directory.
Then restore you last backup.
The log file should play back into the restored database.
0
 

Author Comment

by:rafimt
ID: 17126481
Can I do the same operation through Recovery Storage Group.


0
 

Author Comment

by:rafimt
ID: 17127344
I did restore to Recovery Storage Group. Now I have to replay logs.
eseutil /r "Database" will be fine or not?

0
 
LVL 27

Expert Comment

by:Exchange_Admin
ID: 17127589
YOu shouldn't have to do that.
If there is not an EDB.CHK file present then Exchange will step through all the logs.
0
 

Author Comment

by:rafimt
ID: 17128329
I already mount mailbox store with no data. I could not ask them to wait until we resove this issue.

So what we can do now.

Expection help fron you
0
 
LVL 27

Accepted Solution

by:
Exchange_Admin earned 2000 total points
ID: 17130376
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

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

722 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