Problems encountered during deployment (I): problems encountered during deployment

Source: Internet
Author: User

Problems encountered during deployment (I): problems encountered during deployment

Deployment problems encountered by Nginx --> permission deny


123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/bootstrap. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"

123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/superfish. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/jquery. tweet. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/jquery. prettyPhoto. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/myscript. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/js/application. js HTTP/1.1 "403 198" http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 07: 44 + 0800] "GET/static/blog/img/logo.png HTTP/1.1" 403 198 "http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 08: 05 + 0800] "GET/static/favicon. ico HTTP/1.1 "403 198"-"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
123.127.3.37--[03/Aug/2014: 06: 08: 47 + 0800] "GET/static/blog/css/prettyPhoto.css HTTP/1.1" 403 198 "http: // 182.92.99.8/xadmin/"" Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
171.106.247.194--[03/Aug/2014: 06: 21: 01 + 0800] "GET/HTTP/1.0" 500 10097 "-""-"
Root @ ay14071501354258c0ez:/home/zoueswebsite/static/bootstrap/css # tail/var/log/nginx/error. log.1
06:08:05 [error] 13533 #0: * 12 open () "/root/zoueswebsite/static/favicon. ico "failed (13: Permission denied), client: 123.127.3.37, server: 182.92.99.8, request:" GET/static/favicon. ico HTTP/1.1 ", host:" 182.92.99.8"
06:08:47 [error] 13533 #0: * 12 open () "/root/zoueswebsite/static/blog/css/prettyPhoto.css" failed (13: Permission denied), client: 123.127.3.37, server: 182.92.99.8, request: "GET/static/blog/css/prettyPhoto.css HTTP/1.1", host: "182.92.99.8", referrer: "http: // 182.92.99.8/xadmin /"
06:25:01 [emerg] 13533 #0: open () "/var/log/nginx/access. log" failed (13: Permission denied)
06:25:01 [emerg] 13533 #0: open () "/var/log/nginx/error. log" failed (13: Permission denied)
06:25:01 [emerg] 13531 #0: open () "/var/log/nginx/access. log" failed (13: Permission denied)
06:25:01 [emerg] 13531 #0: open () "/var/log/nginx/error. log" failed (13: Permission denied)
06:25:01 [emerg] 13530 #0: open () "/var/log/nginx/access. log" failed (13: Permission denied)
06:25:01 [emerg] 13530 #0: open () "/var/log/nginx/error. log" failed (13: Permission denied)
06:25:01 [emerg] 13532 #0: open () "/var/log/nginx/access. log" failed (13: Permission denied)
06:25:01 [emerg] 13532 #0: open () "/var/log/nginx/error. log" failed (13: Permission denied)
JavalangNoSuchMethodError:

Check if you have written the wrong link. He says you cannot find this method.
 
If you encounter a problem in the project, it is still normal before, and the configuration files have not been changed, but the following solution is reported when you run them again.

Struts2 uses an interceptor to obtain the user access URL and corresponds to your Action and its methods. It must have been the configuration error of the struts. xml file. Otherwise, you entered the wrong url. The corresponding method is not found through user access.
If no method is specified in action, the default method is execute.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.