Tags:
create new tag
view all tags

SID-00390: Registering as a User

Status: Answered Answered TWiki version: 4.3.0 Perl version: I think 5.0
Category: CategoryRegistration Server OS: RedHat Enterprise Linux 5 Last update: 16 years ago

I downloaded latest Twiki for installation on RedHat Linux using Apache. I followed the directions given by "TWiki 4 Installation on RedHat, Fedora and CentOS. Everything worked until I got to the section titled "Register yourself as a user." I opened //localhost/twiki/bin/view/TWiki/TWikiRegistration in Apache. I put in the required information in the Twiki template and hit submit. It then asks for user ID and Password. I put this information in and submitted it. It returns and says registration fails. My user ID and Password works when I change anything in Configure but the registration process does not. I looked to see if .htpasswd file was created during the configuration process in /var/www/twiki/data and it was not. In fact, I can't find the file .htpasswd. Can someone help because it appears I am really close in getting TWiki running on my system. Thanks,David

-- DavidSteininger - 2009-06-27

Discussion and Answer

Okay, an update to my question. I found .htpasswd where it should be. Of course nothing had been written to it. I started Apache as the administrator so I should have been in root when I was trying to register in TWIKI. So the registration should have written the password into .htpasswd. Maybe I am not in root, when I am in TWiki., I don't know. Any suggestions?

David

-- DavidSteininger - 2009-06-28

Leave the webserver user as default apache. Make sure all files and directories at and below twiki/data and twiki/pub are owned by the webserver user. Make sure e-mail is configured properly for the outbound registration confirmation.

There is something wrong with your configuration, TWiki should not ask you for username and password after submitting the registration page. Run ApacheConfigGenerator.

-- PeterThoeny - 2009-07-01

Thank you. This is what I suspected. I therefore ran the script for TWiki 4.2.X found in "File Access Rights on Unix and Linux," even though I have TWiki 4.3. It appears to have worked for all the important directories and files.

I then went to http://localhost/....../TWikiRegistration per the TWiki 4.0 Installation directions.

I filled out the necessary registration info and submitted. It told me I was now registered. No errors.

I then attempted to verify what I did by changing the password I had just created for the accepted WikiName. TWiki failed this attempt.

I went and looked at .htpasswd file. Nothing was written to this file.

So for some reason the password is not being saved for the registered name in .htpasswd.

I am still stuck. I will look at access rights for .htpasswd and all directories in the hierarchy.

David

-- DavidSteininger - 2009-07-04

An update. As I said in previous comment, the password appears not to be written to .htpasswd after TWikiRegistration says registration is accepted. What doesn't work is E-mail. It tells me E-mail verification could not be sent using NET::SMTP. It says it can't connect to localhost at /var/....../TWiki/NET.pm line 450. In configure I did not set {Register}{NeedVerification} so this isn't the problem with the E-mail. Also, I am using RedHat Enterprise 5.0 so I should have NET::SMTP. I wonder if my inability to send an E-mail (which I don't understand) is preventing the password from being written to .htpasswd. David

-- DavidSteininger - 2009-07-06

I finally gave up and downloaded the latest version (4.3.1) of TWiki and started from the beginning. Everything worked except for one item that was resolved by getting SID-00291 as noted by Peter in response to a question of mine on the issue. So I am now happily TWiking away.

-- DavidSteininger - 2009-08-07

-- DavidSteininger - 2009-08-07

      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 Registering as a User
SupportCategory CategoryRegistration
TWiki version 4.3.0
Server OS RedHat Enterprise Linux 5
Web server Apache 2.0
Perl version I think 5.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2009-08-07 - DavidSteininger
 
  • 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.