Question
Hello,
This is my first Twiki install.
I am currently running Fedoracore 9 on my webserver. When I run the config file everything runs fine. It comes up with the warnings as usual from what i Understand. When i click next it asks me to create the password and Save. When i click save I get the following error:
Could not open /var/www/html/lib/LocalSite.cfg for write: Permission denied at /var/www/html/lib/TWiki/Configure/TWikiCfg.pm line 300.
As a part of frustration I gave read/write access to all and any users yet I still get the error. I found that there was not a LocalSite.CFG file. I found on a forum that when you click save it creates this file. Is this correct? I also attempted to create the file manually and it works ok but i really want to use the config.
Please help
Environment
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.
You are right -
configure creates this file automatically when TWiki is configured for the first time and the file does not exist.
Regarding your permits problem: Who is the owner and the group of the TWiki files and directories? On Fedora it should be
apache. So make sure it is not a special user or root because Apache needs the correct user and group configuration to be able to create files. Otherwise it will not work. The corresponding command:
chown -R apache:apache /path/to/twiki. See also
TWikiInstallationGuide, #3.
--
SebastianKlus - 24 Jul 2008
thank you that fixed everything! I am up and running
--
AaronColeman - 25 Jul 2008
Good to hear that.
SupportStatus changed to AnsweredQuestion.
--
SebastianKlus - 25 Jul 2008