Cant log into SAC

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

LHD-Tech
Posts: 74
Joined: Tue Feb 20, 2007 1:25 pm
Location: Lompoc, CA
Contact:

Cant log into SAC

Postby LHD-Tech » Fri Mar 09, 2007 7:06 pm

With the recent rush to get all servers, workstations and applications patched and ready for the new DST, my server running CentOS 4.2 was patched using:

Code: Select all

up2date -u tzdata
up2date -u glibc-common


After that, the server was rebooted and everything seemed fine. The next day we tried to log into /sac but we get the error:

Could Not Login
Could not fetch configuration information.
Possible problem with administration server

I have been browsing the forums the last couple of days trying to find a solution. Here is what i have done so far:

omshowu -n sxadmin

Code: Select all

Authentication ID: sxadmin@mail.domain
User Name : sxadmin /CN=sxadmin
MailNode : stuff
Internet Address : "sxadmin" <sxadmin@domain>
System Login : sxadmin
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 05.14.06 03:30:39
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
User Class : Limited


but we still could not log in.

I have tried clearing the cache:

Code: Select all

#rm -r /home/scalix-tomcat/webapps/webmail/
#rm -r /home/scalix-tomcat/work/Catalina/localhost/webmail/


Still no access to SAC...

ADDED 3-13-2007
Here is the log file from the day that we ran time zone update.

Code: Select all

2007-03-06 17:14:26 StandardContext[/servlets-examples]ContextListener: attribut
eReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ef7de4')
2007-03-06 17:14:26 StandardContext[/servlets-examples]ContextListener: attribut
eReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3228a1')
2007-03-06 17:14:26 StandardContext[/servlets-examples]ContextListener: attribut
eReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@10980e7')
2007-03-06 17:14:26 StandardContext[/servlets-examples]SessionListener: contextD
estroyed()
2007-03-06 17:14:26 StandardContext[/servlets-examples]ContextListener: contextD
estroyed()
2007-03-06 17:14:26 StandardContext[/jsp-examples]ContextListener: attributeRepl
aced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@639bf1')
2007-03-06 17:14:26 StandardContext[/jsp-examples]ContextListener: attributeRepl
aced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1931579')
2007-03-06 17:14:26 StandardContext[/jsp-examples]ContextListener: attributeRepl
aced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@166bfd8')
2007-03-06 17:14:26 StandardContext[/jsp-examples]SessionListener: contextDestro
yed()
2007-03-06 17:14:26 StandardContext[/jsp-examples]ContextListener: contextDestro
yed()
2007-03-06 17:23:24 StandardContext[/balancer]org.apache.webapp.balancer.Balance
rFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.w
ebapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Tar
get param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Red
irect URL: http://jakarta.apache.org]]
2007-03-06 17:23:24 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2007-03-06 17:23:24 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2007-03-06 17:23:25 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2007-03-06 17:23:25 StandardContext[/jsp-examples]SessionListener: contextInitialized()


I tried re-installing the SAC portion of Scalix but I am still not able to log into SAC.

Here is the caa.log file:

Code: Select all

[root@mail logs]# more caa.log
2007-03-13 10:12:58,029  INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting up, standby <====
2007-03-13 10:12:58,118 ERROR [CAAConfigLoader.parseComponentNode:244] Service scalix.res, Component disabled has no class defined!
2007-03-13 10:12:58,201  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2007-03-13 10:12:58,426  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2007-03-13 10:12:58,427  INFO [NotificationEventListener.launch:242] Main Notification Event Listener thread launched...
2007-03-13 10:12:58,436  INFO [NotificationEventListener.launch:245] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$Worke
rThread-thread-0 launched...
2007-03-13 10:12:58,438  INFO [NotificationEventListener.launch:245] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$Worke
rThread-thread-1 launched...
2007-03-13 10:12:58,445  INFO [RESInitializer.initNotificationListener:220] RESMonitor-thread Thread launched...
2007-03-13 10:12:58,492  INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====
2007-03-13 10:14:13,605 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-13 10:14:17,677 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-13 10:26:00,290  INFO [RESInitializer.terminate:256] Shutting down UberManager and all its threads...
2007-03-13 10:26:00,300  INFO [RESMonitor.halt:157] RESMonitor-thread Thread shutting down
2007-03-13 10:26:00,301  INFO [NotificationEventListener.cleanup:267] NotificationEventListener-Thread closing UDP socket...
2007-03-13 10:26:00,302  INFO [NotificationEventListener$WorkerThread.halt:119] com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0
 Thread shutting down...
2007-03-13 10:26:00,302 ERROR [NotificationEventListener.run:232] java.net.SocketException: Socket closed
2007-03-13 10:26:00,303  INFO [NotificationEventListener$WorkerThread.halt:119] com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1
 Thread shutting down...
2007-03-13 10:26:00,304  INFO [GuidToServerCache$CleanupThread.stopThread:54] com.scalix.sac.ubermgr.data.GuidToServerCache$CleanupThread-thread Shutting dow
n...
2007-03-13 10:27:53,011  INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting up, standby <====
2007-03-13 10:27:53,364 ERROR [CAAConfigLoader.parseComponentNode:244] Service scalix.res, Component disabled has no class defined!
2007-03-13 10:27:53,421  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2007-03-13 10:27:53,477  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2007-03-13 10:27:53,484  INFO [NotificationEventListener.launch:242] Main Notification Event Listener thread launched...
2007-03-13 10:27:53,485  INFO [NotificationEventListener.launch:245] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$Worke
rThread-thread-0 launched...
2007-03-13 10:27:53,487  INFO [NotificationEventListener.launch:245] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$Worke
rThread-thread-1 launched...
2007-03-13 10:27:53,491  INFO [RESInitializer.initNotificationListener:220] RESMonitor-thread Thread launched...
2007-03-13 10:27:53,587  INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====
2007-03-13 10:30:35,085 ERROR [LDAPHelperUtils.getTargetHost:362] javax.naming.CommunicationException: web.acute.lhd:389 [Root exception is java.net.ConnectE
xception: Connection refused]
2007-03-13 10:30:35,098 ERROR [RbacAuthorizationHelper.authenticateUser:87] Exception:
javax.naming.CommunicationException: web.acute.lhd:389 [Root exception is java.net.ConnectException: Connection refused]
        at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
        at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
        at com.sun.jndi.ldap.LdapClient.getInstance(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)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)
        ... 49 more
2007-03-13 11:17:51,971  INFO [RESInitializer.terminate:256] Shutting down UberManager and all its threads...
2007-03-13 11:17:51,973  INFO [RESMonitor.halt:157] RESMonitor-thread Thread shutting down
2007-03-13 11:17:51,974  INFO [NotificationEventListener.cleanup:267] NotificationEventListener-Thread closing UDP socket...
2007-03-13 11:17:51,975  INFO [NotificationEventListener$WorkerThread.halt:119] com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0
 Thread shutting down...
2007-03-13 11:17:51,975 ERROR [NotificationEventListener.run:232] java.net.SocketException: Socket closed
2007-03-13 11:17:51,976  INFO [NotificationEventListener$WorkerThread.halt:119] com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1
 Thread shutting down...
2007-03-13 11:17:51,978  INFO [GuidToServerCache$CleanupThread.stopThread:54] com.scalix.sac.ubermgr.data.GuidToServerCache$CleanupThread-thread Shutting dow
n...


The boss is really starting to hound me about not being able to use SAC.
Last edited by LHD-Tech on Tue Mar 13, 2007 5:59 pm, edited 2 times in total.

rex007can

Postby rex007can » Tue Mar 13, 2007 8:23 am

Exact same problem here.
Updated tz info.
Restarted the server
Restarted Tomcat multiple times.

Nothing I can find works. Webmail is okay. SAC is MIA.
What gives?

rex007can

Postby rex007can » Tue Mar 13, 2007 11:58 am

BTW, another new problem after the time update.
Webmail breaks every couple hours with
"Can not create new thread".

Never did that before monday morning.

rex007can

Postby rex007can » Tue Mar 13, 2007 12:23 pm

And another detail.
I have 2 servers running Scalix 10.x. rhel4 and rhel3
The EL4 server is fine

The EL3 server is the problem.
Running ps aux |grep tomcat on the EL4 returns
root 3839 0.0 19.8 746220 205236 ? Sl Mar08 0:04 /usr/java/jre1.5.0_04/bin/java -server -Djava.net.preferIPv4Stack=true -Xms512m -Xmx512m -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_04/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start


Running ps aux |grep tomcat on the EL3 returns
root 7447 4.6 12.7 786528 130628 pts/1 S 12:19 0:07 /usr/java/jre1.5.0_04/bin/java -server -Djava.net.preferIPv4Stack=true -Xms512m -Xmx512m -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_04/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commo

But it displays it 20 times after a few seconds post-restart of Tomcat
Then the number goes up constantly as time goes by. This would explain why Tomcat stops responding after a few hours and needs to be restarted. It keeps trying to start something and runs our of memory...

And finally, both lines are exactly the same, but one seems to be cut off. It's missing some info. Are there entries missing somewhere for catalina.base and Djava.io.tmpdir

LHD-Tech
Posts: 74
Joined: Tue Feb 20, 2007 1:25 pm
Location: Lompoc, CA
Contact:

Postby LHD-Tech » Tue Mar 13, 2007 1:50 pm

Updated my original post with the log file...

rex007can

Postby rex007can » Tue Mar 13, 2007 3:11 pm

Anybody out there?
I've had to restart Tomcat 11 times since yesterday afternoon.
I have users to create, passwords to change, aliases to add.
I can't even get into the logs!

Anyone?

LHD-Tech
Posts: 74
Joined: Tue Feb 20, 2007 1:25 pm
Location: Lompoc, CA
Contact:

Postby LHD-Tech » Tue Mar 13, 2007 7:17 pm

okay, now I have gotten rid of the original error but everytime i try to login to SAC now, it tells me:

Could Not Login
Check the Login ID and password.
You might have forgotten to include the domain name as part of your Login ID
(e.g. 'yourID@yourDomain.com')

Before, I would just use the username to login, this doesnt work now.
I tried using the username and domain, still cant log in.
I know the password is correct because i just changed it.
User account has admin rights.
Hmmm... what am i missing?

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Tue Mar 13, 2007 7:36 pm

Hi This could be one of many issues.

Firstly. The SAC uses the authid as the loging name ie

[root@scalix ~]# omshowu sxadmin
Authentication ID: sxadmin
User Name : sxadmin /CN=sxadmin
MailNode : scalix,dounsix
Internet Address : "sxadmin" <sxadmin@xyz.com>
System Login : sxadmin
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : YES
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 03.13.07 22:00:08
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
User Class : Full


In this case the AuthenticationID has been set to sxadmin but may be set to sxadmin@yourcompany.com or sxadmin@FQDN etc

You do need to log into the SAC with the authid

If you are still having issues please come back to the forum.

Mike

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Tue Mar 13, 2007 9:37 pm

More

the problem may also be in the SAC manager properties file you may want to check the info here is correct.

/var/opt/scalix/nn/caa/scalix.res/config/ubermanager.properties
Check the following lines

ubermanager.notification.udp.port=3450

ubermanager.query.server=FQDN of your server (found by hostname --fqdn)

ubermanager.query.server.ssl=false

at the bottom of the file

ubermanager.configured=true

See if this helps. If not please come back

Mike

rex007can

Postby rex007can » Tue Mar 13, 2007 10:18 pm

My server's been up for over 2 years.
I've never had a problem logging on the SAC.
My usernames and passwords are good.
My ubermanager is good. Was on Sunday night, was on Monday Morning.
Wasn't right after I updated the time.

Someone needs to find where somehow the SAC gets confused because of the time zone change for version 10.0.1 installed on RHEL3. Because that is the ONLY thing that's been modified on this system.

PLEASE.

KevinAnderson

Postby KevinAnderson » Wed Mar 14, 2007 11:58 am

I am investigating now. I'll post back as soon as I have an answer.

Just to narrow down some details, does anyone see this issue with something other than RHEL3?

In the mean time, and I know this isn't a solution, I'm just trying to provide something for now, basic admin tasks can be done from the command line.

To Change a password:
ommodu <authid> -p <newpassword>

To add a user:
omaddu -n "First Last/Mailnode/IA=internet@mail.address" -p password

To delete a user:
omdelu <authID.

I know that's not a solution, but hopefully it helps. If there are other commands you need right now, please let me know and I'll post the command line version until we have a solution.

Kev.

jcaudell
Posts: 73
Joined: Tue Jul 18, 2006 9:56 am

Postby jcaudell » Wed Mar 14, 2007 12:23 pm

Hey Kevin, have you guys checked the java dst compatibility, since rhel3 seems to use a non-dst2007 version of jre. I posted about it here:
viewtopic.php?p=29265#29265
Just a thought.

rex007can

Postby rex007can » Wed Mar 14, 2007 12:40 pm

I will test this as soos as I can.

Thank-you.

KevinAnderson

Postby KevinAnderson » Wed Mar 14, 2007 12:50 pm

I'd love feedback if anyone can confirm that a java update fixs this.

Kev.

rex007can

Postby rex007can » Wed Mar 14, 2007 2:00 pm

Well.
For starters, My system's Tomcat was using jre1.5.0_04

I installed j2re1.4.2_13
Used the scalix-installer to reconfigure Tomcat to use the new j2re.

Now webmail seems to still work, but SAC give an error 500. I guess there's a compatibility issue there...



javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)

root cause

java.lang.UnsupportedClassVersionError: org/apache/jsp/AdminApp_jsp (Unsupported major.minor version 49.0)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)

Since my other server is okay and is using jre1.5_04, I'll assume that this is not the source of my problem. Although I could be going about it the wrong way.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 16 guests

cron