Re: Squid question in FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried that, it failed with following msg:

restorecon set context /var/spool/squid->system_u:object_r:squid_cache_t
failed:'Permission denied'

BTW, I also tried that command on /tmp/squid without mount shm to it (just to test the
result of it...), and the command succeeded, but when I point the cache dir to
/tmp/squid, I still get the same error...

Thanks,
Chris



--- Paul Howarth <paul@xxxxxxxxxxxx> wrote:

> Chris wrote:
> > Thanks for the explanation. It seems that I should have not check that check box when
> > installing FC3...
> > 
> > The reason is that I want to make Apache faster by using Squid together with shm... I
> > setup a TWiki using Apache with mod_perl, but I still feel that the speed is not so
> > ideal. So I want to mount shm to tmp, so that not only the perl scripts (TWiki) can
> run
> > faster, PHP scripts (which may use /tmp) can also run faster... I tried to mount shm
> to
> > /var/spool/squid, but it won't work either, it gives following error instead:
> > 
> > Feb 25 00:52:32 eden squid: Failed to make swap directory /var/spool/squid: (17) File
> > exists
> > 
> > but in fact, no file is in the mounted dir or the real dir...
> 
> Not the error message I'd have expected, but could you try running:
> 
> # restorecon -R /var/spool/squid
> 
> after mounting /var/spool/squid and see if that helps?
> 
> Paul.
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux