Search 
You are here: Forums   
Latest PostsMinimize
Strange problem: server not reacting anymore
by sicnezz
on 30 Aug 2010 06:01 PM
RE: outbound SMTP relay issue without authentication
by mcorrow
on 29 Aug 2010 08:37 PM
RE: Reverse PTR
by SteveT
on 28 Aug 2010 05:45 AM
RE: outbound SMTP relay issue without authentication
by mcorrow
on 20 Aug 2010 03:13 PM
RE: outbound SMTP relay issue without authentication
by mcorrow
on 20 Aug 2010 03:11 PM
outbound SMTP relay issue without authentication
by saigolives
on 20 Aug 2010 02:48 PM
Reverse PTR
by Bru92
on 12 Aug 2010 10:49 AM
RE: POP3/SMTP Does Not Work -- Webmail Works -- ???
by Renegade
on 08 Aug 2010 10:30 PM
RE: POP3/SMTP Does Not Work -- Webmail Works -- ???
by argosoft
on 08 Aug 2010 09:17 PM
RE: POP3/SMTP Does Not Work -- Webmail Works -- ???
by Renegade
on 08 Aug 2010 08:09 PM
POP3/SMTP Does Not Work -- Webmail Works -- ???
by Renegade
on 08 Aug 2010 08:07 PM
RE: Incorrect Dates Showing in moved mail
by SteveT
on 05 Aug 2010 10:40 PM
RE: Incorrect Dates Showing in moved mail
by dhudson
on 05 Aug 2010 05:06 PM
RE: Incorrect Dates Showing in moved mail
by SteveT
on 05 Aug 2010 03:04 PM
RE: Incorrect Dates Showing in moved mail
by mcorrow
on 05 Aug 2010 01:55 PM
Incorrect Dates Showing in moved mail
by dhudson
on 05 Aug 2010 01:38 PM

Top 10 LinksMinimize

ArGoStuff User to User Support Forums
URGENT!!! MAIL SERVER WON'T START! PLEASE HELP!
Last Post 09 Jun 2009 01:11 PM by Rory Clark. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
AuthorMessages
jjohnstonUser is Offline
New Member
New Member
Send Private Message
Posts:1

--
16 May 2008 01: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.


Steve TopilnyckyUser is Offline
Forum Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:3924
Avatar

--
16 May 2008 04:16 PM  
Have you tried opening up Service Manager and starting the service manually?
- - - - - - -
Regards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com/
Rory ClarkUser is Offline
New Member
New Member
Send Private Message
Posts:1

--
09 Jun 2009 01: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.

Active Forums 4.2
DonationsMinimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoftMinimize
1 2 3 4 5 6


Mail Server v1.0.7.7 - Fix for timeout problems

Mail Server v.1.0.7.7 is now out.

There are no changes in Web Interface.

Previous version (1.0.7.6) of mail server caused problems with users, who had SImple SMTP option disabled on the Options - Server Options - SMTP page. This version fixes the problem.

5/17/2010 7:35:28 PM
Mail Server 1.0.7.6 - fix for loaded servers

Mail Server

  • Improved handling of lenghty SMTP connections. New method should eliminate problems with "stuck" SMTP connections, which waere causing high CPU load and, eventually, server crash on heavy loaded servers;
  • Now individual domain groups can be exported and imported. Useful when splitting server between several computers;
  • Fixed several minor problems;

Web Interface

  • Fixed several problems with displaying complex messages on the web interface;
5/11/2010 10:07:23 PM
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


1 2 3 4 5 6

Get PayPal


Home:ArGoStuff:Forums:Articles:Cyber Security Tips:FAQ:Downloads:Links
Copyright 2006-2010 by ArGoStuff Terms Of UsePrivacy Statement