GithubHelp home page GithubHelp logo

Comments (5)

xfeep avatar xfeep commented on May 12, 2024

Could you please show us your nginx.conf ?

from nginx-clojure.

jmmk avatar jmmk commented on May 12, 2024

The jvm variables are set to the following:

    jvm_path "/usr/lib/jvm/java-1.7.0-openjdk.x86_64/jre/lib/amd64/server/libjvm.so";
    jvm_options "-Djava.class.path=/home/ec2-user/jars/nginx-clojure-0.2.6.jar";

Everything else was left to default. This is the compiled version. With the binary, I had jvm_options "-Djava.class.path=/home/ec2-user/nginx-clojure-0.2.5/nginx-1.6.0/jars/nginx-clojure-0.2.5.jar";

from nginx-clojure.

xfeep avatar xfeep commented on May 12, 2024

What your OS user to run nginx workers? Maybe this user can not access /home/ec2-user/nginx-clojure-0.2.5/nginx-1.6.0/jars/nginx-clojure-0.2.5.jar.

In nginx.conf user can be set which OS user to run nginx workers.

#user  nobody;

If you run nginx with root, the default user is nobody to run nginx workers. Otherwise the default user to run nginx workers is the same with the user who runs nginx master.

from nginx-clojure.

jmmk avatar jmmk commented on May 12, 2024

That sounds like it could be the case, as I've run into similar issues with nginx before. I won't be able to try it out until later, but I'll come back with the results.

from nginx-clojure.

jmmk avatar jmmk commented on May 12, 2024

I set user ec2-user; in nginx.conf and it solved the problem. Thanks for the help.

from nginx-clojure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.