lot's of Failed to open file

Discussion in 'Install/Configuration' started by hichew, Apr 17, 2007.

  1. hichew

    hichew New Member


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

    mistwang LiteSpeed Staff

    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
  3. hichew

    hichew New Member

    did what you suggested.
    but still have the same problem.
    any other idea?
  4. mistwang

    mistwang LiteSpeed Staff

    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.
  5. hichew

    hichew New Member

    it works now..
    change the file permission fix the problem :)

Share This Page