Issues after updating from 12.1 to 12.5

Discuss the Scalix web client
fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Issues after updating from 12.1 to 12.5

Postby fkienker » Tue May 19, 2015 1:46 pm

After updating my Scalix server from 12.1 to 12.5 on CentOS 6.6 I'm now seeing this error shortly after starting Scalix Web Access in both Firefox and Internet Explorer:
"An error occurred while fetching the messages in your calendar folder(s)"

In the HTTP error_log I see these messages:
[Tue May 19 13:23:58 2015] [error] ajp_read_header: ajp_ilink_receive failed
[Tue May 19 13:23:58 2015] [error] (70007)The timeout specified has expired: proxy: dialog to 192.168.1.20:8009 (mail.xxxx.net) failed
[Tue May 19 13:24:01 2015] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Tue May 19 13:24:01 2015] [error] ajp_read_header: ajp_ilink_receive failed
[Tue May 19 13:24:01 2015] [error] (70007)The timeout specified has expired: proxy: dialog to 192.168.1.20:8009 (mail.xxxx.net) failed

I have tried:
* Increasing maxSpareThreads in Tomcat as suggested elsewhere but this had no effect.
* Disabling all of the firewall rules (though I am loth to continue running the server without a firewall).
Neither action had any effect.

Has anyone else seen these issues? Any suggestions as to where to look?

Thanks!
Fred Kienker
AT4B

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Tue May 19, 2015 1:54 pm

Also have now tried un-installing the Scalix DB and re-installing as had been suggested. This also had no effect.
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Issues after updating from 12.1 to 12.5

Postby ScalixSupport » Wed May 20, 2015 6:14 am

Hi,

Could you check / post content of file "swa.properties"

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Wed May 20, 2015 10:11 am

Current contents of the swa.properties file:

swa.version=12.1.1.14474

swa.email.imapServer=mail.xxxx.net
swa.email.smtpServer=mail.xxxx.net
swa.email.userNameIncludesDomain=false

swa.system.hasCalendar=true
swa.system.hasRulesWizard=true
swa.system.hasOutOfOffice=true
swa.system.hasAutoRefresh=true
swa.system.hasAutoLogin=true
swa.system.hasChangePassword=true
swa.system.maxAttachmentUploadKilobytes=10240

# Comma-separated list of additional fonts to be displayed in the Rich Text editor
swa.system.addtlEditorFonts=

# Instructs the system to convert non-breaking space characters into space characters
# when sending text-based messages. This is usefully because the non-breaking space
# character falls outside the scope of the ASCII character set. Messages that would
# otherwise only require ASCII encoding will instead be forced to use latin ISO-8859-1
# or UTF-8 encoding to accomadate the non-breaking space. Set this value to false if
# you wish to maintain non-breaking space characters when sending messages.
swa.system.convertNbspToSpace=true

# SWA can optionally use a platform API server to search for mail messages and to
# fetch message headers. In some cases, the platform API performs better than
# using IMAP directly. SWA uses IMAP directly for searches and header fetching
# if the platform URL is not available, or if the platform is disabled
# (see the "swa.platform.enabled" property).
swa.platform.url=http://mail.xxxx.net/api
#
# SWA can distribute its platform API load across platform instances on different hosts.
# SWA determines the host to use based on the IMAP referral host for a user. SWA
# examines the swa.platform.url.format property and replaces the {0}
# token with the user's IMAP referral host to produce the platform url for that
# user. For example, consider the following example setting:
#
# swa.platform.url.format=http://{0}/api
#
# Based on this setting, if the user is referred to the IMAP host
# "mail2.mydomain.com", SWA will also direct platform API traffic to
# "http://mail2.mydomain.com/api".
#
# If no IMAP host referral is configured for the user (the default), or if the
# default platform URL from property "swa.platform.url".
# (See the documentation on configuring a multi-server installation for more
# information about configuring IMAP referral.)
#
swa.platform.url.format=
# Set true to use the platform server for searching and for fetching message headers.
swa.platform.enabled=true
# These properties control the pool of HTTP clients used by SWA for communicating
# with the platform.
# maxConnectionsPerHost limits the number of connections SWA will keep open to any
# single platform instance.
swa.platform.httpclient.maxConnectionsPerHost=15
# maxTotalConnections limits the number of connections SWA will keep open to all
# platform instances put together. A typical installation has only one platform instance.
swa.platform.httpclient.maxTotalConnections=30


# maximum number of search results to return in one "page". Use -1 for "all" (not advised for where there are large indexes).
swa.search.maxresults=100

# This is the idle time in seconds after which a user's servlet session
# will expire. Usually this value does nothing in SWA because mail
# polling keeps the session alive until the user closes her browser
# triggering a logout.
swa.mailstore.staleTime=1860
#
# Determines whether to keep each user's current imap folder open between browser requests.
# Keeping the folder open may improve performance but requires additional
# runtime memory for the folder's messages. Under normal circumstances, keeping
# folders open requires a few megabytes of additional memory for each active
# user session.
#
swa.mailstore.imap.reuseFolder=true

swa.settings.rulesWizardURL=/Scalix/rw
swa.settings.homeDir=/tmp
# The default charset to use to interpret message bodies when no charset is specified in the message
swa.settings.charset=windows-1252

# URL Schema used to display maps when the user clicks on a postal address.
# For Google Maps:
swa.map.urlschema=http://maps.google.com/maps?q=%ADDRESS
# For Yahoo! Maps:
# swa.map.urlschema=http://maps.yahoo.com/beta/index.php#maxp=search&q1=%ADDRESS
# For MapQuest:
# swa.map.urlschema=http://www.mapquest.com/maps/map.adp?searchtype=address&country=%COUNTRY&searchtab=home&address=%STREET&city=%CITY&state=%STATE&zipcode=%ZIP

swa.user.refreshFolderList=
swa.user.useRichText=true
swa.user.msgCompositionFontFamily=times new roman, new york, times, serif
swa.user.autoSpellCheck=false
swa.user.msgCompositionFontSize=3
swa.user.dirSearchOrder=system,personal
swa.user.includeMessageOnReply=true
# The user will have the option to auto-acknowledge read receipts
swa.user.autoAcknowledgeReadReceipts=true
swa.user.showBcc=false
swa.user.signatureText=
swa.user.signatureActiveForNewMessages=true
swa.user.signatureActiveForReplies=true
swa.user.signatureActiveForForwards=true
swa.user.foldersPaneVisible=true
swa.user.calendarsPaneVisible=true
swa.user.messagePaneVisible=true
swa.user.eventsPaneVisible=true
swa.user.miniCalendarPaneVisible=true
swa.user.modePaneVisible=true
swa.user.calendarSetsPaneVisible=false
swa.user.newMailSound=
swa.user.locale=en_US
# Default date/time format index
# 1 = month/day/year, 12 hour format
# 2 = month/day/year, 24 hour format
# 3 = day/month/year, 12 hour format
# 4 = day/month/year, 24 hour format
# 5 = year/month/day, 12 hour format
# 6 = year/month/day, 24 hour format
swa.user.preferredDateTimeFormat=1
# Default date separator character
swa.user.dateSeparatorChar=/
# Default time separator character
swa.user.timeSeparatorChar=:
# Default days in a work week
# 0=Sunday, 1=Monday, 2=Tuesday, ..., 6=Saturday
swa.user.workWeek=1,2,3,4,5
# Default start of the work day in minutes (480 = 8AM)
swa.user.workDayStart=480
# Default end of the work day in minutes (1020 = 5PM)
swa.user.workDayEnd=1020
# Default first day of the week
# 0=Sunday, 1=Monday, 2=Tuesday, ..., 6=Saturday
swa.user.weekStart=0
# Default number of days covered by the upcoming appointments
swa.user.upcomingAppointmentsRange=7
# Default calendar view
# 0=Daily view
# 1=Work week view
# 2=Weekly view
# 3=Monthly view
swa.user.defaultCalendarView=0
# How many months of Free/Busy information should we publish on the server?
swa.user.freeBusyPublishRange=2
# How often (in minutes) should we update Free/Busy information on the server?
swa.user.freeBusyPublishInterval=5
# Specifies whether email addresses should be shown
# or if SWA should only show display names
swa.user.hideEmailAddresses=false
# Specifies whether SWA should block remote images in HTML emails.
swa.user.blockRemoteImages=true
# Default mail time-window filter size, options are:
# ONE_DAY
# THREE_DAYS
# ONE_WEEK
# TWO_WEEKS
# ONE_MONTH
# THREE_MONTHS
# ONE_YEAR
# NO_LIMIT
swa.user.timeWindowSize=ONE_MONTH

# Global-user Admin controls
#
# Toggle whether you wish to allow the user to edit the From or Reply-To headers in the user prefs
swa.allusers.allowFromReplyToModification=false
# The admin can force SWA to auto-ackknowledge read receipts, hiding the option
# from all users' preference dialogs
swa.allusers.forceReadReceipts=true

# Defines which messages with sensitivity values set should be blocked, or
# prompted to the user to ask for confirmation to view.
#
swa.sensitivity.prompt=personal,company-confidential,private
swa.sensitivity.block=

swa.ldap.searchAll=true
swa.ldap.maxResults=250

# Defines in Seconds how long a SOAP request will remain in the current, uncomplete
# readyState (= 1, 2, or 3) before we force a timeout
swa.soap.soapRequestTimeout=60

# Defines the number of times to retry if the SOAP request times out. Certain other connection
# errors can be reported as a timeout. This setting will also affect those circumstances.
# The default is 0.
swa.soap.numRetriesOnTimeout=0

# Additional LDAP sources can be added here. The following attributes are valid
#
# Server Hostname or IP address (optional, default = localhost)
# swa.ldap.<n>.server=localhost
#
# If the special value '%h' is specified as the server hostname,
# the user's mailbox server (the server where SWA accesses their IMAP mailbox)
# is used. This is useful in multi-server deployments because it avoids
# LDAP referral chasing. If an LDAP server other than the user's 'home'
# server is used, it will generate a referral that has to be followed
# to their home server. This happens on every LDAP connection leading to
# extra load on the local LDAP server and increased response time.
# The '%h' directive optimizes the referral following away because
# the user's IMAP server, which we have already identified, is by
# definition the correct LDAP server to contact to avoid referrals.
#
# LDAP port number (optional, default = 389)
# swa.ldap.<n>.port=389
#
# Base DN (mandatory)
# swa.ldap.<n>.baseDN=o=Scalix
#
# Type (mandatory)
# Notes: (1) This is actually a name to tag the entry; "personal" and "system"
# are reserved values, as is any name starting with either.
# (2) to define the search order, this can be referenced in
# swa.user.dirSearchOrder
# swa.ldap.<n>.type=myldap
#
# LDAP search Filter (mandatory)
# Note: Use %s to represent user input to checknames or addressbook search
# swa.ldap.<n>.filter=(|(givenname=*%s*)(surname=*%s*))
#
# LDAP search Scope (optional, default = one)
# Possible Values: sub, one, base
# swa.ldap.<n>.scope=sub
#
# Maximum number of entries to return (optional, default 100)
# swa.ldap.<n>.addressSearchLimit=10
#
# Maximum time (in milliseconds) before timing out (optional, default 10000)
# swa.ldap.<n>.timeout=30000
#
# LDAP Authentication Type (optional, default = none)
# Possible Values: none, simple
# swa.ldap.<n>.authType=none
#
# LDAP Authentication Type (optional, default = none)
# Possible Values: none, simple
# swa.ldap.<n>.authType=none
#
# LDAP Bind DN (optional)
# Note: Use %u to represent the user's name as identified by his eMail address
# swa.ldap.<n>.bindDN=cn=Administrator,o=Scalix
#
# LDAP Source Label (mandatory) or ID for localized name in Resource file)
# swa.ldap.<n>.resourceLabel=My LDAP
# swa.ldap.<n>.resourceID=my_ldap_resource_label
#
# Name of attribute displayed as Friendly Name in CheckNames result
# (optional, default = omcn)
# swa.ldap.<n>.checkNames.nameAttribute=displayName
#
# Name of attribute displayed as Email Address in CheckNames result
# (optional, default = mail)
# swa.ldap.<n>.checkNames.nameAttribute=rfc822address
#
# Further attribute definitions (the address book expects at least 3 columns)
#
# LDAP Attribute Label (mandatory) or ID for localized name in resource file
# swa.ldap.<n>.search.<m>.resourceID=fax_number_resource
#
# display Header (optional)
# swa.ldap.<n>.search.<m>.header=true
#
# Attribute identification for special columns (optional)
# Possible values: name, email
# swa.ldap.<n>.search.<m>.type=name
#
# LDAP attribute mapped to column (mandatory)
# swa.ldap.<n>.search.<m>.dirAttribute=UID
#

swa.ldap.1.type=system
swa.ldap.1.server=mail.xxxx.net
swa.ldap.1.port=389
swa.ldap.1.baseDN=o=scalix
swa.ldap.1.displayName.resourceID=addressbooksearch_title_system
swa.ldap.1.displayName.resourceLabel=System Directory
swa.ldap.1.authType=simple
swa.ldap.1.bindDN=mail=%u
swa.ldap.1.filter=(&(!(omExCdaDirectory=*))(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*))))
swa.ldap.1.addressSearchLimit=100

swa.ldap.1.search.1.header=true
swa.ldap.1.search.1.type=name
swa.ldap.1.search.1.name.resourceID=addressbooksearch_label_name
swa.ldap.1.search.1.name.resourceLabel=Name
swa.ldap.1.search.1.dirAttribute=omcn

swa.ldap.1.search.2.header=true
swa.ldap.1.search.2.type=email
swa.ldap.1.search.2.name.resourceID=addressbooksearch_label_email
swa.ldap.1.search.2.name.resourceLabel=Email Address
swa.ldap.1.search.2.dirAttribute=rfc822Mailbox

swa.ldap.1.search.3.header=true
swa.ldap.1.search.3.type=
swa.ldap.1.search.3.name.resourceID=addressbooksearch_label_phone
swa.ldap.1.search.3.name.resourceLabel=Phone
swa.ldap.1.search.3.dirAttribute=telephoneNumber

swa.ldap.1.search.4.header=
swa.ldap.1.search.4.type=
swa.ldap.1.search.4.name.resourceID=
swa.ldap.1.search.4.name.resourceLabel=Fax Phone
swa.ldap.1.search.4.dirAttribute=facsimileTelephoneNumber

swa.ldap.1.search.5.header=
swa.ldap.1.search.5.type=
swa.ldap.1.search.5.name.resourceID=
swa.ldap.1.search.5.name.resourceLabel=Mobile Phone
swa.ldap.1.search.5.dirAttribute=mobileTelephoneNumber

swa.ldap.1.search.6.header=
swa.ldap.1.search.6.type=
swa.ldap.1.search.6.name.resourceID=
swa.ldap.1.search.6.name.resourceLabel=Pager Phone
swa.ldap.1.search.6.dirAttribute=pagerTelephoneNumber

swa.ldap.2.type=personal
swa.ldap.2.server=mail.xxxx.net
swa.ldap.2.port=389
swa.ldap.2.baseDN=o=MyContacts
swa.ldap.2.displayName.resourceID=addressbooksearch_title_personal
swa.ldap.2.displayName.resourceLabel=Personal Contacts
swa.ldap.2.authType=simple
swa.ldap.2.bindDN=rfc822mailbox=%u
swa.ldap.2.filter=(&(!(omExCdaDirectory=*))(|(&(cn=%s*)(|(mail=*)(304=4)))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*))))
swa.ldap.2.timeout=100000

# Default theme name
swa.themes.default.id=scalix-default
# set to true is you want end user to be able to select from the list of predefined themes in Options
swa.themes.available=true

# Customized links to external sites may be added to the tools menu
# as follows:
#
# The URL (mandatory)
# swa.url.<n>.url=url
# Defines the url that will open in a new window when the menu
# item is clicked. It is recommended to explicitly include
# the desired protocol as part of the url, but SWA will use
# http:// in the absence of another protocol.
# You may use the %u variable as a placeholder that will be
# replaced by the currently logged-in user's e-mail address
#
# The id of a localizable string in the resource file to display
# in the menu (optional)
# swa.url.<n>.name.resourceID=resourceID
# If the given ID is present in the localization file,
# SWA will use the string associated with that ID as
# the label for this menu item.
#
# The label to do display in the menu (optional)
# swa.url.<n>.name.resourceLabel=resourceLabel
# If the resource ID is not defined or is not present in the
# resource file this label will be displayed as the label
# for the menu item.
#
# For example:
#
# swa.url.1.url=http://www.google.com?emailAddress=%u
# swa.url.1.name.resourceID=label_google
# swa.url.1.name.resourceLabel=Google
#
# Notes:
#
# - Any links defined here will appear under the Tools menu of SWA
# for all users
# - <n> can be any number between 1 and 10. No more than 10 links
# can be displayed
# - Any labels beyond 35 characters in length will get truncated
# - If a label cannot be found or is not defined, the menu item will
# appear as "Untitled"

# swa.url.1.url=http://www.google.com?emailAddress=%u
# swa.url.1.name.resourceID=label_google
# swa.url.1.name.resourceLabel=Google

swa.debug.listOfUsersToLogImap=
swa.debug.listOfUsersToLogSmtp=

# Comma-separated list of Internet address of users with client logging enabled
swa.debug.listOfDebuggingUsers=

#The default client log level for debug users. 0 = OFF, 1 = ERROR, 2 = WARN, 3 = INFO, 4 = DEBUG
#3 is default.
swa.debug.defaultClientLogLevel=3

#The default client log destination for debug users. 0 = LOCAL, 1 = REMOTE, 2 = BOTH
swa.debug.defaultClientLogDestination=0
swa.email.domain=xxxx.com
Fred Kienker
AT4B

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Wed May 20, 2015 10:19 am

Note: mail.xxxx.net was substituted for the real server hostname.

This should be a very "vanilla" file. We have made no changes to it manually.

SO glad we decided to test this before deploying it! Our testers can live with "broken" SWA's but not our users.
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Issues after updating from 12.1 to 12.5

Postby ScalixSupport » Wed May 20, 2015 11:25 am

Hi,

please check last line, it should be "swa.email.domain=xxxx.net" instead of "swa.email.domain=xxxx.com"

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Wed May 20, 2015 2:37 pm

I made the change per your instructions, rebooted the Scalix server, cleared the browser cache, rebooted the Windows machine and tried it again. Now after about 15 seconds i have a message "An error occurred while fetching the messages in your calendar folder(s)" followed by a message "Your Scalix server is temporaily unavailable. Please try again later." If I click on the OK button and wait about 30 seconds it all "magically" starts working correctly and continues to do so until the browser window is closed hours later. But the next time it is opened again same thing happens.

BTW, the change you asked me to make seemed a bit counter-intuitive. The server hostname *is* mail.xxx.net but the email domain is (in fact) xxxx.com. We have been running our severs successfully this way since the early days of Scalix 10.1 without issues. If this is a *problem* we need to know this.
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Issues after updating from 12.1 to 12.5

Postby ScalixSupport » Thu May 21, 2015 4:38 am

Hi,

As i checked in swa.properties file your mail domain name is showing "mail.xxxx.net". And same domain name used for imap, smtp server and swa platform.

swa.email.imapServer=mail.xxxx.net
swa.email.smtpServer=mail.xxxx.net
swa.platform.url=http://mail.xxxx.net/api

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Thu May 21, 2015 11:10 am

There appears to be some mis-communication. The Scalix hostname is mail.at4b.net and it lives on then at4b.net network. The Scalix Default Domain is set to "at4b.com" and it is the only domain Scalix recieves email for.

I'm at a complete loss as to where to look next. What does " ajp_read_header: ajp_ilink_receive failed" mean and what is it trying to tell me?
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Issues after updating from 12.1 to 12.5

Postby ScalixSupport » Fri May 22, 2015 11:00 am

Hi,

Please share the output of below commands

hostname -f

omshowmnmp

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Sun May 24, 2015 3:02 am

# hostname -f
mail.at4b.net
# omshowmnmp
mail mail.at4b.net
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Issues after updating from 12.1 to 12.5

Postby ScalixSupport » Mon May 25, 2015 5:01 am

hi,

Then all is ok, when hostname and domain name are different in this case you should use hostname in all config file.

Apache 70007 error mean that session was closed because of timeout and after update it was rewrited all files in "/etc/opt/scalix-tomcat/connector/ajp/"
make some changes like timeout=800 retry=1 ttl=5 ping=5 or increase these parameters, and after that you should restart apache.

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Mon Jul 06, 2015 1:17 am

Well, further testing is starting to make me think this is and version conflict with a package from the OS. I'm running Scalix 12.1 and 12.5 test instances on CentOS 6.6 x64. I have *exactly* the same issue on *both* versions with the Webmail client. No issues with either one running CentOS 5.11 - none!

Further more, I have been using postfix for years with Scalix (back to 11.1 days) and now have intermittent problems sending email from both 12.1 and 12.5 using postfix 2.6.6-6.el6_5 in CentOS 6 x64 which *never* occur when the email is instead routed ot another machine running postfix 2.3.3-7.el5 on CentOS 5.11. This is a repeatable test using an email with attachements. Emails without attachements so far do not have the issue.

Am I the only one running these combinations?
Fred Kienker
AT4B

fkienker
Posts: 76
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Issues after updating from 12.1 to 12.5

Postby fkienker » Thu Jul 09, 2015 1:33 pm

Have finally worked through all but one of the postfix issues. Once this last one is conquered all will be well.

There is a possibility the errors I see could be coming because Outlook is the typical client we use for testing. I plan to test this setup again and avoid using Outlook and see if the errors go away. I also question whether or not I'm using the current Scalix Connector. One of the issues with the new website is no version information seems available. This makes it hard to know whether or not we are using the current version or when updates are available.
Fred Kienker
AT4B


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 1 guest

cron