SAC "Could not fetch server list"

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

SAC "Could not fetch server list"

Postby hindog » Mon Apr 09, 2007 1:45 pm

After upgrading from 11.0.1 to 11.0.2.23, I cannot log into SAC.. webmail works fine:

In the logs, I noticed the following:


scalix-res.log has:

Code: Select all

2007-04-04 01:20:58,001 ERROR [Notifier.sendNotification:116] java.net.UnknownHostException: __FQHN_FOR_UBERMANAGER__



scalix-caa.log output:

Code: Select all

2007-04-09 10:32:44,539 DEBUG [SAAJServlet.doPost:93] ************ Request Start ***************
2007-04-09 10:32:44,539 DEBUG [SAAJServlet.doPost:95] Starting SAAJServlet with POST
2007-04-09 10:32:44,540 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header host:mail.mydomain.com
2007-04-09 10:32:44,541 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header user-agent:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061023 SUSE/2.0-30 Firefox/2.0
2007-04-09 10:32:44,541 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2007-04-09 10:32:44,542 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-language:en-us,en;q=0.5
2007-04-09 10:32:44,542 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-encoding:gzip,deflate
2007-04-09 10:32:44,543 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
2007-04-09 10:32:44,543 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Keep-Alive:300
2007-04-09 10:32:44,544 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header connection:keep-alive
2007-04-09 10:32:44,560 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-type:text/xml
2007-04-09 10:32:44,560 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header referer:http://mail.mydomain.com/sac/AdminApp.jsp
2007-04-09 10:32:44,561 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-length:457
2007-04-09 10:32:44,561 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header cookie:opPrefs=ww_ahiniker@mydomain.com%3A1280%26wh_ahiniker@mydomain.com%3A936%26btph_ahiniker@mydomain.com%3A226%26wl_ahiniker@mydomain.com%3A1280%26wt_ahiniker@mydomain.com%3A8
2007-04-09 10:32:44,562 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header pragma:no-cache
2007-04-09 10:32:44,562 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Cache-Control:no-cache
2007-04-09 10:32:44,563 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Max-Forwards:10
2007-04-09 10:32:44,564 DEBUG [SOAPDispatcherServlet.onMessage:159] **** Start of Message Handling ****
2007-04-09 10:32:44,567 DEBUG [SOAPHelper.getElementValue:144] Found ServiceType
2007-04-09 10:32:44,567 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key disabled found null
2007-04-09 10:32:44,568 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,569 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,569 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-09 10:32:44,570 DEBUG [SOAPHelperUtils.getSoapBodyElement:190] Found Credentials
2007-04-09 10:32:44,570 DEBUG [SOAPHelperUtils.getCredentials:255] local name=id
2007-04-09 10:32:44,571 DEBUG [SOAPHelperUtils.getCredentials:256] qualified name=id
2007-04-09 10:32:44,571 DEBUG [SOAPHelperUtils.getCredentials:272] local name=name
2007-04-09 10:32:44,572 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=name
2007-04-09 10:32:44,572 DEBUG [SOAPHelperUtils.getCredentials:277] value=admin@mydomain.com
2007-04-09 10:32:44,573 DEBUG [SOAPHelperUtils.getCredentials:272] local name=passwd
2007-04-09 10:32:44,573 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=passwd
2007-04-09 10:32:44,574 DEBUG [SOAPHelperUtils.getCredentials:282] value=xxxxxxxxx
2007-04-09 10:32:44,574 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,575 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,575 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-09 10:32:44,576 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetConsoleConfig
2007-04-09 10:32:44,576 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-09 10:32:44,577 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetConsoleConfig
2007-04-09 10:32:44,577 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,578 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,578 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found ServiceType
2007-04-09 10:32:44,579 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =scalix.res
2007-04-09 10:32:44,579 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,580 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,581 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-09 10:32:44,581 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetConsoleConfig
2007-04-09 10:32:44,582 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-09 10:32:44,582 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetConsoleConfig
2007-04-09 10:32:44,583 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,583 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,584 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-09 10:32:44,584 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 FunctionName = GetConsoleConfig
2007-04-09 10:32:44,585 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 GetConsoleConfigParameters = null
2007-04-09 10:32:44,586 DEBUG [SOAPHelperUtils.getSoapBodyElement:190] Found GetConsoleConfigParameters
2007-04-09 10:32:44,586 DEBUG [CAAServiceFactory.getService:52] Looking for service called scalix.res
2007-04-09 10:32:44,587 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key service.class found com.scalix.sac.ubermgr.caa.RESService
2007-04-09 10:32:44,587 DEBUG [SOAPDispatcherServlet.onMessage:266] Calling doRequest() on service com.scalix.sac.ubermgr.caa.RESService@170b819
2007-04-09 10:32:44,590 DEBUG [SOAPHelperUtils.getSoapBodyResponseElement:422] Body element1 CAAResponseMessage = null
2007-04-09 10:32:44,590 DEBUG [SOAPHelperUtils.getSoapBodyResponseElement:424] Found CAAResponseMessage
2007-04-09 10:32:44,594 DEBUG [SAAJServlet.doPost:130] ************ Request End Success ***************
2007-04-09 10:32:44,643 DEBUG [SAAJServlet.doPost:93] ************ Request Start ***************
2007-04-09 10:32:44,644 DEBUG [SAAJServlet.doPost:95] Starting SAAJServlet with POST
2007-04-09 10:32:44,645 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header host:mail.mydomain.com
2007-04-09 10:32:44,645 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header user-agent:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061023 SUSE/2.0-30 Firefox/2.0
2007-04-09 10:32:44,646 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2007-04-09 10:32:44,646 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-language:en-us,en;q=0.5
2007-04-09 10:32:44,647 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-encoding:gzip,deflate
2007-04-09 10:32:44,647 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
2007-04-09 10:32:44,648 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Keep-Alive:300
2007-04-09 10:32:44,648 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header connection:keep-alive
2007-04-09 10:32:44,649 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-type:text/xml
2007-04-09 10:32:44,649 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header referer:http://mail.mydomain.com/sac/AdminApp.jsp
2007-04-09 10:32:44,649 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header content-length:440
2007-04-09 10:32:44,650 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header cookie:opPrefs=ww_ahiniker@mydomain.com%3A1280%26wh_ahiniker@mydomain.com%3A936%26btph_ahiniker@mydomain.com%3A226%26wl_ahiniker@mydomain.com%3A1280%26wt_ahiniker@mydomain.com%3A8
2007-04-09 10:32:44,650 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header pragma:no-cache
2007-04-09 10:32:44,651 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Cache-Control:no-cache
2007-04-09 10:32:44,651 DEBUG [SAAJUtils.dumpHeaders:129] -----> Header Max-Forwards:10
2007-04-09 10:32:44,689 DEBUG [SOAPDispatcherServlet.onMessage:159] **** Start of Message Handling ****
2007-04-09 10:32:44,692 DEBUG [SOAPHelper.getElementValue:144] Found ServiceType
2007-04-09 10:32:44,692 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key disabled found null
2007-04-09 10:32:44,693 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,693 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,694 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-09 10:32:44,694 DEBUG [SOAPHelperUtils.getSoapBodyElement:190] Found Credentials
2007-04-09 10:32:44,695 DEBUG [SOAPHelperUtils.getCredentials:255] local name=id
2007-04-09 10:32:44,695 DEBUG [SOAPHelperUtils.getCredentials:256] qualified name=id
2007-04-09 10:32:44,696 DEBUG [SOAPHelperUtils.getCredentials:272] local name=name
2007-04-09 10:32:44,696 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=name
2007-04-09 10:32:44,697 DEBUG [SOAPHelperUtils.getCredentials:277] value=admin@mydomain.com
2007-04-09 10:32:44,697 DEBUG [SOAPHelperUtils.getCredentials:272] local name=passwd
2007-04-09 10:32:44,698 DEBUG [SOAPHelperUtils.getCredentials:273] qualified name=passwd
2007-04-09 10:32:44,698 DEBUG [SOAPHelperUtils.getCredentials:282] value=xxxxxxxxx
2007-04-09 10:32:44,699 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,699 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,700 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-09 10:32:44,700 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetServersList
2007-04-09 10:32:44,701 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-09 10:32:44,701 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetServersList
2007-04-09 10:32:44,702 DEBUG [SOAPHelperUtils.getSoapBodyElement:179] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,703 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,703 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 Credentials = null
2007-04-09 10:32:44,704 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 FunctionName = GetServersList
2007-04-09 10:32:44,704 DEBUG [SOAPHelperUtils.getSoapBodyElement:187] Body element2 GetServersListParameters = null
2007-04-09 10:32:44,705 DEBUG [SOAPHelperUtils.getSoapBodyElement:200] No SoapBodyElement of type ScalixServers found.
2007-04-09 10:32:44,705 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,706 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,706 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found ServiceType
2007-04-09 10:32:44,707 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =scalix.res
2007-04-09 10:32:44,707 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:69] Body element1 CAARequestMessage = null
2007-04-09 10:32:44,708 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 ServiceType = scalix.res
2007-04-09 10:32:44,709 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 Credentials = null
2007-04-09 10:32:44,709 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:77] Body element2 FunctionName = GetServersList
2007-04-09 10:32:44,710 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2007-04-09 10:32:44,710 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetServersList
2007-04-09 10:32:44,711 DEBUG [CAAServiceFactory.getService:52] Looking for service called scalix.res
2007-04-09 10:32:44,711 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key service.class found com.scalix.sac.ubermgr.caa.RESService
2007-04-09 10:32:44,712 DEBUG [SOAPDispatcherServlet.onMessage:266] Calling doRequest() on service com.scalix.sac.ubermgr.caa.RESService@146ad8b
2007-04-09 10:32:44,714 DEBUG [SOAPHelperUtils.getSoapBodyResponseElement:422] Body element1 CAAResponseMessage = null
2007-04-09 10:32:44,715 DEBUG [SOAPHelperUtils.getSoapBodyResponseElement:424] Found CAAResponseMessage
2007-04-09 10:32:44,717 DEBUG [SAAJServlet.doPost:130] ************ Request End Success ***************


where is __FQHN_FOR_UBERMANGER__ being loaded from?

I edited my /var/opt/scalix/el/res/config/res.properties and replaced the __FQHN_FOR_UBERMANAGER__ values with the domain name of the server (let's say email.mydomain.com) and restarted scalix-tomcat. Same message in logs.

Any more ideas?

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

Postby ScalixSupport » Tue Apr 10, 2007 4:12 am

Try restarting Scalix Server as a whole, using the commands below:

Code: Select all

omshut
omrc


Thanks,
Subir

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Wed Apr 11, 2007 5:05 am

Restarted the server using those commands, and I am getting the same problem when logging into SAC.

Any other thoughts?

Aaron

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

Postby ScalixSupport » Wed Apr 11, 2007 7:29 am

Hey!

Refer to the link below that would help you resolve all Scalix hostname modification related
issues.
http://www.scalix.com/wiki/index.php?ti ... ChangeFQDN
Note: This document covers all changes that are applicable for res.properties as well.

Thanks,
Subir

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Wed Apr 11, 2007 1:12 pm

I looked through the wiki, checked the various parts for hostname change, and I have the correct FQDN in each of the files the wiki references.

I'm not trying to change the FQDN, though. All I did was run through the installer of 11.0.2 and kept all of the previous values. I only referenced the FQDN_UBERMANAGER variable that is being passed into Scalix via res.properties and is trying to be resolved directly-- when it looks like a variable that the installer didn't correctly replace.

So.. I don't need to change the hostname (and I haven't tried to).. I only tried to replace the variable in res.properties to the actual FQDN of my server (which has always been the same).

I value your input on this matter-- but I don't think that wiki page will help me much with this issue, unless there is something I overlooked that is related to my problem??

Aaron

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Wed Apr 11, 2007 1:26 pm

here is my res.properties -- you can see how I commented out the variable and hardcoded in my domain:


#
# Remote Execution Properties file
#

# Enable Kerberos secure communication between Ubermanager and RES - set to true or false
# Note: Ubermanager *must* have a matching ubermanager.kerberos.mode value in its ubermanager.properties
# configuration file
res.kerberos.mode=__SECURED_MODE__
#
# UberManager master host.
#
#commented out the following line and hardcoded it the next
#see the excepting regarding HostNotFound in my first post.. this value
#seems to be used explictly
#res.ubermanager.host=__FQHN_FOR_UBERMANAGER__
res.ubermanager.host=email.mydomain.com

#remote notification port:
res.ubermanager.udp.port=3450
res.tomcat.tcp.port=__TOMCAT_PORT__

# location of the registration store relative to where /etc/opt/scalix/res/store
res.events.store=events.data
#number of notification threads Max is 3
res.notification.numThreads=2
#
# timeout waiting for registration ACK (millisecs)
#
res.registration.timeout=5000

#
# number of retries sending registration (-1 = unlimited)
#
res.registration.retries=100

#
# number of millseconds between heartbeats
#
res.notification.heartbeat.interval=60000

#
# XML security stuff
#
res.kerberos.loginConfFile=krblogin.conf
res.kerberos.loginConfStanza=RES
res.kerberos.realm=__KERBEROS_REALM__
res.kerberos.kdc=__FQHN_FOR_KDC_HOST__

# comma-separated list of allowed clients - "if you're not on the list, you're not coming in!"
# empty list means any client is allowed (not recommended unless you want anyone to be able to execute admin commands
# on your mail server). Spaces and case do not matter. You do not need to append the realm either.
#res.kerberos.allowedclients=ubermanager/__FQHN_FOR_UBERMANAGER__
res.kerberos.allowedclients=ubermanager/email.mydomain.com
#
#language and char environment variables for
# the executing om* commands
#
res.env.lang=en_US.UTF-8
res.env.charset=UTF-8
#
# file where named instances are defined
#
res.namedinstance.global=/etc/opt/scalix/instance.cfg
#
# Sudo mode. If this is set to true then all commands sudo will execute must be in the sudoers file.
# Sudo and Command prefix for secured non-root execution of Tomcat
# default value for sudo is false. To use sudo you must set this attribute to
# true and read the Scalix Administration Guide and the configuration for sudo
# documentation and ensure that all commands needed for non-root access execution
# by the UM and RES are in the sudoers file with NOPASSWD access otherwise it want
# work.
res.commands.sudo.mode=false
#default value for Scalix install directory is /opt/scalix
# this directory must contain two peer sub-directories bin and diag where
# all the scalix commands reside.
res.commands.scalixHome=/opt/scalix
#
# Flag for configuration. This value is set by Merlin
# to true after configuration.
#
#
# RES version number
#
res.version=11.0.2
res.configured=__CONFIGURED__

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

Postby ScalixSupport » Thu Apr 12, 2007 1:49 am

Hi!

I would suggest you to re-configure the following Scalix Components by running the Scalix
Installer:
Scalix DB
Scalix Tomcat
Scalix Messaging Services
Scalix Management Agent
Scalix Management Services

Make sure for all entries of hostname you should provide Scalix Server FQDN, something
similar to email.mydomain.com, as shown by you.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron