Re: Access problems

Richard Frovarp <[email protected]> Tue, 09 Nov 2010 11:26:48 -0600
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
On 11/08/2010 09:18 AM, Martin Dominguez wrote:
>
> Hi all!
>
> I'm having an access error that is begining to worry me. Sometimes, when I
> restart lenya service or when I reboot server, lenya denies access to all
> site users giving this message:
>
> The user 'lenya' is not authorized to access the page
> '/publication/authoring/'.
>
> If you have another user account with the corresponding privileges, please
> provide user name and password below.
>
> I always have a backup from my site, and when it happens, I replace
> access-control directory from backup, I restart Lenya service and, normally,
> it works again.
>
> Access control files are not corrupted and it only happens in big
> publications (over 2500 docs.)
>
> Any hints?? Thanks in advance!
>
> Salu2!


Unfortunately, it's a known problem. You don't have to restore the 
access-control directory, as the contents of those files should be just 
fine.

There is a race condition and the fix alludes me at least for now.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44035

Restarting Lenya should clear up the problem.