create new tag
, view all tags


Completed the install of Twiki

added the ip address (static) of the computer to allowed list.

when i point the browser at i get the Welcome to Twiki page. I can click on the Installation Guide.

When I click on the Configure TWiki, I get a pop up User Name and Password box. None ofthe users setup as user of the computer will work. If there is a default Twiki user and password to run this for the first time I do not know what it is. After running this I checked the Apache Log see below;

[Sat Dec 16 10:30:43 2006] [error] [client] (2)No such file or directory: Could not open password file: /var/www/twiki/data/.htpasswd, referer:
[Sat Dec 16 10:30:43 2006] [error] [client] user root not found: /twiki/bin/configure, referer:
[Sat Dec 16 10:30:43 2006] [error] [client] (13)Permission denied: exec of '/var/www/twiki/bin/view' failed, referer:
[Sat Dec 16 10:30:43 2006] [error] [client] Premature end of script headers: view, referer:

I also tried using the local this was giving me the same problem, but now it just gives me below; I had searched help and attempted to use htpasswd to create a file and user for access I ran htpasswd -cb /var/www/twiki/data .htpasswd username password. It appeared to work, did not give an error but I could not locate the file. Anyway see error below

"the server encountered an internal error or misconfiguration and was unable to complete your request."

I checked the apache log and found

[Sat Dec 16 10:52:22 2006] [error] [client] (13)Permission denied: exec of '/var/www/twiki/bin/configure' failed, referer:
[Sat Dec 16 10:52:22 2006] [error] [client] Premature end of script headers: configure, referer:


TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux Ubuntu 2.6.15-26 (Ubuntu 6)
Web server: Apache 2.0.55
Perl version: v5.8.7
Client OS: Linux Ubuntu 2.6.15-26 (Ubuntu 6)
Web Browser: FireFox
Categories: Installation, Authentication, Security

-- DaveGritten - 16 Dec 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.

This should help: http://twiki.org/cgi-bin/view/Support/ConfigureAuthentication

-- ThomasEsau - 17 Dec 2006

Tried everything in there, no success. I think I will do a clean install of Twiki. I am afraid I may have forgotten to undo an attempt.

Maybe this may add something though. When I access on local machine using i do not get the login id and password popup.

I just get the following error.

"The server encountered an internal error or misconfiguration and was unable to complete your request."

Checking the log I see

[Sun Dec 17 12:35:28 2006] [error] [client] (13)Permission denied: exec of '/var/www/twiki/bin/configure' failed, referer:
[Sun Dec 17 12:35:28 2006] [error] [client] Premature end of script headers: configure, referer:

-- DaveGritten - 17 Dec 2006

This looks as if the user id running your web server is not allowed to read the files in /var/www/twiki/bin/. The easiest try would be to try chmod 644 /var/www/twiki/bin/*.

The user id running the web server must be able to read everything in /var/www/twiki/, and to write (and create) files in /var/www/twiki/data/ and /var/www/twiki/pub/. Finally, for configuration it must be able to write /var/www/twiki/lib/LocalSite.cfg.

-- HaraldJoerg - 17 Dec 2006

Good recommendation by Harald. The default permissions can cause many issues, see Bugs:Item3280. I suggest to chmod o+r all TWiki files, and to make all directories/files on and below twiki/data and twiki/pub owned by the Apache user.

-- PeterThoeny - 18 Dec 2006

-- DaveGritten - 13 Jan 2007

For readers who are concerned about the security implications of opening up permissions so widely, or who are having problems changing ownership, refer to my comments in ConfigureAuthentication.

-- EricWoods - 07 Feb 2007

Most of my problems are solved. It had to do with installing on Ubuntu. Many assumed modules were not intalled, most noteably make. So when I was trying to intall they would fail.

Anyway finally intalled all but Digest::SHA1 and most everything is working...

Thanks for the help.

-- DaveGritten - 16 Feb 2007

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-02-16 - DaveGritten
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.