Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Wuaueng.dll Database recovery/restore failed with -1011.

Reply
Thread Tools Display Modes

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

 
 
jwgoerlich@gmail.com
Guest
Posts: n/a

 
      05-16-2007
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.

 
Reply With Quote
 
 
 
 
MowGreen [MVP]
Guest
Posts: n/a

 
      05-16-2007
For WSUS issues, it would behoove you to post to that specific newsgroup:
http://www.microsoft.com/technet/com...pdate_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
===============



wrote:

> 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.
>

 
Reply With Quote
 
Ottmar Freudenberger
Guest
Posts: n/a

 
      05-16-2007
"MowGreen [MVP]" <> 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
 
Reply With Quote
 
MowGreen [MVP]
Guest
Posts: n/a

 
      05-17-2007
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
===============


Ottmar Freudenberger wrote:

> "MowGreen [MVP]" <> 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

 
Reply With Quote
 
jwgoerlich@gmail.com
Guest
Posts: n/a

 
      05-18-2007
> 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

 
Reply With Quote
 
MowGreen [MVP]
Guest
Posts: n/a

 
      05-18-2007
> 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
===============



wrote:

>>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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system recovery/restore... whatever will help rtdavide@yahoo.com Windows Vista General Discussion 6 04-08-2008 05:11 AM
WU error 0x800A0046 and register wuaueng.dll failed 0x80070005 Leo sailer Windows Update 4 04-22-2005 07:35 PM
sp2 failed:unable to read or write to the database error code 8007 barbarian Windows Update 6 12-07-2004 08:25 PM
failed sp2 install- ?database error? Windows Update 3 09-07-2004 02:03 AM
catalog databas(1024)database recpveru/restore failed.... alexinaustin Windows Update 1 05-13-2004 10:26 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59