lighttpd forum XCache > Error Log

Posted by Jase (Guest)
on 09.10.2008 18:52
[09-Oct-2008 12:48:58] PHP Fatal error:  Cannot open or create file set 
by xcache.mmap_path, check the path permission or check xcache.size/v$
[09-Oct-2008 12:48:58] PHP Fatal error:  XCache: Cannot create shm in 
Unknown on line 0

This was found in here

nano /usr/local/cpanel/whostmgr/docroot/error_log

And this found here

/usr/local/cpanel/logs/error_log

Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive directive
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive foo
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive foo
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive foo
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive gpc_order
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.admin.enable_auth
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.admin.user
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.admin.pass
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.shm_scheme
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.size
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.count
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.slots
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.ttl
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.gc_interval
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_size
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_count
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_slots
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_ttl
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_maxttl
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.var_gc_interval
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.readonly_protection
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.mmap_path
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.cacher
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.optimizer
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive xcache.stat
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.log.syslog.facility
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.log.use-x-forwarded-for
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.executor.max_depth
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.executor.include.max_traversal
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.executor.disable_emodifier
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.executor.allow_symlink
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.simulation
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.apc_bug_workaround
Thu Oct  9 12:50:08 2008 info [Cpanel::PHPINI]: Skipping unknown PHP ini 
directive suhosin.sql.bailout_on_error
Posted by moo XCache
on 13.10.2008 06:26
Jase wrote:
> [09-Oct-2008 12:48:58] PHP Fatal error:  Cannot open or create file set 
> by xcache.mmap_path, check the path permission or check xcache.size/v$
> [09-Oct-2008 12:48:58] PHP Fatal error:  XCache: Cannot create shm in 
> Unknown on line 0
Cpanel::PHPINI warning is not a problem

chrooted php? check php.ini for xcache.mmap_path
if it's /tmp/xcache, make sure there is $CHROOTDIR/tmp in chrooted env
if it's /dev/zero, make sure there is $CHROOTDIR/dev/zero inode same as 
/dev/zero
# cp -a /dev/zero $CHROOTDIR/dev/zero