Question
Hi All, I've got a fresh copy of TWiki 4.2.3 installed on my
CentOS 5.2 server.
Everything went great, but now it seems that I cannot register new users. I'm getting the error:-
#### Error message start ####
Error registering user NewUser?
There has been a problem adding your user id to the Password system.
Please contact EMAILHIDDEN.
You have not been registered.
#### Error message end ####
When I look in the /data/warn200810.txt log I find:-
| 28 Oct 2008 - 19:40 | Registration failed: exec failed: No such file or directory at /home/twikitest/public_html/twiki/lib/TWiki/Sandbox.pm line 392.
I cannot for the life of me figure out what is wrong. I've checked and confirmed the .htpasswd path, I even tried chmod 0777 but still the error and it remains empty. I noticed that the file date was changing on each registration attempt so I also tried removing the .htpasswd to see what happened. When I try to register this file is re-created but remains empty and I get the same error.
I code Perl and checked the Sandbox.pm, but unfortunately I'm not familar with opening pipes as file handles, so have no idea what file it deems missing.
I tried deleting everything and doing the install from scratch but had the same problem.
I can't find a lot of documentation on using TWiki with
SuExec. I setup all the scripts to be the
SuExec user/group for this domain rather than the apache user (so scripts could execute). Is this part of the problem?
Please let me know what's causing the problem. I've searched but can't find any solutions.
Thanks.
Environment
--
LyleHopkins - 28 Oct 2008
Answer
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.
I turned on expert mode, and set all warnings to errors. The in /var/log/httpd/error_log I found a load of errors with regards /usr/bin/rcs file not found.
Looks back at the install docs it does mention
RCS being a system requirement.
I think it would be useful if the configure checked the
RCS and warned if it's not there. The requirement was listed quite some way after the Install Steps.
Lyle
--
LyleHopkins - 28 Oct 2008
Found that TWiki can run without
RCS installed by setting Store to
RcsLite instead of
RcsWrap.
I had skipped the Store section thinking is was a built in shopping cart feature. Maybe
DateStore would be a better name?
--
LyleHopkins - 29 Oct 2008
Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 10 Dec 2008