SELinux kills Cassandra based website

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



Hey all,

 There's a website I help run that uses the Cassandra DB as its database. I
notice that if I run the web server in SELinux permissive mode, the site
works fine. But if I put it into enforcing mode, the site goes down with
this error:

Warning: require_once(/McFrazier/PhpBinaryCql/CqlClient.php): failed to
open stream: Permission denied in
/var/www/jf-ref/includes/classes/class.CQL.php on line 2 Fatal error:
require_once(): Failed opening required
'/McFrazier/PhpBinaryCql/CqlClient.php' (include_path='.:/php/includes') in
/var/www/jf-ref/includes/classes/class.CQL.php on line 2

I've tried performing a chcon -R command on both the /McFrazier and the
/var/www/jf-ref directories. But there's no change to the site being up.
Can I get some opinions on how to get this working under SELinux?

Thanks
Tim


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux