LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > lot's of Failed to open file

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2007, 07:59 PM
hichew hichew is offline
Member
 
Join Date: Mar 2007
Location: USA
Posts: 27
Default lot's of Failed to open file

Quote:
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?
Reply With Quote
  #2  
Old 04-16-2007, 10:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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
Reply With Quote
  #3  
Old 04-18-2007, 11:25 PM
hichew hichew is offline
Member
 
Join Date: Mar 2007
Location: USA
Posts: 27
Quote:
Originally Posted by mistwang View Post
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?
Reply With Quote
  #4  
Old 04-19-2007, 08:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
  #5  
Old 04-28-2007, 11:15 AM
hichew hichew is offline
Member
 
Join Date: Mar 2007
Location: USA
Posts: 27
it works now..
change the file permission fix the problem
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:19 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.