create new tag
, view all tags


Question: Has anybody successfully used the bulkregister feature? If not can someone suggest a means of tracking down the error?

I am setting up a new wiki using 4.0.0. I have created a table containing one user in an attempt to BulkRegister. My Screen hangs for a minutes, then I get an "internal server error" message (Apache 2 on FreeBSD). The httpd error log then has the following lines:

[Mon Feb 06 04:34:49 2006] [error] [client] Premature end of script headers: manage, referer: http://xxx.com/twiki/bin/view/TWiki/NewUserTemplate?topic=BulkRegistration&x=0&y=0

[Mon Feb 06 04:36:30 2006] [error] [client] Premature end of script headers: manage, referer: http://xxx.com/twiki/bin/view/TWiki/NewUserTemplate?topic=BulkRegistration&x=0&y=0

I've changed the name of the referring website as it is not intended to be a public site at the moment. I can provide access if needed.


TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD 4.10
Web server: Apache 2
Perl version:
Client OS: Windows XP Home SP2
Web Browser: Firefox
Categories: Registration, Fatal error

-- BillSchmitt - 06 Feb 2006


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.

Hi Bill, sorry, alhough I wrote the bulk register feature I have limited availability to help you at present. There are a set of testsuites for the feature - running these should help you determine whether your system is performing as others do.

It is a prerequisite of the build process that all tests pass so it is very likely something on your side.

If you want my urgent help I am available for hire - feel free to contact me.

I hope this helps. M.

-- MartinCleaver - 09 Feb 2006

Where can I find the test suites?

-- BillSchmitt - 09 Feb 2006

Are you sure you are in TWikiAdminGroup?

The bulkregister feature has indeed been used successfully. There are a few things to check. First, can TWiki send email from your server? It's possible that Net::SMTP is hanging (I've seen that before!).

As well as the apache error log, check the TWiki warning log. You never know.

The test suites require a checkout of the source code from subversion, and are a bit of a pain to configure. Please take my word for it, they pass. And also take my word for the observation that the coverage is sparse, so it's entirely possible that you have hit a configuration that fails. To check my own sanity, I just ran the same bulk registration you describe, and I can confirm it works (Template login manager, htpasswd)

-- CrawfordCurrie - 23 Feb 2006

I don't think I'm qualified to got through a difficult configuration of the test scripts, but to answer your questions; the only thing in the apache error log is the message above about a premature end of script, and yes, sending email works fine. I've also tried it on a FreeBSD 4.9 server, with perl 5.8.7 installed with the same result. There are no messages in the warning log about it. We have a limited number of users now, so I've been registering them one at a time for now.

-- BillSchmitt - 02 Mar 2006

For whatever it's worth, I'm seeing exactly the same behavior on Solaris. It seems that the "manage" script is spinning on the CPU. As with Bill, SMTP works fine on the server. And yes, I'm in the TWikiAdminGroup.

-- BryanCantrill - 02 Mar 2006

The only known problem with bulk registration is to do with bulk password reset, where the user's email was getting dropped from the password file. I haven't heard of seen of anything like you describe. it sounds like it's infinite-looping, and eventually getting potted by the webserver.

-- CrawfordCurrie - 12 Mar 2006

Guys, this sounds like something that needs to be handled though the develop http://develop.twiki.org system. If you find any more details, could you open a bug there? (i'll keep BulkRegister in mind when i next play with a Solaris box.

-- SvenDowideit - 13 Apr 2006

thanks for the nops, Peter.

-- SvenDowideit - 15 Apr 2006

General question -- does BulkRegister work if PasswordManager is set to none? I get a "sorry, the password system is currently read-only" from BulkRegister. Is this a bug?

-- DavidMasterson - 2009-05-13

Hi, Please can someone help me? I also have the same problem I get the following error messages: is in apache log: Premature end of script headers: manage, referer: http / / xxx.com / bin / view / TWiki / BulkRegistration

in warning: TWiki:: Plugins:: TWikiNetSkinPlugin:: init plugin did not return true (0)

thanks for help

-- SipanArarat - 2012-01-13

Sipan: Best to open a new support question with details. Look into apache error log. The TWikiNetSkinPlugin warning is unlikely o be related.

-- PeterThoeny - 2012-01-13

Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2012-01-13 - 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.