[CentOS] SELinux kills Cassandra based website
Tim Dunphy
bluethundr at gmail.comThu Mar 5 03:14:42 UTC 2015
- Previous message: [CentOS] Playback of MIDI files
- Next message: [CentOS] SELinux kills Cassandra based website
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] Playback of MIDI files
- Next message: [CentOS] SELinux kills Cassandra based website
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list