Comments (6)
Eh, My lua version is 5.2.4 and luajit is 2.0.4. I don't know wether it is compatiable.
from gin.
@cpselvis you can run like
gin start --trace
for more information.
from gin.
@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'tkill
correctly
Try lsof -i :7200
or ps aux | grep gin
for more information.
from gin.
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.
Hello, Gin is to be used with Lua 5.1 as per the specs. Can you see if this works for you?
from gin.
No follow up, closing.
from gin.
Related Issues (17)
- Data validation HOT 1
- change primary key field HOT 4
- Can't start new application HOT 2
- trash in project dir HOT 3
- A question about LUA_PACKAGE_PATH HOT 6
- Another question about Gin start(Symbol not found: _luaL_setfuncs) HOT 8
- Transform Test Cases to Use busted 2.0 HOT 6
- Question: API Test Coverage (gin.io + busted + luacov) HOT 3
- Update documentation on how to defined a model
- ORM by itself? HOT 2
- How to print normal log info in background? i mean besides error logs HOT 1
- Docker container for Gin HOT 6
- Code understanding: How postgresql connection is created?
- LuaRocks dependency HOT 1
- Can't start new application HOT 13
- middleware handlers HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gin.