Question
I am trying to set up a Twiki server on FC6. After following all the steps provided in
TWikiInstallationGuide, I tried running configure from the browser. I get the 500 Internal Server Error. I have tried this from both the localhost as well as a permitted IP(twiki.conf).
The error_log file in /var/log/httpd gives the following messages
[Fri Mar 23 14:32:30 2007] [error] [client 10.200.90.60] (13)Permission denied: exec of '/var/www/twiki/bin/configure' failed
[Fri Mar 23 14:32:30 2007] [error] [client 10.200.90.60] Premature end of script headers: configure
The setup is:
twiki folder : /usr/local/twiki
/var/www/twiki linked to /usr/local/twiki
Folder permissions apache:apache.
Bin directory file permissions 644.
Server OS: Fedora Core 6 (Fresh install. Done only for running Twiki)
Installation type: Common office, Webserver, Software Development.
I get the same error even after commenting the "configure" section in twiki.conf.
I have installed Twiki 4.0.5 on RH 7.3 earlier without any major roadblock.
But the latest installation on FC6 has not been as smooth. Please help!
Please let me know if any further details need to be provided.
Environment
--
PraveenKoorse - 23 Mar 2007
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.
Some further information which might help. I get the following related messages when I do a dmesg .
audit(1174978241.060:4): avc: denied { execute } for pid=3397 comm="httpd" name="configure" dev=hda5 ino=1702315 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file
audit(1174978670.599:5): avc: denied { execute } for pid=3419 comm="httpd" name="configure" dev=hda5 ino=1702315 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file
audit(1174978716.446:6): avc: denied { execute } for pid=3420 comm="httpd" name="view" dev=hda5 ino=1702316 scontext=system_u:system_r:httpd_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file
--
PraveenKoorse - 27 Mar 2007
Well, there seems to be some problem of permissions related to cgi-scripts with the httpd shipped with FC6.
I installed Apache 2.2.4 in a different location and included the previously generated twiki.conf in the httpd.conf file. and Eureka! Configure works perfectly fine!!! There was no other change done to the existing twiki directories or conf files. Just an apache change!
My Twiki server is now up an running.... :-))