[Gluster-users] mod_auth_cas+GlusterFS - Error parsing XML content for

crony leszek.mis at gmail.com
Fri Mar 8 09:29:43 UTC 2013


Hi All,
I'm using glusterFS (3.3.1) to replicate mod_auth_cas cookie-files between
two Reverse proxy servers. Yesterday, I saw this in logs:

MOD_AUTH_CAS: Error parsing XML content for
'77a947d79339d3373937985aa1610fgr' (Internal error)

I think the problem lies somewhere in glusterFS configuration and I hope it
is resorvable.
There is no such a problem when I'm using local ext4 FS for mod_auth_cas
CASCookiePath directory.

I found a little similar problem here:
http://lists.gnu.org/archive/html/gluster-devel/2010-02/msg00024.html

and here:
http://thr3ads.net/gluster-users/2010/05/476790-3.0.4-vs-apache-cookie-looking

mod_auth_cas reads and writes small cookiefile every time the new HTTP
request comes to protected /location. If there are a lot of concurrent HTTP
requests, there is a moment when Apache can't read this cookie file. The
file looks like this:

<cacheEntry xmlns="http://uconn.edu/cas/mod_auth_cas">
<user>user1</user>
<issued>1362730876640545</issued>
<lastactive>1362731353561607</lastactive>
<path>/</path>
<ticket>ST-432-ArFINqoetsxCZgwmY9fF-example.com</ticket>
<secure />
</cacheEntry>


I was trying a lot of different settings, but with no lucky. Now it's look
like this:

gluster volume info

Volume Name: cas-volume
Type: Replicate
Volume ID: e5b36ed0-3a3b-42fa-9af3-a7d75a8a1621
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: prx01:/shared
Brick2: prx02:/shared
Options Reconfigured:
performance.cache-refresh-timeout: 0
performance.stat-prefetch: off
performance.flush-behind: on
features.lock-heal: off
performance.write-behind: on
performance.quick-read: on


Any ideas how to solve the problem?

Thanks for your answers.

/cr0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130308/6b43de80/attachment.html>


More information about the Gluster-users mailing list