I spent some time today trying to install memcache. After applying the serialization patch, however, I receive the following message when I try to hit the site:
Aug 7 06:15:21 localhost httpd: PHP Warning: require_once(./includes/bootstrap.inc) [function.require-once]: failed to open stream: Permission denied in /var/www/icons/index.php on line 12
Aug 7 06:15:21 localhost httpd: PHP Fatal error: require_once() [function.require]: Failed opening required './includes/bootstrap.inc' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/icons/index.php on line 12
I noticed the troubleshooting section and the item that suggested truncating the cache table. This has been done, but I still receive the same error.
Any idea what might be causing this?
Comments
Comment #1
rcclarke commentedThis is still open. While trying to troubleshoot this, I noticed what appears to be a conflict in the installation instructions:
in installation.txt, there's a step that says to move memcache.inc to the includes directory ("mv memcache.inc ../../includes/"); and a few lines later, the instructions say to include an entry in the $conf array to point "cache_inc" to the include file located in the modules directory. Obviously, this won't work, since the include file is no longer located there. I've tried pointing the $conf array entry to the include file in the includes directory, but no luck.
In addition to the above referenced error that shows up in the messages log, I've also noticed that four memcache errors are being logged in watchdog:
Failed to set key: cache_views-views_urls
Failed to set key: cache_menu-1%3Aen
Failed to set key: cache-variables
Failed to set key: cache-adsense
I've verified that PECL and memcache are both installed and running...and have also verified that the database tables have the serialize column and that they've been truncated, as per the troubleshooting section.
At this point, I think I'm pretty close...does anyone have any tips or suggestions on this? I really need to try and get this sorted out.
Thanks,
Randy
Comment #2
rcclarke commentedFixed. I sifted through the patch and applied the code deltas by hand. After a quick test to verify that the app was no longer throwing the error, I modified selinux so apache could communicate to memcache.
Comment #3
jaydub commented