As root execute:
#getenforce
It should return either "Enforcing" or
"Permissive" which indicates
SElinux is on or off respectively. If its on (Enforcing)
execute as
root:
#setenforce 0
and test whether your thumbnails problem goes away. If it
does, then
its due to SElinux, a security system that you can read more
about here:
http://www.redhat.com/docs/manuals/enter
prise/RHEL-4-Manual/selinux-guid
e/selg-preface-0011.html#RHLCOMMON-SECTION-0072
It's a security system and thus you should only turn it off
at your own
peril. Read up on it and determine whether you can safely
turn it off
if needed.
-Jim
-----Original Message-----
From: Jono Bradley [mailto:jono.bradley ntlworld.com]
Sent: Monday, August 28, 2006 8:13 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Thumbnails
And how do I do this?
Jono
----- Original Message -----
From: "Sullivan, James (NIH/CIT) [C]"
<sullivan mail.nih.gov>
To: "MediaWiki announcements and site admin
list"
<mediawiki-l Wikimedia.org>
Sent: Monday, August 28, 2006 1:00 PM
Subject: Re: [Mediawiki-l] Thumbnails
> If you're on a Linux box check to see if Selinux is
enforcing:
> #getenforce
> If it returns "Enforcing", try turning it
off:
> #setenforce 0
> and see if the problem goes away. SElinux prevents
ImageMagick from
> modifying files such as thumbnail creation. If this
fixes the
problem,
> I'd suggest turning SElinux back on (#setenforce 1)
and then read up
on
> SElinux to make sure turning it off is ok in your
environment.
>
> -Jim
>
> -----Original Message-----
> From: Jono Bradley [mailto:jono.bradley ntlworld.com]
> Sent: Sunday, August 27, 2006 5:58 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Thumbnails
>
> Well that line you said to check was true is -
>
> ## To enable image uploads, make sure the 'images'
directory ## is
> writable, then set this to true:
> $wgEnableUploads = true;
> $wgUseImageResize = true;
> # $wgUseImageMagick = true;
> # $wgImageMagickConvertCommand =
"/usr/bin/convert";
>
> ## If you want to use image uploads under safe mode, ##
create the
> directories images/archive, images/thumb and ##
images/temp, and make
> them all writable. Then uncomment ## this, if it's not
already
> uncommented:
> $wgHashedUploadDirectory = false;
>
> Any other suggestions?
>
> Jono
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|