Git Product home page Git Product logo

Comments (6)

cpselvis avatar cpselvis commented on August 20, 2024

Eh, My lua version is 5.2.4 and luajit is 2.0.4. I don't know wether it is compatiable.

from gin.

idevz avatar idevz commented on August 20, 2024

@cpselvis you can run like

gin start --trace

for more information.

from gin.

jtarchie avatar jtarchie commented on August 20, 2024

@cpselvis, based on the error message. It sounds like you actually might have something else bound to the port number 7200.

Perhaps:

  • another server
  • an earlier run of gin that you didn't kill correctly

Try lsof -i :7200 or ps aux | grep gin for more information.

from gin.

cpselvis avatar cpselvis commented on August 20, 2024

Ahh, I did all my operation after restart my computer and it still cause that issue yesterday.

And I follow your tips just now, it still can't get to the point:

➜  demo lsof -i:7200
COMMAND  PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
nginx   1206 hellfire    7u  IPv4 0xb8664bd65c3f527d      0t0  TCP *:fodms (LISTEN)
nginx   1207 hellfire    7u  IPv4 0xb8664bd65c3f527d      0t0  TCP *:fodms (LISTEN)
nginx   1208 hellfire    7u  IPv4 0xb8664bd65c3f527d      0t0  TCP *:fodms (LISTEN)
nginx   1209 hellfire    7u  IPv4 0xb8664bd65c3f527d      0t0  TCP *:fodms (LISTEN)
nginx   1210 hellfire    7u  IPv4 0xb8664bd65c3f527d      0t0  TCP *:fodms (LISTEN)
➜  demo kill -9 1206 1207 1208 1209 1210
➜  demo lsof -i:7200
➜  demo gin start --trace
nginx   -p `pwd`/ -c tmp/development-nginx.conf
nginx: [alert] lua_code_cache is off; this will hurt performance in /Users/hellfire/test/demo/tmp/development-nginx.conf:21
ERROR: Could not start Gin app on port 7200 (is it running already?).
➜  demo lsof -i:7200
COMMAND  PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
nginx   5360 hellfire    7u  IPv4 0xb8664bd66b557ced      0t0  TCP *:fodms (LISTEN)
nginx   5361 hellfire    7u  IPv4 0xb8664bd66b557ced      0t0  TCP *:fodms (LISTEN)
nginx   5362 hellfire    7u  IPv4 0xb8664bd66b557ced      0t0  TCP *:fodms (LISTEN)
nginx   5363 hellfire    7u  IPv4 0xb8664bd66b557ced      0t0  TCP *:fodms (LISTEN)
nginx   5364 hellfire    7u  IPv4 0xb8664bd66b557ced      0t0  TCP *:fodms (LISTEN)

Sounds strange.

from gin.

ostinelli avatar ostinelli commented on August 20, 2024

Hello, Gin is to be used with Lua 5.1 as per the specs. Can you see if this works for you?

from gin.

ostinelli avatar ostinelli commented on August 20, 2024

No follow up, closing.

from gin.

Related Issues (17)

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.