Problems logging into SAC on 9.2
Posted: Thu Feb 24, 2005 10:26 am
I have installed Scalix 9.2 on a FC3 box to evaluate and have been unable to get into the admin console, the webmail works fine, looking at the CAA.log it seems that the credentials are incorrect.
2005-02-24 08:59:12,892 INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting
up, standby <====
2005-02-24 08:59:12,965 WARN [CAAConfigLoader.parseConfigDocument:224] No services
are configured in this config file
2005-02-24 08:59:12,971 ERROR [CAAConfigLoader.parseComponentNode:244] Service
scalix.res, Component disabled has no class defined!
2005-02-24 08:59:13,040 INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server
cache is empty. Skipping cleanup
2005-02-24 08:59:13,055 INFO [NotificationEventListener.launch:230] Main
Notification Event Listener thread launched...
2005-02-24 08:59:13,058 INFO [NotificationEventListener.launch:233] Notification
Worker thread
com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0
launched...
2005-02-24 08:59:13,061 INFO [NotificationEventListener.launch:233] Notification
Worker thread
com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1
launched...
2005-02-24 08:59:13,068 INFO [RESInitializer.initNotificationListener:201]
RESMonitor-thread Thread launched...
2005-02-24 08:59:13,077 INFO [SOAPDispatcherServlet.init:118] ====> CAA started,
you may fire when ready <====
2005-02-24 08:59:34,813 ERROR [RbacAuthorizationHelper.isScalixUser:222] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at
com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at
javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at
com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.isScalixUser(RbacAuthorizationH
elper.java:206)
at
com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:111)
at
com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:
155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
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(ApplicationFilterC
hain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jav
a: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.j
ava: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:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
102)
I had a look through the forum and tried a couple of other things, such as checking the user details.
[root@dangermouse bin]# omshowu -n sxadmin
Authentication ID: sxadmin@dangermouse.unity-systems.com
User Name : sxadmin /CN=sxadmin
MailNode : dangermouse,unity-systems
Internet Address : sxadmin@dangermouse.unity-systems.com
System Login : sxadmin
Password : set
External authentication only: NO
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 02.23.05 08:48:46
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
[root@dangermouse bin]#
It seems OK, also the following returns a list from the ldap server
./omldapsearch -h dangermouse.unity-systems.com -D "omUlAuthid=sxadmin@dangermouse.unity-systems.com" -w password cn=*
Therefore I believe the password is correct, I wasn't sure how to enable the log4j to debug for the CAA log?
Any help would be good?
Thanks
Philip
2005-02-24 08:59:12,892 INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting
up, standby <====
2005-02-24 08:59:12,965 WARN [CAAConfigLoader.parseConfigDocument:224] No services
are configured in this config file
2005-02-24 08:59:12,971 ERROR [CAAConfigLoader.parseComponentNode:244] Service
scalix.res, Component disabled has no class defined!
2005-02-24 08:59:13,040 INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server
cache is empty. Skipping cleanup
2005-02-24 08:59:13,055 INFO [NotificationEventListener.launch:230] Main
Notification Event Listener thread launched...
2005-02-24 08:59:13,058 INFO [NotificationEventListener.launch:233] Notification
Worker thread
com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0
launched...
2005-02-24 08:59:13,061 INFO [NotificationEventListener.launch:233] Notification
Worker thread
com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1
launched...
2005-02-24 08:59:13,068 INFO [RESInitializer.initNotificationListener:201]
RESMonitor-thread Thread launched...
2005-02-24 08:59:13,077 INFO [SOAPDispatcherServlet.init:118] ====> CAA started,
you may fire when ready <====
2005-02-24 08:59:34,813 ERROR [RbacAuthorizationHelper.isScalixUser:222] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at
com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at
javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at
com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.isScalixUser(RbacAuthorizationH
elper.java:206)
at
com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:111)
at
com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:
155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
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(ApplicationFilterC
hain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jav
a: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.j
ava: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:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:
102)
I had a look through the forum and tried a couple of other things, such as checking the user details.
[root@dangermouse bin]# omshowu -n sxadmin
Authentication ID: sxadmin@dangermouse.unity-systems.com
User Name : sxadmin /CN=sxadmin
MailNode : dangermouse,unity-systems
Internet Address : sxadmin@dangermouse.unity-systems.com
System Login : sxadmin
Password : set
External authentication only: NO
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 02.23.05 08:48:46
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
[root@dangermouse bin]#
It seems OK, also the following returns a list from the ldap server
./omldapsearch -h dangermouse.unity-systems.com -D "omUlAuthid=sxadmin@dangermouse.unity-systems.com" -w password cn=*
Therefore I believe the password is correct, I wasn't sure how to enable the log4j to debug for the CAA log?
Any help would be good?
Thanks
Philip