SID-00113: On logon on my local wiki getting error - Oops: we could not
| Status: |
Answered |
TWiki version: |
|
Perl version: |
|
| Category: |
CategoryAuthentication |
Server OS: |
|
Last update: |
17 years ago |
I have successfully configured Twiki on my windows server. I am able to create user and logon with admin account.
But when I am trying to logon with my newly created account, receiving error as below
Oops: we could not recognize you. Try again or reset your password.
--
SanjeevJha77 - 17 Feb 2009
Discussion and Answer
Can you tell more about what authentication mechanism you have chosen, and how you've configured it?
--
SeanCMorgan - 17 Feb 2009
I am using
TWiki:Login
Manager:i Login Template and user mapping TWiki User Mapping
--
SanjeevJha77 - 18 Feb 2009
Is your e-mail configured properly? Did you receive an e-mail when you registered? Registration might not complete properly if e-mail is not working. Check entry in
twiki/data/.htpasswd, Main.TWikiUsers page and actual user homepage.
--
PeterThoeny - 18 Feb 2009
Thanks! Finally I was able to configure Twiki on my
RedHat linux. I am able to register new account but one problem I am facing here is that no confirmation mail is sent on his email id provided at the time of registration.
I have enabled sendmail and started the service in my linux server. The setting in my
LocalSite.cfg is as for sending the email
$TWiki::cfg{WebMasterEmail} = 'sanjeevk.jha@orange-ftgroup.com';
$TWiki::cfg{WebMasterName} = 'TWiki Administrator';
$TWiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq';
$TWiki::cfg{SMTP}{MAILHOST} = 'localhost';
$TWiki::cfg{SMTP}{SENDERHOST} = '';
$TWiki::cfg{SMTP}{Username} = '';
$TWiki::cfg{SMTP}{Password} = '';
$TWiki::cfg{RemoveImgInMailnotify} = 1;
$TWiki::cfg{NotifyTopicName} = 'WebNotify';
$TWiki::cfg{SMTP}{Debug} = 0;
Please provide the solution and thanks in advance
--
SanjeevJha77 - 18 Feb 2009
Install
CPAN:Net::SMTP
and set
$TWiki::cfg{SMTP}{MAILHOST} to an actual mail server that accepts mail.
--
PeterThoeny - 19 Feb 2009
Now I am able to receive email if only if following checkbox is not checked
{Register}{AllowLoginName}
{Register}{NeedVerification}
If I checked both then receive following error
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Failed to open file: Permission denied
--
SanjeevJha77 - 19 Feb 2009
When checked log, found following information
[Thu Feb 19 16:31:57 2009] [error] [client 10.239.199.78] File does not exist: /var/www/html/lamp/apache2/htdocs/TWiki
[Thu Feb 19 16:37:58 2009] [error] [client 10.239.199.78] Failed to open file: Permission denied at /var/www/html/lamp/apache2/htdocs/Twiki/lib/TWiki/UI/Register.pm line 390., referer:
http://10.237.89.37/Twiki/bin/view/TWiki/TWikiRegistration
--
SanjeevJha77 - 19 Feb 2009
See
SID-00060.
--
PeterThoeny - 19 Feb 2009
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.