Can´t loggin to SAC

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

dougsanfu

Can´t loggin to SAC

Postby dougsanfu » Thu Apr 30, 2009 2:08 pm

I´m testing Scalix Entreprise on Centos 5.2, installation went smooth and trouble free. Everything seems to be working OK except the management console.

If I logon as an admin, the first time works OK, but if I logoff and try to login again the server responds:

Could not login
Could not fetch server list


And this appears in scalix-caa.log:

2009-04-30 10:25:18,352 FATAL [RESTransformer.createSOAPResponseMessage:60] Exception thrown
java.lang.NullPointerException
at com.scalix.sac.ubermgr.transformers.GetServersList.buildResponseMessage(GetServersList.java:63)
at com.scalix.sac.ubermgr.caa.MessageRequestFactory.createMessage(MessageRequestFactory.java:37)
at com.scalix.sac.ubermgr.caa.RESTransformer.createSOAPResponseMessage(RESTransformer.java:58)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:276)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
2009-04-30 10:25:18,356 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
<ServiceType>scalix.res</ServiceType>
<Credentials id="undefined">
<Identity
name="USER@DOMAIN" passwd="PASSWORD"/>
</Credentials>
<FunctionName>GetServersList</FunctionName>
<GetServersListParameters/>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

(edited USER, DOMAIN and PASSWORD)

Any ideas??

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

Re: Can´t loggin to SAC

Postby elliot01 » Wed May 06, 2009 8:27 am

Hello,

I am experiencing the same "Could not fetch server list" error when attempting to log into the SAC front-end.

This Scalix Community Edition was installed a couple of months back for testing (on a fresh CentOS5 box). All was ok, until today when I came to continue testing. I was having a problem with SWA ("An unexpected communication error occurred between the SWA servlet and the Scalix Server resulting in the failure of the previous action"); and Google searches implied that I ran sx_clearimap, to clear my IMAP cache.

This worked, but since then I can no longer log into the SAC area. I have a feeling that sx_clearimap has screwed something up but I'm not sure what!

I have also investigated my scalix-caa.log file, but there are no references to the error, oddly.

Forum searches for the "Could not fetch server list" error produces many results, some solutions being 'uninstall and re-install'! This is obviously a drastic measure, and if this was live certainly wouldn't be an option. Other solutions seem extremely involving, as though the result of a major change (ie: server upgrade), so I have been reluctant to follow them, potentially causing more damage. I am expecting the reason for my "Could not fetch server list" issue to be more straight forward.

My /etc/opt/scalix/instance.cfg looks fine.

Can anyone offer any advice which may help dougsanfu or myself?
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

Re: Can´t loggin to SAC

Postby elliot01 » Wed May 06, 2009 10:10 am

Hmm ok, I found simply rebooting the Scalix box appeared to correct my issue. Won't be the solution for a production environment, but it may be worth noting for now.
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

Re: Can´t loggin to SAC

Postby elliot01 » Wed May 06, 2009 10:13 am

And scratch that! It allowed me to login once, but exiting the browser, then attempting to login again produces the same "Could not fetch server list" result! Grrrrr!
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users

MJ_MCon

Re: Can´t loggin to SAC

Postby MJ_MCon » Wed May 20, 2009 3:29 am

Have you solved the problem? I got the same problem since few days...and no post i found works fine...

Devendra

Re: Can´t loggin to SAC

Postby Devendra » Thu Jun 18, 2009 2:44 pm

I have the same problem ;it says "Cannot fetch configuration information..." when logging into SAC with sxadmin and the correct passwort.

Additional info: After rebooting the server, I can log into SAC without problems. When trying again about an hour later I'm getting the above error again.

Can anyone confirm this? Did anyone find a solution for this??

Thanks & Regards,
Devendra

joaster
Posts: 101
Joined: Wed Aug 02, 2006 9:08 am

Re: Can´t loggin to SAC

Postby joaster » Sun Jul 19, 2009 11:20 am

I am having the same problem and didn't find a solution yet. Except for restarting Scalix but that is not a real solution.

I did however update the CentOS 5.3 server this morning. From that moment I find these errors, maybe they are related:

Check which updates were installed:

Code: Select all

# tail /var/log/yum.log
Jul 07 22:32:15 Installed: libart_lgpl-2.3.17-4.i386
Jul 19 11:36:08 Erased: samba-client
Jul 19 11:36:09 Erased: samba-common
Jul 19 11:40:14 Updated: 30:bind-libs-9.3.4-10.P1.el5_3.1.x86_64
Jul 19 11:40:16 Updated: httpd-2.2.3-22.el5.centos.2.x86_64
Jul 19 11:40:16 Updated: 30:bind-utils-9.3.4-10.P1.el5_3.1.x86_64
Jul 19 11:40:17 Updated: httpd-manual-2.2.3-22.el5.centos.2.x86_64
Jul 19 11:40:19 Updated: kernel-headers-2.6.18-128.2.1.el5.x86_64
Jul 19 11:40:19 Updated: 1:mod_ssl-2.2.3-22.el5.centos.2.x86_64
Jul 19 11:40:54 Installed: kernel-xen-2.6.18-128.2.1.el5.x86_64


Check Scalix logs:

Code: Select all

# cd /var/opt/scalix/s1/tomcat/logs
# cat scalix-caa.log | grep -v INFO | less
2009-07-07 21:08:52,280 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-10 11:25:17,852 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 12:04:08,498  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2009-07-19 12:16:41,522 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 12:26:33,076 FATAL [RESTransformer.createSOAPResponseMessage:60] Exception thrown
java.lang.NullPointerException
...
2009-07-19 12:26:33,077 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="undefined">
                <Identity name="sxadmin@yyy.nl" passwd="xxx"/>
            </Credentials>
            <FunctionName>GetServersList</FunctionName>
            <GetServersListParameters/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2009-07-19 13:03:33,016  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2009-07-19 13:04:15,390 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 13:23:21,520  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2009-07-19 13:36:27,117 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 13:38:04,891 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 13:39:42,272 ERROR [RbacAuthorizationHelper.isUserScalixAdmin:296] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
...
2009-07-19 13:40:10,068 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 13:51:03,684 FATAL [RESTransformer.createSOAPResponseMessage:60] Exception thrown
java.lang.NullPointerException
...
2009-07-19 13:51:03,685 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="">
                <Identity name="sxadmin@yyy.nl" passwd="xxx"/>
            </Credentials>
            <FunctionName>GetServersList</FunctionName>
            <GetServersListParameters/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2009-07-19 16:26:24,490  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2009-07-19 16:28:54,347 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]
2009-07-19 16:30:26,465 ERROR [GetActiveUsersList.createResponseMessage:188]
2009-07-19 16:30:38,109 FATAL [RESTransformer.createCAARequestMessage:36] com.scalix.sac.ubermgr.util.UberManagerException: Failed to obtain CN, Surname, Giv
enname, and Mailnode from LDAP for id = sxadmin@yyy.nl
...
2009-07-19 16:31:57,768 ERROR [RbacAuthorizationHelper.authenticateUser:207] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
...
2009-07-19 16:32:16,343 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:246]


What else can I do to troubleshoot the problem? Is it only the SAC module that is having problems, or should I also have to worry about service outages for my users?

@ Devendra: are you also using redhat or centos 5 and did you update your system before the erros started?

Regards,
Joost.

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

Re: Can´t loggin to SAC

Postby elliot01 » Tue Jul 21, 2009 6:23 am

Hi dougsanfu,

Did you ever find a solution to this problem?
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users

mastermns

Re: Can´t loggin to SAC

Postby mastermns » Tue Oct 13, 2009 10:18 am

Hey there,

i found a solution for

Could not login
Could not fetch server list

you need to edit the following line in your "ubermanager.properties"

# The IP address or hostname on which the notification listener will listen for
RES heartbeats and events.
# Commenting out, or using the value '*', means to listen on all addresses.
ubermanager.notification.listener.address=127.0.0.2 <----- BEFORE
#ubermanager.notification.listener.address=127.0.0.2 <----- BEFORE

After i commented this line everything is working fine.

Hope that helps :)

mastermns

Re: Can´t loggin to SAC

Postby mastermns » Fri Oct 16, 2009 5:02 am

Ups there is a little typing mistake


# The IP address or hostname on which the notification listener will listen for
RES heartbeats and events.
# Commenting out, or using the value '*', means to listen on all addresses.

ubermanager.notification.listener.address=127.0.0.2 <----- BEFORE

#ubermanager.notification.listener.address=127.0.0.2 <----- AFTER


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 1 guest

cron