Tags:
create new tag
view all tags

Question

Dear friends, by mistake I changed the permissions to the bin folder on my twiki debian installation running over wmware. After that change I got permissions error on apache and my twiki stops working. I manageg to fix the problem by setting again the 0755 permission on that folder and their files but it work only for one day so I have to perfom that operation everyday as these permission are removed. How can avoid this situation ?

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian stable, v3.1, kernel 2.4
Web server: Apache 1.3.99-563
Perl version: Perl 5.8.4
Client OS: Windows Xp sp2, Vmware
Web Browser: firefox
Categories:  

-- AlbertoPalma - 16 Aug 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.

This is the error I get:

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

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4 Server at lantekwiki Port 80

-- AlbertoPalma - 17 Aug 2007

If the error says "More information about this error may be available in the server error log." than it would be a good idea to have a look in the server error log. It is located at /var/log/apache2/error.log (I guess what you pasted from the screen is more accurate than what is in the form above).

TWiki does nothing to change file permissions every day, but perhaps you're running some cron job from your security department which sets permissions to 0750? If so, the easiest solution is to change the group of all the files in bin and lib to the group of the web server user, usually www-data. Make sure that lib/LocalSite.cfg is 0770 (so that you can run bin/configure).

-- HaraldJoerg - 17 Aug 2007

I'd suggest using chown to change the file and directory ownerships to match those of your web server - in debian, i think thats www-data though if you goto the configure cgi-script, it will confirm that.

-- SvenDowideit - 18 Aug 2007

Closing this after more than 30 days of inactivity. Please feel free to reopen the question.

-- PeterThoeny - 03 Oct 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-10-03 - PeterThoeny
 
  • 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.