Tags:
create new tag
view all tags

SID-02498: Unable to login to Twiki

Status: Answered Answered TWiki version: 5.1.1 Perl version:
Category: CategoryAuthentication Server OS: Centos 7 Last update: 2 years ago

I am trying to move twiki application from datacenter server to AWS. I have successfully moved everything but unable to login to the twiki URL. Copied required folders from DC to AWS. WE are using Ldap as authentication.

Below is the error message

TWikiUserMapping has TURNED OFF EnableNewUserRegistration, because the password file is read only

Can you please help on how to fix this error OR please provide me instructions on how to enable debug logging so that I can view more logs regarding this issue.

-- Jaya Prasad kusuma - 2023-01-11

Discussion and Answer

This is an indication that the files are not writable by the webserver user. Make sure all TWiki files and directories are owned by apache or whatever user it is on your system.

-- Peter Thoeny - 2023-01-13

All the files and folders are owned by apache user and they can be writable.

-- Jaya Prasad kusuma - 2023-01-24

What do you have for $TWiki::cfg{PasswordManager}?

-- Peter Thoeny - 2023-01-25

Below are the values.

$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapUser'; $TWiki::cfg{Ldap}{SecondaryPasswordManager} = 'none';

-- Jaya Prasad kusuma - 2023-01-26

If you use LDAP login make sure to set also $TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping';

-- Peter Thoeny - 2023-01-26

See also related RequireRegistrationPlugin

-- Peter Thoeny - 2023-01-26

$TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping'; - This already exists in config file.

We have same setup working fine in datacenter. We are in process of moving it to AWS. Is there any way to enable logging on twiki to know more about logging issue.

-- Jaya Prasad kusuma - 2023-01-26

Your LDAP server is likely inside the firewall. Make sure the LDAP server is accessible from AWS.

Enable the debug flag $TWiki::cfg{Ldap}{Debug}

You can hire one of the TWikiConsultants to help you debug the LDAP integration.

-- Peter Thoeny - 2023-01-27

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Unable to login to Twiki
SupportCategory CategoryAuthentication
TWiki version 5.1.1
Server OS Centos 7
Web server HTTP
Perl version

Browser & version Chrome
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2023-01-27 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.