lot's of Failed to open file

hichew

Active Member
#1
2007-04-16 19:42:28.594 INFO Failed to open file [/home/ondemand/public_html/clientscript/vbulletin_menu.js.lsz], error: Permission denied
2007-04-16 19:42:28.729 INFO Failed to open file [/home/ondemand/public_html/clientscript/vbulletin_ajax_reputation.js.lsz], error: Permission denied
2007-04-16 19:42:28.853 INFO Failed to open file [/home/ondemand/public_html/clientscript/vbulletin_post_loader.js.lsz], error: Permission denied
2007-04-16 19:42:28.969 INFO Failed to open file [/home/ondemand/public_html/clientscript/vbulletin_multi_quote.js.lsz], error: Permission denied

and more.....
any idea why i'm getting this error msg?
 

mistwang

LiteSpeed Staff
#2
LSWS is trying to create GZIP compressed static files but do not have permission to create the file.
You can either change the file permission to give write permission to the user that lshttpd run as, or create those files manually. you can try
Code:
find . | grep -e '\.js$'  | xargs -n 1 path_to_lsws/admin/misc/gzipStatic.sh 9
find . | grep -e '\.css$' | xargs -n 1 path_to_lsws/admin/misc/gzipStatic.sh 9
 

hichew

Active Member
#3
LSWS is trying to create GZIP compressed static files but do not have permission to create the file.
You can either change the file permission to give write permission to the user that lshttpd run as, or create those files manually. you can try
Code:
find . | grep -e '\.js$'  | xargs -n 1 path_to_lsws/admin/misc/gzipStatic.sh 9
find . | grep -e '\.css$' | xargs -n 1 path_to_lsws/admin/misc/gzipStatic.sh 9
did what you suggested.
but still have the same problem.
any other idea?
 

mistwang

LiteSpeed Staff
#4
Are *.lsz file there? Maybe you need to fix the fill permission. If you css or js file changed, you need to do the above command again to regenerate the cache.
 
Top