Can't login to sac or webmail

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

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

Postby Witti » Fri Feb 17, 2006 10:22 am

I thinks such things have to be written down in the manual.

Thx for help.

Greetings

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

Postby init3 » Fri Feb 17, 2006 10:26 am

Hi,

I have selinux disabled on my box. Any other ideas?

Regards

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

Postby Witti » Fri Feb 17, 2006 10:29 am

I also disabled selinux and reactivated the mod_jk option and my webinterfaces now work without port 8080. Perhaps reconfigurate your scalix webinterfaces with scalix-installer?!

Greetings
Witti

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

Postby init3 » Fri Feb 17, 2006 1:34 pm

No luck, any other ideas?

Regards

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

Postby ScalixSupport » Fri Feb 17, 2006 1:45 pm

Please can I ask that you are a little more descriptive in your responses. Are you saying that your Apache error log is the same as for Witti and that after disabling selinux, you rebooted your box ?

Cheers

Dave

ac_net_man

Postby ac_net_man » Mon Feb 20, 2006 7:08 pm

Here's a portion of the logs from my mod_jk log
[Mon Feb 20 17:02:11 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1
[Mon Feb 20 17:03:32 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.10.1.246:8009 failed with errno=111
[Mon Feb 20 17:03:32 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.10.1.246:8009) with (errno=111)
[Mon Feb 20 17:03:32 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Mon Feb 20 17:03:32 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=1
[Mon Feb 20 17:03:32 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.10.1.246:8009 failed with errno=111
[Mon Feb 20 17:03:32 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.10.1.246:8009) with (errno=111)
[Mon Feb 20 17:03:32 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Mon Feb 20 17:03:32 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=2
[Mon Feb 20 17:03:32 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.10.1.246:8009 failed with errno=111
[Mon Feb 20 17:03:32 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.10.1.246:8009) with (errno=111)
[Mon Feb 20 17:03:32 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Mon Feb 20 17:03:32 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=3
[Mon Feb 20 17:03:32 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
[Mon Feb 20 17:03:32 2006] worker1 localhost 0.012035

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

Postby ScalixSupport » Mon Feb 20, 2006 7:09 pm

I've seen this when selinux is disabled but Apache hasn't been restarted.

Please can you try that and report back the results.

Cheers

Dave

ac_net_man

Postby ac_net_man » Mon Feb 20, 2006 11:21 pm

Same result after stopping and restarting Apache.

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

Postby ScalixSupport » Tue Feb 21, 2006 5:24 pm

Have you amended the tomcat configuration to list on a particular hostname rather than the wildcard IP ?

If this is the case, you need to make a modification to the file

Code: Select all

/etc/httpd/conf.d/scalix-jk-common.conf
and edit the line

Code: Select all

JkWorkerProperty worker.worker1.host=localhost
with the correct hostname.

lsof -i :8009 should show you which hostname to use.

You will need to restart Apache to pick up this change.

Cheers

Dave

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

Postby maracas » Fri Mar 10, 2006 12:32 am

Ok. I tried the suggestions below and the only way I can get the admin page to come up is by re-configuring and deselecting the JK Connector -- connecting via port 8080. I tried changing the scalix-jk-common.conf file and restarting the processes to no avail.
Each time I get the same 503 error. I have restarted the services after each.

When I connect via 8080 I was able to login and setup a user.

Here are the specs :
Fedora 4 (Fresh Install) -- Scalix 10 (Utilizing Tomcat from the install)
Here are the logs:

mod_jk.log
[Thu Mar 09 22:54:22 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1
[Thu Mar 09 22:54:27 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8109 failed with errno=111
[Thu Mar 09 22:54:27 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86.225.60:8109) with (errno=111)
[Thu Mar 09 22:54:27 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Mar 09 22:54:27 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=1
[Thu Mar 09 22:54:27 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8109 failed with errno=111
[Thu Mar 09 22:54:27 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86.225.60:8109) with (errno=111)
[Thu Mar 09 22:54:27 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Mar 09 22:54:27 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=2
[Thu Mar 09 22:54:27 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8109 failed with errno=111
[Thu Mar 09 22:54:27 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86.225.60:8109) with (errno=111)
[Thu Mar 09 22:54:27 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat process.
[Thu Mar 09 22:54:27 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=3
[Thu Mar 09 22:54:27 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 Mar 09 22:54:27 2006] worker1 ctrfed04.caribshopper.com 0.001977

[Thu Mar 09 22:54:27 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1

caa.log
006-03-09 22:57:14,072 INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====
2006-03-09 22:57:20,723 INFO [NotificationEventListener$WorkerThread.run:50] Event Notification: register|http://ctrfed04.caribshopper.com/res/RESDispatcher|LISTEN|300|ctrfed04|ctrfed04.caribshopper.com|10.0.0 from host:127.0.0.1
2006-03-09 22:57:26,273 INFO [NotificationEventListener$WorkerThread.run:50] Event Notification: register|http://ctrfed04.caribshopper.com/res/RESDispatcher|LISTEN|300|ctrfed04|ctrfed04.caribshopper.com|10.0.0 from host:127.0.0.1
2006-03-09 22:57:31,492 INFO [NotificationEventListener$WorkerThread.run:50] Event Notification: heartbeat|http://ctrfed04.caribshopper.com/res/RESDispatcher|LISTEN|300|ctrfed04|ctrfed04.caribshopper.com|10.0.0 from host:127.0.0.1
2006-03-09 22:58:13,217 INFO [RESMonitor.run:115] Server ctrfed04.caribshopper.com up 46 secs
2006-03-09 22:58:31,497 INFO [NotificationEventListener$WorkerThread.run:50] Event Notification: heartbeat|http://ctrfed04.caribshopper.com/res/RESDispatcher|LISTEN|300|ctrfed04|ctrfed04.caribshopper.com|10.0.0 from host:127.0.0.1
2006-03-09 22:59:13,274 INFO [RESMonitor.run:115] Server ctrfed04.caribshopper.com up 1 mins, 46 secs
2006-03-09 22:59:31,502 INFO [NotificationEventListener$WorkerThread.run:50] Event Notification: heartbeat|http://ctrfed04.caribshopper.com/res/RESDispatcher|LISTEN|300|ctrfed04|ctrfed04.caribshopper.com|10.0.0 from host:127.0.0.1

catalina.out
ar 9, 2006 10:56:55 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /webmail
Mar 9, 2006 10:56:55 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/webmail,host=localhost
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /servlets-examples
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /balancer
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /webcal
Mar 9, 2006 10:56:55 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/webcal,host=localhost
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /tomcat-docs
Mar 9, 2006 10:56:55 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /caa
Mar 9, 2006 10:56:55 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/caa,host=localhost
Mar 9, 2006 10:56:56 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path
Mar 9, 2006 10:56:56 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,host=localhost
Mar 9, 2006 10:56:56 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger
Mar 9, 2006 10:57:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 9470 ms
Mar 9, 2006 10:57:02 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 9, 2006 10:57:02 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Mar 9, 2006 10:57:02 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 9, 2006 10:57:02 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 9, 2006 10:57:02 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/scalix-admin.xml
Mar 9, 2006 10:57:06 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/scalix-caa.xml
Mar 9, 2006 10:57:06 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/opt/scalix-tomcat/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
CAA: caa-root-directory is /etc/opt/scalix/caa/
CAA: Loaded web.xml init params
CAA: caa-config-directory is /etc/opt/scalix/caa/config
CAA: log4j-init-file is /etc/opt/scalix/caa/config/log4j.properties
CAA: caa-framework-init-file is /etc/opt/scalix/caa/config/framework-config.xml
Mar 9, 2006 10:57:14 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/manager.xml
Mar 9, 2006 10:57:14 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/scalix-webcal.xml
reading configuration @ /etc/opt/scalix/webmail/swa.properties
Mar 9, 2006 10:57:18 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/scalix-res.xml
RES: Initializing log4j using file /etc/opt/scalix/res/config/log4j.properties
Mar 9, 2006 10:57:20 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/admin.xml
Mar 9, 2006 10:57:21 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Mar 9, 2006 10:57:21 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Mar 9, 2006 10:57:23 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Mar 9, 2006 10:57:33 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/scalix-swa.xml
reading configuration @ /etc/opt/scalix/webmail/swa.properties
Mar 9, 2006 10:57:34 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/scalix-tomcat/conf/Catalina/localhost/balancer.xml
Mar 9, 2006 10:57:34 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:/opt/scalix-tomcat/webapps/jsp-examples
Mar 9, 2006 10:57:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:/opt/scalix-tomcat/webapps/ROOT
Mar 9, 2006 10:57:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:/opt/scalix-tomcat/webapps/tomcat-docs
Mar 9, 2006 10:57:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:/opt/scalix-tomcat/webapps/servlets-examples
Mar 9, 2006 10:57:36 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:/opt/scalix-tomcat/webapps/webdav
Mar 9, 2006 10:57:37 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /127.0.0.1:8009
Mar 9, 2006 10:57:37 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=11/359 config=/opt/scalix-tomcat/conf/jk2.properties
Mar 9, 2006 10:57:39 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 37513 ms

HELP

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

503 error on admin page

Postby maracas » Fri Mar 10, 2006 10:26 am

I made the change to the scalix-jk-common.conf file and restarted the processes (I even restarted the box) but when I run the lsof -i:8009 the result is:
[root@ctrfed04 ~]# lsof -i:8009
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
java 2481 root 22u IPv4 9330 TCP localhost.localdomain:8009 (LISTEN)

I re-checked the file and the line is:
kWorkerProperty worker.worker1.type=ajp13
JkWorkerProperty worker.worker1.host=ctrfed04.caribshopper.com
JkWorkerProperty worker.worker1.port=8009
JkWorkerProperty worker.worker1.lbfactor=50
JkWorkerProperty worker.worker1.cachesize=10

What am I doing wrong?????

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

Postby maracas » Fri Mar 10, 2006 4:05 pm

previous post with mod_jk.log shows port 8109. please disregard as i was trying a different port to see if it would make a diiference. moved it back to port 8009 with same results. tried changing frm jk connector on and off then rebooting with the same results.

[root@ctrfed04 ~]# lsof -i:8009
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
java 2478 root 22u IPv4 11103 TCP ctrfed04.caribshopper.com:8009 (LISTEN)

new mod_jk.log results

[Fri Mar 10 10:51:06 2006] [info] jk_handler::mod_jk.c (1971): Service error=0 for worker=worker1
[Fri Mar 10 14:57:02 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8009 failed with er$
[Fri Mar 10 14:57:02 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86$
[Fri Mar 10 14:57:02 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat proces$
[Fri Mar 10 14:57:02 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recover$
[Fri Mar 10 14:57:02 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8009 failed with er$
[Fri Mar 10 14:57:02 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86$
[Fri Mar 10 14:57:02 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat proces$
[Fri Mar 10 14:57:02 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recover$
[Fri Mar 10 14:57:02 2006] [info] jk_open_socket::jk_connect.c (444): connect to 10.86.225.60:8009 failed with er$
[Fri Mar 10 14:57:02 2006] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (10.86$
[Fri Mar 10 14:57:02 2006] [info] ajp_send_request::jk_ajp_common.c (1248): Error connecting to the Tomcat proces$
[Fri Mar 10 14:57:02 2006] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recover$
[Fri Mar 10 14:57:02 2006] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is prob$
[Fri Mar 10 14:57:02 2006] worker1 ctrfed04.caribshopper.com 0.022249

Stws

mod_jk errno=13

Postby Stws » Fri Mar 10, 2006 9:50 pm

I've also installed a fresh Fedora Core 4 and a Scalix v.10. nd got this error in mod_jk log file when trying to connected to either WAR resource:

jk_open_socket::jk_connect.c (444): connect to 127.0.0.1:8009 failed with errno=13

Errno=13 (see /usr/include/asm/errno.h) is access denied => SE linux might give you problem. I found that running this command as root solved it :)

root> setsebool -P httpd_can_network_connect=1

Hope it helps!

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

Postby ScalixSupport » Fri Mar 10, 2006 11:30 pm

As part of the release notes, we advise that selinux is disabled.

Cheers

Dave

maracas
Posts: 12
Joined: Thu Mar 09, 2006 11:48 am
Location: Virginia

Postby maracas » Sat Mar 11, 2006 5:16 pm

Had host of issues with previous installs of Fedora so I made sure and disabled selinux during tthe installation process.

what else can I look at to help resolve issue.

maracas


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests

cron