PDA

View Full Version : getting Few error On Vb + VBseo + xCache


desifunz
03-06-2012, 02:36 PM
i just installed traid version , if its working i will purchase but right now facing issue with some , errors ,

See this error its on my site header and footer

Warning: Unknown: open(/tmp/sess_b03777798a46c1f28bc9c023ce35eabb, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Warning: session_start() [function.session-start]: open(/tmp/sess_c51e95f412b1905e572357e1e9afe206, O_RDWR) failed: Permission denied (13) in [path]/includes/facebook/facebook.php on line 37

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/class_core.php:5605) in [path]/includes/facebook/facebook.php on line 37




....................... and my .htacess file is

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

#rules for litespeed cache:
RewriteCond %{HTTP_COOKIE} !vbseo_loggedin=yes
RewriteCond %{HTTP_COOKIE} !bb_userid=
RewriteCond %{HTTP_COOKIE} !bb_password=
#RewriteCond %{ORG_REQ_URI} ^/(index\.php|)$
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{QUERY_STRING} ^$
RewriteRule (.*) - [E=Cache-Control:max-age=60]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


So Please check this issue even seding u snap short of XCache settings.




XCache
XCache Support enabled
Version 1.3.2
Modules Built cacher
Readonly Protection N/A
Cache Init Time 2012-03-06 23:07:06
Cache Instance Id 15829
Opcode Cache enabled, 12,582,912 bytes, 4 split(s), with 8192 slots each
Variable Cache enabled, 33,554,432 bytes, 1 split(s), with 8192 slots each
Shared Memory Schemes mmap

Directive Local Value Master Value
xcache.admin.enable_auth Off Off
xcache.cacher On On
xcache.coredump_directory no value no value
xcache.count 4 4
xcache.gc_interval 0 0
xcache.mmap_path /dev/zero /dev/zero
xcache.readonly_protection Off Off
xcache.shm_scheme mmap mmap
xcache.size 12M 12M
xcache.slots 8K 8K
xcache.stat On On
xcache.test Off Off
xcache.ttl 0 0
xcache.var_count 1 1
xcache.var_gc_interval 300 300
xcache.var_maxttl 0 0
xcache.var_size 32M 32M
xcache.var_slots 8K 8K
xcache.var_ttl 0 0

webizen
03-06-2012, 03:43 PM
...

Warning: Unknown: open(/tmp/sess_b03777798a46c1f28bc9c023ce35eabb, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Warning: session_start() [function.session-start]: open(/tmp/sess_c51e95f412b1905e572357e1e9afe206, O_RDWR) failed: Permission denied (13) in [path]/includes/facebook/facebook.php on line 37

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/class_core.php:5605) in [path]/includes/facebook/facebook.php on line 37



...


check permission and ownership of /tmp/sess_*

ls -la /tmp/sess_*


turn off LiteSpeed PHP suEXEC (Admin Console => Configuration => Server => PHP suEXEC) if you use apache mod_php,
turn on PHP suEXEC if you use apache suphp.
two setups need to be matched.

desifunz
03-06-2012, 07:46 PM
yes its done :)

no error but when i enter home in admin console see this error



Time Level Message
2012-03-07 10:54:21.213 WARN [config:server:listener] No listener is available for normal virtual host!




and Aslo need Help about , complete confirgration , of lite speed , like cache , booster and other settings

webizen
03-07-2012, 10:34 AM
yes its done :)
...

i am taking this issue is resolved.


Time Level Message
2012-03-07 10:54:21.213 WARN [config:server:listener] No listener is available for normal virtual host!

The warning message is no harm. Litespeed is reading Apache httpd.conf. no listener is needed in native LSWS setup.

For cache setup, pls refer the docs http://www.litespeedtech.com/support/wiki/doku.php#cache