Link to home
Start Free TrialLog in
Avatar of Trysten
TrystenFlag for United States of America

asked on

SBS 2003 Exchange Database is CORRUPTED

Windows SBS 2003 SP2
Exchange problem
Problem started with not being able to send mail to addresses outside our system. Internal mail works fine.
Getting the following entry's in Application event.

Event Type:      Error
Event Source:      MSExchangeIS Mailbox Store
Event Category:      Background Cleanup
Event ID:      9792
Date:            9/24/2007
Time:            4:19:42 PM
User:            N/A
Computer:      SERVER
Description:
Cleanup of the DeliveredTo table for database 'First Storage Group\Mailbox Store (SERVER)' failed with error -1017. 0 entries were purged before the failure was encountered.

For more information, click http://www.microsoft.com/contentredirect.asp.

and

Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      SMTP Protocol
Event ID:      7010
Date:            9/24/2007
Time:            4:18:50 PM
User:            N/A
Computer:      SERVER
Description:
This is an SMTP protocol log for virtual server ID 2, connection #739. The client at "80.201.247.208" sent a "xexch50" command, and the SMTP server responded with "504 Need to authenticate first  ". The full command sent was "xexch50 1008 2".  This will probably cause the connection to fail.

For more information, click http://www.microsoft.com/contentredirect.asp.

Dismounted database and ran:
D:\PROGRA~1\Exchsrvr\MDBDATA>eseutil /g priv1.edb

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating INTEGRITY mode...
        Database: priv1.edb
  Streaming File: priv1.STM
  Temp. Database: TEMPINTEG4144.EDB

Checking database integrity.

                     Scanning Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Integrity check completed.
Database is CORRUPTED, the last full backup of this database was on 09/24/2007 1
6:23:06


Operation terminated with error -1206 (JET_errDatabaseCorrupted, Non database fi
le or corrupted db) after 4982.359 seconds.


I did a successful online NTBACKUP of the information store right before I ran the Integrity check
The other backups are 4 days old and it is unknown if they are good because they are the same online NTBACKUP's so they most likely are corrupted also.


The database mounts successfully with the following error

Event Type:      Error
Event Source:      MSExchangeIS Mailbox Store
Event Category:      Background Cleanup
Event ID:      9792
Date:            9/25/2007
Time:            7:27:46 AM
User:            N/A
Computer:      SERVER
Description:
Cleanup of the DeliveredTo table for database 'First Storage Group\Mailbox Store (SERVER)' failed with error -1017. 0 entries were purged before the failure was encountered.

For more information, click http://www.microsoft.com/contentredirect.asp.

Which is the same as above.

What would be the best (and quickest) procedure to attempt a repair? As detailed as possible because I will be doing it at night. I have mounted the databases again so people could communicate internally and plan on attempting the repair this evening.
Avatar of ATIG
ATIG
Flag of United States of America image

try esetuil /r  then Isinteg after
Avatar of Trysten

ASKER

I appreciate the quick response but I was hoping for a little more in-depth explanation of what is going on.
I am getting lots and lots of variations of the following:

Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      SMTP Protocol
Event ID:      7010
Date:            9/25/2007
Time:            8:04:11 AM
User:            N/A
Computer:      SERVER
Description:
This is an SMTP protocol log for virtual server ID 2, connection #214. The client at "209.101.75.104" sent a "mail" command, and the SMTP server responded with "501 5.5.4 Invalid Address  ". The full command sent was "mail FROM: <Alfonso@lastname@$domain>".  This will probably cause the connection to fail.

For more information, click http://www.microsoft.com/contentredirect.asp.

I am assuming that this is connected to the inability to send mail to outside e-mail addresses and that it is all connected to the database corruption. But it may be unrelated.

I can not find any mention of the
"Cleanup of the DeliveredTo table for database 'First Storage Group\Mailbox Store (SERVER)' failed with error -1017. 0 entries were purged before the failure was encountered. "
On the Microsoft site or here at Experts-Exchange.
I want to be sure I understand the problem and do the correct remedy the first time.

Any thoughts on the corruption (which is not affecting the internal e-mail) and the inability to send mail to outside address and the relationship between the two. If any wants to see more of the event logs or any other info let me know.
Description:
This is an SMTP protocol log for virtual server ID 2, connection #214. The client at "209.101.75.104" sent a "mail" command, and the SMTP server responded with "501 5.5.4 Invalid Address  ". The full command sent was "mail FROM: <Alfonso@lastname@$domain>".  This will probably cause the connection to fail.


looks like someone is trying to relay off your server.... <Alfonso@lastname@$domain>".  or is this you editing the info?

Avatar of Trysten

ASKER

I cut and pasted the 7010 event.

I am getting this every 60 seconds
 "Event ID:9792 Cleanup of the DeliveredTo table for database 'First Storage Group\Mailbox Store (SERVER)' failed with error -1017. 0 entries were purged before the failure was encountered. "

I can not find information about a 9292 or an Error -1017 on microsoft nor EE.

I am getting event 7004 at least 2 at a time every few minutes.

Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      SMTP Protocol
Event ID:      7004
Date:            9/24/2007
Time:            1:26:18 PM
User:            N/A
Computer:      SERVER
Description:
This is an SMTP protocol error log for virtual server ID 1, connection #657. The remote host "10.1.4.1", responded to the SMTP command "rcpt" with "550 5.7.1 Unable to relay for jsipe@alliedaero.com  ". The full command sent was "RCPT TO:<jsipe@alliedaero.com>  ".  This will probably cause the connection to fail.

For more information, click http://www.microsoft.com/contentredirect.asp".

And Event 7010 from every few second to a few minutes apart.
 
Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      SMTP Protocol
Event ID:      7010
Date:            9/25/2007
Time:            2:27:22 PM
User:            N/A
Computer:      SERVER
Description:
This is an SMTP protocol log for virtual server ID 2, connection #427. The client at "216.158.19.24" sent a "xexch50" command, and the SMTP server responded with "504 Need to authenticate first  ". The full command sent was "xexch50 1020 2".  This will probably cause the connection to fail.

For more information, click http://www.microsoft.com/contentredirect.asp.

Can database corrupting cause outgoing mail to fail? But still allow the store to mount and function internally?

Might the database corrupting which I assume is causing the 9272 events be separate from the 7010s and the 7004s?
Again if you need my info just ask!
Avatar of Trysten

ASKER

Sorry
I meant to say
If you need any more info just ask!
RCPT TO:<jsipe@alliedaero.com>   is this an internal user or external
Avatar of Trysten

ASKER

an external and should be vaild judging on the company it points to.
Avatar of Trysten

ASKER

So what do you all think?
Is the -Event ID:      9792
Cleanup of the DeliveredTo table for database 'First Storage Group\Mailbox Store (SERVER)' failed with error -1017. 0 entries were purged before the failure was encountered.
Caused by the corruption and is it keeping the outgoing mail from going out?

And are the 7004 and 7010 happening because of the 9792s
And
Is an eseutil repair the correct course of action to correct the problem?
And if so is there any special steps or tips you all can give me that would help?
Avatar of Trysten

ASKER

I looked at the link and I do not see any relevance except it is talking about the deliveredto table. Did you read it? It is a special case in using the exchange sever analyzer tool and Event 1205.
ASKER CERTIFIED SOLUTION
Avatar of Trysten
Trysten
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good stuff....