SAC unavailable after system reboot

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

jong

SAC unavailable after system reboot

Postby jong » Tue May 09, 2006 11:09 am

I have found that if I reboot my mail server the SAC will not allow logins until I perform a reconfigure. Here is the error I am receiving...

Could not fetch configuration information.
Possible problem with administration server

Here is a dump of caa.log

2006-05-09 09:51:17,108 FATAL [RESServiceHandler.GetMailNodesList:555] java.lang.reflect.InvocationTargetException:mmcnix.mooremedicalcenter.com
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.scalix.sac.ubermgr.res.LocalServiceHandler.service(LocalServiceHandler.java:100)
at com.scalix.sac.ubermgr.res.RESServiceHandler.GetMailNodesList(RESServiceHandler.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:108)
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.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: java.io.IOException: omshowrt: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at com.scalix.sac.res.util.CmdExecution.executeCmd(CmdExecution.java:99)
at com.scalix.sac.res.handlers.Omshowrt.execute(Omshowrt.java:27)
... 39 more
2006-05-09 09:51:17,110 ERROR [GetMailNodesList.buildResponseMessage:101] Skipping server mmcnix.mooremedicalcenter.com. No document received!

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

Postby ScalixSupport » Tue May 09, 2006 11:15 am

What version of the Scalix software did you install ?

This indicates that you didn't run tomcat as root or include /opt/scalix/bin and /opt/scalix/diag in the tomcat path when it runs.

Cheers

Dave

jong

Postby jong » Tue May 09, 2006 11:36 am

ScalixSupport wrote:What version of the Scalix software did you install ?

This indicates that you didn't run tomcat as root or include /opt/scalix/bin and /opt/scalix/diag in the tomcat path when it runs.

Cheers

Dave



This server is running 9.4.2

I have only rebooted it three times in it's six months of service and the last two times I have not been able to access the SAC after the reboot. Tomcat is started in /etc/init.d/ by this script...

#!/bin/sh
# -----------------------------------------------------------------------------
# Start Script for the CATALINA Server
#
# $Id: startup.sh,v 1.3 2002/08/04 18:19:43 patrickl Exp $
# -----------------------------------------------------------------------------

# resolve links - $0 may be a softlink
PRG="$0"

while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done

PRGDIR=/usr/java/j2sdk1.4.2_10/jakarta-tomcat-5.0.28/bin
EXECUTABLE=catalina.sh

# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "This file is needed to run this program"
exit 1
fi

exec "$PRGDIR"/"$EXECUTABLE" start "$@"

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

Postby ScalixSupport » Tue May 09, 2006 12:11 pm

Hi Jong,

You should really be using the tomcat startup script provided in the admin_resource_kit subdirectory rather than the startup.sh script from the tomcat bin subdirectory. The former enables you to start, stop and restart tomcat.

Regarding the problem you're having, what your log output shows is /opt/scalix/bin is not in the path of user that's running tomcat. We automatically add it during the scalix startup. So, if you stop and restart tomcat (make sure you're logged on as root) it should start working. If you use the tomcat script mentioned above, you shouldn't have this problem again.

Thanks,
Rachel
Last edited by ScalixSupport on Tue May 09, 2006 12:40 pm, edited 1 time in total.

jong

Postby jong » Tue May 09, 2006 12:38 pm

ScalixSupport wrote:Hi Jong,

You should really be using the tomcat startup script provided in the admin_resource_kit subdirectory rather than the startup.sh script from the tomcat bin subdirectory. The former enables you to start, stop and restart tomcat.

Regarding the problem you're having, what your log output shows is /opt/scalix/bin is not in path of user that's running tomcat. We automatically during the scalix startup. So, if you stop and restart tomcat (make sure you're logged on as root) it should start working. If you use the tomcat script mentioned above, you shouldn't have this problem again.

Thanks,
Rachel


I have changed over to the admin_resource_kit tomcat script and it seems to be happy.

Thanks for the help,
Jon

caribk
Posts: 44
Joined: Mon Oct 31, 2005 8:09 pm
Location: Lexington,KY
Contact:

Postby caribk » Tue Jul 18, 2006 5:53 pm

i have the same problem. SWA ands SAC is unavailable after a reboot.
restart of httpd and scalix-tomcat (using the /opt/scalix-tomcat/bin/startup.sh script) solves the problem.

which script in the admin_resource_kit are you referring to?
using scalix CE 10.0.0..


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 3 guests