Unable to deploy to my Tomcat installation

Installed a tomcat environment on my test server (Fedora 26). Everything is stock package. I've also installed and setup Nginx reverse proxy on the front. tomcat-users.xml is set and I can login to the app manager as expected.

Now, when I try to deploy a WAR to it, I get critical failure on my Nginx log:

2017/09/25 15:12:21 [crit] 13878#0: *36 open() "/var/lib/nginx/tmp/client_body/000000XXXX" failed (13: Permission denied), client: 200.x.x.x, server: some-sandbox.com, request: "POST /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=XXXXXXXxxxx HTTP/1.1", host: "some-sandbox.com", referrer: "https://some-sandbox.com/manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=XXXXXXXxxxx

Nginx then return 500 internal server to browser.

What could I have get wrong? Any suggestion how to tackle?


1 answer

  • answered 2017-09-25 07:30 Myo

    You can check the user privilage on the file for current user.