Comments (7)
there is no lua related log message.
have you built mod_lua module? it uses luajit 2.0.
from openlitespeed.
I uses luajit 2.0.5 as lib.
PATH: /usr/local/lib/luajit.so
I check the conf file, found that when added module mod_lua
line to conf file is faulty.
Failed to RCS checkin conf file /usr/local/lsws/conf/httpd_config.conf0, ret 32512, error(Invalid argument)
from openlitespeed.
Did you mean the RCS errors?
If yes, it is not a problem since it just make a backup of your current conf file and these errors are no hurt to the server.
About RCS, please review https://www.gnu.org/software/rcs/
Thanks.
David
from openlitespeed.
Osx, just install RCS with homebrew. That will take care of that error. Not related to 'lua' though
http://macappstore.org/rcs/
on centos just yum install rcs
from openlitespeed.
@litespeedtech @miky4u2
I will try it! thanks very much! ๐
from openlitespeed.
there is a bug in lua module initialization, please try the following patch:
diff --git a/src/modules/lua/edluastream.cpp b/src/modules/lua/edluastream.cpp
index 8d899939c..3eb42d91c 100644
--- a/src/modules/lua/edluastream.cpp
+++ b/src/modules/lua/edluastream.cpp
@@ -818,11 +818,19 @@ static const luaL_Reg sockMetaSub[] =
void LsLuaCreateTcpsockmeta(lua_State *L)
{
LsLuaApi::openlib(L, LS_LUA ".socket", sockSub, 0);
- LsLuaApi::pushlstring(L, "__metatable", 11);
LsLuaApi::newmetatable(L, LSLUA_TCPSOCKDATA);
- LsLuaApi::pushlstring(L, "__index", 7);
LsLuaApi::openlib(L, NULL, sockMetaSub, 0);
+
+ LsLuaApi::pushlstring(L, "__index", 7);
+ LsLuaApi::pushvalue(L, -3);
LsLuaApi::rawset(L, -3);
+
+ LsLuaApi::pushlstring(L, "__metatable", 11);
+ LsLuaApi::pushvalue(L, -3);
LsLuaApi::rawset(L, -3);
+
+ LsLuaApi::settop(L, -3); // pop 2
+
+
}
from openlitespeed.
@litespeedtech
Thanks for your support. I install mod_lua successful!
LUA: JIT ENGINE READY
But when I Reload OLS service then Example Virtualhost receive an empty response.
This page isnโt working
42.112.16.145 didnโt send any data.
ERR_EMPTY_RESPONSE
from openlitespeed.
Related Issues (20)
- No request delivery notification has been received from LSAPI application, possible dead lock. HOT 6
- [General Question] armv7 build HOT 1
- liblsapi source code HOT 2
- OLS Won't Build From Source Since 2 Weeks Ago...Build Libraries Changed? HOT 12
- No request delivery notification has been received from LSAPI application, possible dead lock HOT 1
- Arch Linux pre-built binary HOT 1
- Status 400: Invalid charactor in header name: 'X-ForProto -Proto' HOT 9
- No request delivery notification has been received from LSAPI application, possible dead lock. HOT 12
- Compiling on macos reports errors HOT 4
- percona the infamous one HOT 1
- Please get packages included in all mainstram OS distros.
- FreeBSD support? HOT 1
- cannot run an ESM app HOT 6
- Documentation: Lack of ESI Support Causes issues with WordPress Nonces HOT 2
- v.1.7.19 dowload bug and some errors HOT 6
- Don't support this system? CentOS Stream 8๏ผ HOT 3
- QUIC library is ignoring error log settings HOT 3
- Segmentation fault HOT 2
- OLS, Mediawiki, and LiteSpeedCache HOT 1
- FreeBSD: Compilation warnings again with 1.8.0 HOT 2
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 openlitespeed.