Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wuaueng.dll Database recovery/restore failed with -1011.

729 views
Skip to first unread message

jwgoe...@gmail.com

unread,
May 16, 2007, 9:24:56 AM5/16/07
to
Periodically, my Windows 2000 Servers get ESENT Event ID 454:
wuaueng.dll (1696) Database recovery/restore failed with unexpected
error -1011. Once this occurs, additional errors are logged about
every 5 minutes until the Automatic Updates service is restarted.

I repaired DataStore.edb. I have cleared the SoftwareDistribution
folder altogether and repopulated. I have reinstalled Wsus 2. Lately,
I upgraded to the Wsus 3.0 client. Any of these steps cleared it for a
period of time, sometimes days or weeks. Then the symptom reoccurs and
the event log fills back up.

Can someone suggest a good permanent solution?

J Wolfgang Goerlich


Event Log: Application
Event Type: Error
Event Source: ESENT
Event Category: Logging/Recovery
Event ID: 454
Description:
wuaueng.dll (1696) Database recovery/restore failed with unexpected
error -1011.

MowGreen [MVP]

unread,
May 16, 2007, 1:56:38 PM5/16/07
to
For WSUS issues, it would behoove you to post to that specific newsgroup:
http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.windows.server.update_services

You wrote:

>> I repaired DataStore.edb.

Which DataStore.edb ... the one in WINNT\SoftwareDistribution\DataStore?
If so, how did you repair it ?
If you deleted all of the contents of the SofwareDistribution subfolders
then the DataStore.edb was also deleted.

Is there an antivirus or security program monitoring or scanning that
file or the SoftwareDistribution subfolders ? That *may* be the cause of
data corruption.


MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============

Ottmar Freudenberger

unread,
May 16, 2007, 2:21:50 PM5/16/07
to
"MowGreen [MVP]" <mowg...@nowandzen.com> schrieb:

> Which DataStore.edb ... the one in WINNT\SoftwareDistribution\DataStore?
> If so, how did you repair it ?

esentutl /p %windir%\SoftwareDistribution\Datastore\datastore.edb
esentutl /d %windir%\SoftwareDistribution\Datastore\datastore.edb
maybe.

Bye,
Freu"Not able to followup some mails flooding in the other day"di

MowGreen [MVP]

unread,
May 17, 2007, 4:19:31 PM5/17/07
to
Thanks, Freudi. MS recommends running Recovery prior to attempting to
repair databases -

esentutl /r %windir%\SoftwareDistribution\Datastore\datastore.edb

NP when it comes to " some mails flooding in the other day " <w>

MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============

jwgoe...@gmail.com

unread,
May 18, 2007, 11:01:53 AM5/18/07
to
> Which DataStore.edb ... the one in WINNT\SoftwareDistribution\DataStore?
> If so, how did you repair it ?

Checking integrity ...
Esentutl.exe /g %systemroot%\SoftwareDistribution\DataStore
\DataStore.edb

Running repair ...
Esentutl.exe /p %systemroot%\SoftwareDistribution\DataStore
\DataStore.edb

Defragmenting database ...
Esentutl.exe /d %systemroot%\SoftwareDistribution\DataStore
\DataStore.edb

I will repost over at microsoft.public.windows.server.update_services.

Thanks,

J Wolfgang Goerlich

MowGreen [MVP]

unread,
May 18, 2007, 1:33:42 PM5/18/07
to
> Is there an antivirus or security program monitoring or scanning that file or the
> SoftwareDistribution subfolders ? That *may* be the cause of data corruption.

From an MSKB:

Virus scanning recommendations for computers that are running Windows
Server 2003, Windows 2000, or Windows XP
http://support.microsoft.com/kb/822158
Last Review :October 30, 2006

>>> For computers that are running Windows Server 2003, Windows 2000, or Windows XP
>>>
>>> Do not scan the following files and folders. These files are not at risk of infection.
>>> If you scan these files, serious performance problems may occur because of file locking.
>>> Where a specific set of files is identified by name, exclude only those files instead
>>> of the whole folder. Sometimes, the whole folder must be excluded. Do not exclude any one
>>> of these based on the file name extension. For example, do not exclude all files that have
>>> a .dit extension. Microsoft has no control over other files that may use the same
>>> extensions as the following files.
>
>>>
>
>>> • Microsoft Windows Update or Automatic Update related files
>>> • The Windows Update or Automatic Update database file. This file is located in the
>>> following folder: %windir%\SoftwareDistribution\Datastore
>>>
>>> Exclude the Datastore.edb file.
>>>
>>> • The transaction log files. These files are located in the following folder:
>>> %windir%\SoftwareDistribution\Datastore\Logs
>>> Exclude the following files:
>>> • Edb*.log
>>>
>>> Note The wildcard character indicates that there may be several files.
>>> • Res1.log
>>> • Res2.log
>>> • Edb.chk
>>> • Tmp.edb

MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============

jimmyread

unread,
Aug 8, 2009, 5:30:23 AM8/8/09
to

Many a times when we try to get access to the data present in the EDB
files, we are not able to do so. It happens because the EDB files has
gone corrupt because of virus attack or any other thing. You can get rid
of this problem by using 'EDB Repair' (http://www.edbrepair.org)
software. This software repairs all your damaged or corrupted EDB Files
and you would then be able to get access to the data in your EDB Files.
This software is very easy to use and does not corrupt the good EDB
Files. I advise you to have a look at this software.


--
jimmyread
------------------------------------------------------------------------
jimmyread's Profile: http://forums.techarena.in/members/122774.htm
View this thread: http://forums.techarena.in/windows-update/748245.htm

http://forums.techarena.in

JNPT

unread,
Aug 20, 2009, 12:49:01 AM8/20/09
to

The wuaueng.dll is a module belongs to Microsoft Windows Update.
May be reregistering the .dll will solve your problem.
You can register the Wuaueng.dll file by following these steps:
1. Click Start, click Run, type regsvr32 Wuaueng.dll, and then click
OK.
2. When you receive the following message "DllRegisterServer in
Wuaueng.dll succeeded", click OK:

You may found useful information to repair DataStore.edb file here -
http://www.eggheadcafe.com/conversation.aspx?messageid=31813047&threadid=31813019
An advanced 'EDB Repair ' (http://www.edb-repair.com/)Software might
also helps you to repair corrupted or damaged edb files.


--
JNPT
------------------------------------------------------------------------
JNPT's Profile: http://forums.techarena.in/members/126684.htm

0 new messages