Moderators: ScalixSupport, admin
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is not running
[root@subir-rhel4 ~]# ps -ax | grep tomcat
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
7303 ? Sl 3:13 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms124m -Xmx124m -Dscalix.instance=/var/opt/scalix/s4 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/s4/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/s4/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/s4/tomcat/temp org.apache.catalina.startup.Bootstrap start
11824 pts/1 S+ 0:00 grep tomcat
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is not running
[root@subir-rhel4 ~]# kill -9 7303
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat start
Starting Tomcat service: [ OK ]
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is running
[root@subir-rhel4 ~]#
Code: Select all
/etc/apache2/conf.d # /etc/init.d/scalix-tomcat status
Instance (mail) is not running
unused
Code: Select all
etc/apache2/conf.d # ps ax | grep tomcat
5105 pts/2 Sl 1:30 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/ml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/ml/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/ml/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/ml/tomcat/temp org.apache.catalina.startup.Bootstrap start
The message "Tomcat is not running" because the "ps -ax" generates a report of all
processes running that creates the process id with a space. The scalix-tomcat script at
times fails to read the PID properly, in which case we get instance not running. Look at
the demonstration below:
ScalixSupport wrote:Hi![root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is not running
[root@subir-rhel4 ~]# ps -ax | grep tomcat
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
7303 ? Sl 3:13 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms124m -Xmx124m -Dscalix.instance=/var/opt/scalix/s4 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/s4/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/s4/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/s4/tomcat/temp org.apache.catalina.startup.Bootstrap start
11824 pts/1 S+ 0:00 grep tomcat
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is not running
[root@subir-rhel4 ~]# kill -9 7303
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat start
Starting Tomcat service: [ OK ]
[root@subir-rhel4 ~]# /etc/init.d/scalix-tomcat status
Instance (subir-rhel4) is running
[root@subir-rhel4 ~]#
Code: Select all
rpm -qa | grep scalix
omstat -a
omstat -s
ps ax | grep tomcat
ps ax | grep httpd
Code: Select all
omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh
Code: Select all
omshowu -n sxqueryadmin
KevinAnderson wrote:Jon.
I know that at least one of the server's you had been talking about was running Cent (rather than RHEL). You may or may not also be seeing this issue...
viewtopic.php?t=6536&highlight=ntpl
Kev.
Users browsing this forum: No registered users and 6 guests