Tags:
create new tag
view all tags

SID-01411: User Registraion Error

Status: Answered Answered TWiki version: 5.1.1 Perl version:
Category: CategoryRegistration Server OS: SUNOS 5.10 Last update: 14 years ago

Hi

I just migrated data from one twiki to another twiki.

I copied all data/webname, pub/webname conent for data migration

data/.htpasswd and data/main/all_user_files for allowing all users to login with old credentials without creating new ones

Everything is working fine but I am not able to create any new users.

Earlier I got the error message :

| 2012-02-21 - 12:25 | Registration failed: exec failed: No such file or directory /usr/bin/rcs at ../lib/TWiki/Sandbox.pm line 391.

then I edited /lib/LocalSite.cfg and set the path for RCS to ../twiki/lib/TWiki/Configure/Checkers/RCS

now I get new error as :

| 2012-02-22 - 16:38 | Registration failed: exec failed: Permission denied ../twiki/lib/TWiki/Configure/Checkers/RCS at ../twiki/lib/TWiki/Sandbox.pm line 391.

I am new to TWiki. Any help is appreciated. Thanks

-- HarshBafna - 2012-02-22

Discussion and Answer

It looks like you are mixing an old and a new TWiki, which can bring all kinds of issues. If you do a manual migration do not copy the TWiki web (twiki/data/TWiki and twiki/pub/TWiki) to the new TWiki.

A "permission denied" issue indicates that you have a file permission issue. Make sure all dirs and files below twiki/data, twiki/pub, twiki/working are owned by the webserver user (apache, www-data or the like).

I recommend doing a fresh install of TWiki and use the BackupRestorePlugin for data migration.

See also TWikiUpgradeGuide.

-- PeterThoeny - 2012-02-22

Thanks for the suggestion peter. I checked twiki/data, twiki/pub and twiki/working, ownership is not a problem. I also tried chmod775 for all files and folder. Its still doesnt works.

As I said, I only copied data/myProjectWeb, pub/myProjectWeb, data/.htpasswd and data/main/userfiles. I figured this out from forum topics only.

I havent modified any original files as such in the current installation. I made a copy and edited that. So its still as good as a fresh installation.

I still have the original .htpasswd and LocalSite.cfg.

I also didnt copy the Twiki Web.

I am not sure about the version of the older installation. Is there any command or way to find it out?

Thanks, Harsh

-- HarshBafna - 2012-02-23

You need to install the GNU rcs tool: rcs, rlog, ci and co. On my system they are installed at /usr/bin.

Don't copy the old LocalSite.cfg. Run configure to configure the new install.

Visit the TWiki web of your old installation to find the TWiki version used.

-- PeterThoeny - 2012-02-23

The RCS problem has been solved.

But now I got new error message :

| 2012-02-23 - 17:58 | ERROR: Exit code 17152 from TWiki::cfg{MailProgram} at ../twiki/lib/TWiki/Net.pm line 425.

| 2012-02-23 - 17:58 | Could not confirm registration: ERROR: Exit code 17152 from TWiki::cfg{MailProgram} at ../twiki/lib/TWiki/Net.pm line 425. Too many failures sending mail

-- HarshBafna - 2012-02-23

Install the CPAN:Net::SMTP module and set the {SMTP}{MAILHOST} configure setting.

Please read the TWiki dependency list and follow the installation instructions.

-- PeterThoeny - 2012-02-23

Still facing some problem.

Warning: Could not send confirmation email

ERROR: Can't send mail, missing 'From:' at ../twiki/lib/TWiki/Net.pm line 450. Too many failures sending mail.

-- HarshBafna - 2012-02-27

Though the user is being registered successfully now and I am able to login and also able to edit the pages

-- HarshBafna - 2012-02-27

Did you set the {WebMasterEmail} configure setting? Please follow the installation instructions.

-- PeterThoeny - 2012-02-27

Thankyou for your help. I have done everything as you mentioned. And I am not getting any more errors. But still not receiving any mail at the other end. frown

-- HarshBafna - 2012-02-28

Got it working now. Had to get my system relayed by the IT support team.

Thankyou very much for all your help Peter.

-- HarshBafna - 2012-02-29

      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 User Registraion Error
SupportCategory CategoryRegistration
TWiki version 5.1.1
Server OS SUNOS 5.10
Web server

Perl version

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2012-02-29 - HarshBafna
 
  • 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.