Problem after upgrade to 11

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Problem after upgrade to 11

Postby davidz » Thu Jan 25, 2007 10:24 am

I upgraded my Scalix 10 to 11, running CentOS 4.4 and now my GNU Mailman list admin page does not work. When I go to http://my.domain.com/mailman I get

Code: Select all

HTTP Status 404 - /mailman/listinfo

type Status report

message /mailman/listinfo

description The requested resource (/mailman/listinfo) is not available.
Apache Tomcat/5.5.16


Here are the modifications to httpd.conf:

Code: Select all

Alias   /pipermail/     /usr/local/mailman/archives/public/
<Directory /usr/local/mailman/archives/public>
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

#
# WebDAV module configuration section.
#
<IfModule mod_dav_fs.c>
    # Location of the WebDAV lock database.
    DAVLockDB /var/lib/dav/lockdb
</IfModule>

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
<Directory "/usr/local/mailman/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>
#
# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Example:
# Redirect permanent /foo http://www.example.com/bar

RedirectMatch ^/mailman[/]*$ http://my.domain.com/mailman/listinfo


It seems like the request is getting sent to tomcat not apache. Any help would be greatly appreciated!!

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Thu Jan 25, 2007 12:20 pm

I'm starting to get desperate. I turned on debug mode in scalix-tomcat-connector.conf and got this output relevant to my problem:

Code: Select all

[Thu Jan 25 09:13:56 2007] [15907:14016] [debug] ajp_done::jk_ajp_common.c (2074): recycling connection cache slot=0 for worker hermes
[Thu Jan 25 09:13:56 2007] [15907:14016] [debug] jk_handler::mod_jk.c (1955): Service finished with status=200 for worker=hermes
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/mailman/listinfo' from 7 maps
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/webmail*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/api*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/caa*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/res*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/sac*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/sis*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/m*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match hermes -> /m*
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] jk_handler::mod_jk.c (1825): Into handler jakarta-servlet worker=hermes r->proxyreq=0
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] wc_get_worker_for_name::jk_worker.c (111): found a worker hermes
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] wc_maintain::jk_worker.c (301): Maintaining worker hermes
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_maintain::jk_ajp_common.c (2203): recycled 0 sockets in 0 seconds
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] init_ws_service::mod_jk.c (517): Service protocol=HTTP/1.1 method=GET host=(null) addrr=192.168.100.106 name
=hermes.sutc.com port=80 auth=(null) user=(null) laddr=192.168.100.50 raddr=192.168.100.106
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_get_endpoint::jk_ajp_common.c (2131): acquired connection cache slot=0
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (566): ajp marshaling done
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_service::jk_ajp_common.c (1670): processing with 3 retries
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] jk_open_socket::jk_connect.c (328): socket TCP_NODELAY set to On
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] jk_open_socket::jk_connect.c (341): socket SO_KEEPALIVE set to On
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] jk_open_socket::jk_connect.c (426): trying to connect socket 16 to 192.168.100.50:8009
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] jk_open_socket::jk_connect.c (452): socket 16 connected to 192.168.100.50:8009
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_connect_to_endpoint::jk_ajp_common.c (864): Connected socket 16 to (192.168.100.50:8009)
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): sending to ajp13 pos=4 len=1398 max=8192
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0000    12 34 05 72 02 02 00 08 48 54 54 50 2F 31 2E
 31  - .4.r....HTTP/1.1
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0010    00 00 11 2F 6D 61 69 6C 6D 61 6E 2F 6C 69 73
 74  - .../mailman/list
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0020    69 6E 66 6F 00 00 0F 31 39 32 2E 31 36 38 2E
 31  - info...192.168.1


How can I make it so mailman does not go through tomcat?? Just have it stay 100% on the apache side??

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Thu Jan 25, 2007 1:34 pm

Well in my continued frustration I've gotten one part to work but broke something else. As seen in the log files above:

Code: Select all

[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/mailman/listinfo' from 7 maps
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/webmail*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/api*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/caa*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/res*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/sac*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/sis*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/m*'
[Thu Jan 25 09:14:00 2007] [15906:14016] [debug] map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match hermes -> /m*


Tomcat was matching my url of /mailman to /m* and thus redirecting it to tomcat which broke mailman. So what I did was modify /etc/opt/scalix-tomcat/connector/jk/app-hermes.m.conf from

JkMount /m* hermes
to
JkMount /m hermes

But this obviously broke my mobile web link. But at the moment our mailing lists are much more important so I've left it this way. But I need to know how to make both of them work on the same system. Please help...

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Mon Jan 29, 2007 11:08 am

<bump>

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Jan 29, 2007 11:44 am

We'll need to investigate this through engineering. Can you actually open a bug at bugzilla.scalix.com for it (basically against install/tomcat connector) saying that Scalix installation captures ALL URLs, not only /m.

What you might try is adding two JkMount lines, one for /m and one for /m/* - this might work for you.

cheers,
Florian.
Florian von Kurnatowski, Die Harder!

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Mon Jan 29, 2007 12:48 pm

Thanks for the reply.

Entered as bug# 14617


-David


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron