Page 1 of 4
Can't login to sac or webmail
Posted: Thu Feb 16, 2006 4:01 pm
by init3
Hi,
Forgive me if I am posting in the wrong place. I just did the install of v10 and everything seems to have gone well. My problem is when i go to
http://server.mydomain.com/sac/ or /webmail/ I get a "Service Temporarily Unavailable" 503 error. I am not familiar with Tomcat so I don't know if it is running. My grep output is here:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[root@xx logs]# ps auxwww | grep tomcat
root 2328 0.4 3.4 1265956 141200 ? Sl 14:23 0:06 /usr/java/jre1.5.0_04/bin/java -server -Djava.net.preferIPv4Stack=true -Xms1024m -Xmx1024m -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
root 2957 0.0 0.0 4124 664 pts/0 S+ 14:51 0:00 grep tomcat
[root@xx logs]#
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Like i said I am not familiar with tomcat so I'm not sure if everything looks as it should. Any help with this will be appreciated.
Regards
Posted: Thu Feb 16, 2006 4:33 pm
by ScalixSupport
This is something that we've seen on one of our test machines. If tomcat fails to shut down quickly, it can leave a process hanging around.
Kill the process and then restart the service with
Cheers
Dave
Posted: Thu Feb 16, 2006 4:54 pm
by init3
Thanks for the info. I killed the process and restarted it with
Code: Select all
/etc/init.d/scalix-tomcat restart
Same result. 503 error. Any other ideas?
Regards
Posted: Thu Feb 16, 2006 5:01 pm
by ScalixSupport
OK. Can you run the command
and post the results ?
If that returns information, can you check /opt/scalix-tomcat/logs/catalina.out and see if there are any errors that may indicate issues binding to the port.
Cheers
Dave
Posted: Thu Feb 16, 2006 5:28 pm
by init3
Output from lsof -i :8009:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
java 3079 root 39u IPv4 7632 TCP fred.dmrsystems.com:8009 (LISTEN)
I don't see any errors in the "catalina.out" file. Just a bunch of INFO lines.
Any more ideas?
Regards
Posted: Thu Feb 16, 2006 5:35 pm
by ScalixSupport
That looks like tomcat is up and running and listening on the correct port so that means we need to focus on Apache.
What platform are you running this on ?
Cheers
Dave
Posted: Thu Feb 16, 2006 5:50 pm
by init3
Red Hat Enterprise Linux ES release 4 (Nahant Update 1)
Posted: Thu Feb 16, 2006 5:59 pm
by Witti
Same Problem too!!!
Greetings
Posted: Thu Feb 16, 2006 6:07 pm
by Witti
The Problem is the mod_jk
I disabled the mod_jk function so I'm able to logon oldstyle (
http://bla.bla.tdl:8080/sac
Greetings
Posted: Thu Feb 16, 2006 6:21 pm
by init3
Oh nice, how do I disable that? I would like to do that for a temporary fix.
Same problem
Posted: Thu Feb 16, 2006 6:27 pm
by ac_net_man
You aren't the only one having this problem..... I have the same issue as well.
Posted: Thu Feb 16, 2006 7:50 pm
by Witti
init3 wrote:Oh nice, how do I disable that? I would like to do that for a temporary fix.
You have to use the Scalix-Installer. Click on reconfigurate.
On a screen you find a check-box with mod_jk.
Disable this so you can use the sac and the webmail with port 8080.
Greetings
Posted: Thu Feb 16, 2006 8:02 pm
by ScalixSupport
Rather than disabling mod_jk, it would be great if you could post your error_log from Apache so that we can investigate this for you.
Cheers
Dave
Posted: Thu Feb 16, 2006 9:29 pm
by Witti
mod_jk.log
Code: Select all
[Thu Feb 16 22:53:36 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1
[Thu Feb 16 22:53:36 2006] [info] jk_open_socket::jk_connect.c (444): connect to 127.0.0.1:8009 failed with errno=13
[Thu Feb 16 22:53:36 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Thu Feb 16 22:53:36 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Feb 16 22:53:36 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=1
[Thu Feb 16 22:53:36 2006] [info] jk_open_socket::jk_connect.c (444): connect to 127.0.0.1:8009 failed with errno=13
[Thu Feb 16 22:53:36 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Thu Feb 16 22:53:36 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Feb 16 22:53:36 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=2
[Thu Feb 16 22:53:36 2006] [info] jk_open_socket::jk_connect.c (444): connect to 127.0.0.1:8009 failed with errno=13
[Thu Feb 16 22:53:36 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Thu Feb 16 22:53:36 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Feb 16 22:53:36 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=3
[Thu Feb 16 22:53:36 2006] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=worker1 failed
[Thu Feb 16 22:53:36 2006] worker1 server.domain.tld 0.001249
[Thu Feb 16 22:53:36 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1
Tanks for help.
Greetings
Witti
Posted: Fri Feb 17, 2006 5:18 am
by ScalixSupport
Please check the release notes as to what they have to say about SELINUX.
Alternatively, click this link:
http://www.scalix.com/community/posting ... ply&t=1373
Cheers,
Sascha.