Can't login to sac or webmail

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

init3
Posts: 20
Joined: Thu Feb 16, 2006 3:49 pm

Can't login to sac or webmail

Postby init3 » Thu Feb 16, 2006 4:01 pm

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

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

Postby ScalixSupport » Thu Feb 16, 2006 4:33 pm

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

Code: Select all

/etc/init.d/scalix-tomcat restart


Cheers

Dave

init3
Posts: 20
Joined: Thu Feb 16, 2006 3:49 pm

Postby init3 » Thu Feb 16, 2006 4:54 pm

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

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

Postby ScalixSupport » Thu Feb 16, 2006 5:01 pm

OK. Can you run the command

Code: Select all

lsof -i :8009
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

init3
Posts: 20
Joined: Thu Feb 16, 2006 3:49 pm

Postby init3 » Thu Feb 16, 2006 5:28 pm

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

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

Postby ScalixSupport » Thu Feb 16, 2006 5:35 pm

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

init3
Posts: 20
Joined: Thu Feb 16, 2006 3:49 pm

Postby init3 » Thu Feb 16, 2006 5:50 pm

Red Hat Enterprise Linux ES release 4 (Nahant Update 1)

Witti
Posts: 20
Joined: Mon Feb 06, 2006 11:37 am

Postby Witti » Thu Feb 16, 2006 5:59 pm

Same Problem too!!!

Greetings

Witti
Posts: 20
Joined: Mon Feb 06, 2006 11:37 am

Postby Witti » Thu Feb 16, 2006 6:07 pm

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

init3
Posts: 20
Joined: Thu Feb 16, 2006 3:49 pm

Postby init3 » Thu Feb 16, 2006 6:21 pm

Oh nice, how do I disable that? I would like to do that for a temporary fix.

ac_net_man

Same problem

Postby ac_net_man » Thu Feb 16, 2006 6:27 pm

You aren't the only one having this problem..... I have the same issue as well.

Witti
Posts: 20
Joined: Mon Feb 06, 2006 11:37 am

Postby Witti » Thu Feb 16, 2006 7:50 pm

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

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

Postby ScalixSupport » Thu Feb 16, 2006 8:02 pm

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

Witti
Posts: 20
Joined: Mon Feb 06, 2006 11:37 am

Postby Witti » Thu Feb 16, 2006 9:29 pm

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

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

Postby ScalixSupport » Fri Feb 17, 2006 5:18 am

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.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 10 guests

cron