Page 1 of 1

SAC login and service start

Posted: Sat Jul 15, 2006 9:50 am
by ajmorris
i can get into the webmail with the admin login but not the SAC.
when i start the scalix service i get this error...

Starting Scalix services (j2c2): /var/named/chroot/proc: Permission denied
Enabling 7 subsystem(s).
/var/named/chroot/proc: Permission denied
Enabling 14 subsystem(s).
/opt/scalix/bin/omrc : Scalix started


this is on an amd 64bit FC4 install.

i also get this error when i stop or restart scalix-tomcat
Executing /etc/rc.d/init.d/scalix-tomcat stop ..

Stopping Tomcat service: Using CATALINA_BASE: /opt/scalix-tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /opt/scalix-tomcat/temp
Using JAVA_HOME: /usr/java/jre1.5.0_05
Catalina.stop: java.net.ConnectException: Connection refused
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 org.apache.catalina.startup.Catalina.stopServer(Catalina.java:410)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:336)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)
[ OK ]

looks like java is foobared.


any help would be appreciated.
Andy

Posted: Sun Jul 16, 2006 10:33 am
by florian
Well,

on the first one - in which directory are you located when you try to restart the server? can you try

- login as root
- type cd<Return> to get to your root user's homedirectory.
- use "omshut" to shutdown the server
- use "omrc" to start the server

Do you still get the permission error message now? If so, we should work on this.

The error you've posted is the script trying to shutdown tomcat while it is not running.

Please try
- pgrep java
... if a process is running, kill it with pkill or kill
- cd /opt/scalix-tomcat/logs
- rm -f *
This clears out the logfiles, then
- service scalix-tomcat start
What logfiles do you see there then and what are then contents?
Does pgrep java now show a process running?
if so, what about lsof -i :8009

Tha nks,
Florian.

Posted: Sun Jul 16, 2006 6:18 pm
by ajmorris
Well it turned out to be a memory error. Scalix was uninstalled and deleted all directories. then changed memory to 256 and we could login to the SAC interface.

Andy