 |
|
|
ArGoStuff User to User Support Forums
|
 |
|
 |
| Author |
Messages |
|
jjohnston
Posts: 1 Online:  ArGoNuke Recruit


 |
| 05-16-2008 1:00 PM |
|
The mail server has been working great for months now and we rebooted the server last night and now it won't start. The following is the error that shows up in the event logs.
Please advise!
------------------------------------------------------------------- Event Type: Error Event Source: ArGoSoftMailServerNet Event Category: None Event ID: 0 Date: 5/16/2008 Time: 11:41:44 AM User: N/A Computer: U15274182 Description: Service cannot be started. System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected) at System.Data.SqlClient.TdsParserStateObject.ReadBuffer() at System.Data.SqlClient.TdsParserStateObject.ReadByte() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishEx...
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
|
|
|
|
|
SteveT Forum Administrator
 Posts: 2797 Online:  ArGoNuke Admiral


 |
| 05-16-2008 4:16 PM |
|
| Have you tried opening up Service Manager and starting the service manually? |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
roryclark
Posts: 1 Online:  ArGoNuke Recruit


 |
| 06-09-2009 1:11 PM |
|
Here's a question for you: If you look in the _logs directory, C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET\_logs for example, when the service starts up, you should see the following entries when everything starts like it should:
[SYST XXXXXX 09-06-09 00:13:14] Resetting outbox [SYST XXXXXX 09-06-09 00:13:14] Resetting POP/IMAP Before SMTP database [SYST XXXXXX 09-06-09 00:13:15] Resetting lockout manager databases [SYST XXXXXX 09-06-09 00:13:15] Removing expired records from the lockout manager database [SYST XXXXXX 09-06-09 00:13:15] Removing old records from the address verification cache [SYST XXXXXX 09-06-09 00:13:15] Removing expired records from DNS Cache [SYST XXXXXX 09-06-09 00:28:13] Resetting outbox [SYST XXXXXX 09-06-09 00:28:13] Resetting POP/IMAP Before SMTP database [SYST XXXXXX 09-06-09 00:28:13] Resetting lockout manager databases [SYST XXXXXX 09-06-09 00:28:13] Removing expired records from the lockout manager database [SYST XXXXXX 09-06-09 00:28:13] Removing old records from the address verification cache [SYST XXXXXX 09-06-09 00:28:13] Removing expired records from DNS Cache [SYST XXXXXX 09-06-09 00:28:13] Removing expired records from autoresponder cache [SYST XXXXXX 09-06-09 00:28:14] Removing expired records from greylisting database [SYST XXXXXX 09-06-09 00:28:14] Starting the imap service at 70.89.127.76:143 [SYST XXXXXX 09-06-09 00:28:14] imap service started [SYST XXXXXX 09-06-09 00:28:14] Starting the smtp service at 70.89.127.76:25 [SYST XXXXXX 09-06-09 00:28:14] smtp service started [SYST XXXXXX 09-06-09 00:28:14] Starting the pop3 service at 70.89.127.76:110 [SYST XXXXXX 09-06-09 00:28:14] pop3 service started [SYST XXXXXX 09-06-09 00:28:14] Starting the delivery service [SYST XXXXXX 09-06-09 00:28:14] Delivery service started [SYST XXXXXX 09-06-09 00:28:15] Remoting Server started. Listening on port 6060 [SYST XXXXXX 09-06-09 00:28:15] Connection monitor started. Interval is 30 minutes.
I found that if you're using anti spam tools and you see a lot of spam traffic, the DnsCache table will be slow to respond when the service starts up and cause the time out. The logs showed it stopping at:
[SYST XXXXXX 09-06-09 00:13:14] Resetting outbox
[SYST XXXXXX 09-06-09 00:13:14] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:13:15] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:13:15] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from DNS Cache
[SYST XXXXXX 09-06-09 00:28:13] Resetting outbox
[SYST XXXXXX 09-06-09 00:28:13] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:28:13] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:28:13] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from DNS Cache
I have run into this problem this problem twice now. The cause is pretty simple, the DnsCache table isn't indexed and it's not getting cleared out often enough.
To prevent this, I created a Scheduled Task in Windows to run everyday and clear out the cache. The scheduled task uses the following command line:
"c:\Program Files\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SqlExpress -d MailServerData -E -Q "delete DnsCache Where Expires < GetDate()"
Note: This may not work quite as written as I have attached the MailServerData.mdf to my instance of SQL Server 2005 and this is not the default scenario when ArgoSoft Mail Server .Net is installed and if you attach the database to the SQL Server instance, you have to dettach the database when you upgrade.
"c:\Program Files\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S
.\SqlExpress -E -Q "sp_attach_db @dbname='MailServerData', @filename1='', @filename2=''"
I hope this helps.
Thanks! Rory
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
|
|
 |
| Mail Server v1.0.7.5 | |
Mail Server
- Hopefully fixed a problem which was causing mail server to stop
Web Interface
- Web interface now will work with Safari;
| | 2/25/2010 12:49:41 PM |
|
| Mail Server v1.0.7.4 | |
Mail Server
- SMTP now supports two methods of authentication: AUTH PLAIN and AUTH LOGIN;
- Improved the way how "stuck" delivery threads are getting cancelled. In some cases with previous versions
they could stay connected infinitely long;
- If a domain is in greylisting exception, and SPF is PASS, DNSBL will be not checked - to avoid blocking messages, when
single IP addresses belonging to large ISPs are blacklisted by DNSBL databases;
- Now there is an option to check all IP addresses, referred to in RECEIVED headers, against DNSBL databases;
- If autoresponder is enabled, and return address is not specified, now the server will use username, plus @ symbol,
plus either the first domain in the list belonging to the domain group, or domain group name itself;
- If SMTP for account is disabled for an account, connection will be still accepted, if it comes from web interface;
- If there is an unsuccessful attempt to log into the POP3 or IMAP server, or perform uncussessful
SMTP Authentication, and entry is created in the Windows application log;
Web Interface
- Fixed a problem with messages, containing embedded images with same name - was giving Resource already
in use error when displaying images;
| | 2/21/2010 6:10:28 PM |
|
| Mail Server v1.0.7.3 | |
Mail Server
- In previous versions "stuck" IMAP connections were not getting disconnected, because it was assumed that
IDLE command can "stick around" infinitely. It turned out, some clients (e.g., iPhone and iPod) do not use
IDLE command, but still leave connections open, which causes open IMAP connections to add up. In this version
IMAP connection gets periodically checked, along with POP3 and SMTP connections, and gets disconnected, if it
was around for long time, and currently is not in IDLE state;
- Fixed a bug in Archiver: copy function was copying entire folder, not just a selection;
- If a list of trusted or banned hosts contained blank entry, it was returning false positives. Now
blank entries are just removed;
- If remoting service cannot start, now it not affect other services. Before
it would crash other services too;
- Added View Log Folder option to the mail server UI;
- Now catching exception when reading server start date/time. It appears, server startup times
was not getting stored properly into the Settings.xml file on non-English versions of Windows;
- License is now checked onlny at server startup, rather then during each connection. It appears,
decrypting of the license and checking it's signature was taking pretty long time on some systems;
Web Interface
- Fixed a problem with processing MIME messages, when part separators (boundaries) contain space;
| | 1/3/2010 5:36:30 PM |
|
| FTP Server v1.0.2.1 |
- Fixed a potential security threat - no longer accepting very long command lines, which would
cause server to crash;
| | 12/3/2009 11:58:34 AM |
|
| Mail Server .NET v1.0.7.2 | |
Mail Server
- Fixed long delay when sending mail to large mailing lists, containing large number
of local recipients;
- Optimized access to trusted and banned hosts lists;
- Added an option to allow bouncing only to local users (Options - Server Options
- Delivery;
- Further optimized resource consuming processes, such as POP3, IMAP and delivery;
Web Interface
- Fixed multiple problems with displaying complex multipart messages;
| | 11/26/2009 7:57:20 PM |
|
|
|
|
|
 |
 |
|
 |
|