Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core 6
Web server: httpd-2.2.3-5
Perl version: 5.8.8
Client OS: Windows XP Pro , FC 6
Web Browser: Firefox, IE 7
Categories: Installation

-- PraveenKoorse - 23 Mar 2007

Answer

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.

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! wink

My Twiki server is now up an running.... :-))

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-03-28 - PraveenKoorse
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.