Sac Login Not working

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

xxkozxx

Sac Login Not working

Postby xxkozxx » Fri Mar 23, 2007 4:40 pm

I need some help. I have been digging around here for weeks and tried most all of the suggestions to fix this problem but can't seem to get it working.

I am running Scalix 10.0.5 on FC4. I just upgraded from 9 to 10 a few weeks ago. Everytime I try to log into SAC, it comes back with invalid credential errors (as seen below from the log file) however SWA seems to be working just fine.

I have checked and doublechecked the sxqueryadmin and sxadmin passwords. They match. I have also made sure that the psdata file matches both.

I did an ldap search using the following command:

Code: Select all

ldapsearch -xh localhost -D "cn=sxqueryadmin" -w MyPassword


I get back:

Code: Select all

# search result
search: 2
result: 0 Success

# numResponses: 536
# numEntries: 535


So as far as I can tell everything is checking out.

I have also reconfigured the SAC a couple of times to see if I can get it to fix itself. That hasn't worked either.

There are no errors in the res or caa logs and everything seems to be working just fine. I just can't log into sac.

I also went and checked the md5 against my installer and it checks out:

Code: Select all

md5sum -c scalix-core-intel-redhat-10.0.5.tar.gz.md5
scalix-core-intel-redhat-10.0.5.tar.gz: OK


Below is the output from the log:

Code: Select all

2007-03-23 14:20:44,289 DEBUG [RbacAuthorizationHelper.authenticateUser:55] Sending request to ldap host =mmcnix.mooremedicalcenter.com
2007-03-23 14:20:44,290 DEBUG [RbacAuthorizationHelper.authenticateUser:56] Sending request as user id = sxadmin
2007-03-23 14:20:44,290 DEBUG [RbacAuthorizationHelper.authenticateUser:57] Filter =(omUlAuthid=sxadmin)
2007-03-23 14:20:44,298 ERROR [RbacAuthorizationHelper.authenticateUser:87] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
        at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
        at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:58)
        at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:112)
        at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:157)
        at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:83)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Unknown Source)
2007-03-23 14:20:44,303 DEBUG [SAAJServlet.doPost:130] ************ Request End Success ***************


Please help. I don't know what else to check to get it fixed. Thanks.

craig

Postby craig » Mon Apr 02, 2007 4:23 pm

So you can login to SWA with the sxadmin account?

Craig

xxkozxx

Postby xxkozxx » Mon Apr 02, 2007 4:30 pm

No. I can't log in with any account.


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests