大网数据广告活动
网站运营与故障问答

MediaWiki Error: Lua error: Internal error: The interpreter has terminated with signal "11"

· 52CE 我爱测

I have a MediaWiki deployement at: http://wiki.tankpedia.org/ I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is: Lua error: Internal error: The interpreter has term…

问题原文

原帖链接 · Gedalya · CC BY-SA 3.0

I have a MediaWiki deployement at:

http://wiki.tankpedia.org/

I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is:

Lua error: Internal error: The interpreter has terminated with signal "11".

The error can be seen here (you have to click on one of the 'Script Error' messages): http://wiki.tankpedia.org/index.php?title=M2_Light_Tank

The Scribunto deployment this is dependent on is chmod to 755.

The following error also appears on the same page:

Expression error: Unrecognized punctuation character "["

Research online suggests this relates to the ParserFunctions extension however it is installed; I even added the following extra line in my config file and it did not help:

$wgPFEnableStringFunctions = true;

I reinstalled ParserFunctions Version 1.5.1 as well as trying Version 1.4.1; the reinstall of the first and trying the second both failed to resolve this issue. I also tried chmod the ParserFunctions deployment to 755 to see if there was a permissions issue; it did not help.

已采纳解答

原帖链接 · Mastergalen · CC BY-SA 3.0

I had the exact same issue. Signal 11" would tend to indicate that the standalone Lua interpreter that is shipped with the extension has crashed.

Instead, run the Lua interpreter that should already be pre-installed on your server. For some reason the Lua binaries packaged in the extension do not seem to work.

Run the lua command via SSH. Check that your server is running version 5.1.x. Note that for Scribunto the version has to be 5.1.x.

Lua's default installation path is in /usr/bin/lua.

Then in your LocalSettings.php set:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';

to fix the issue.


If running the Lua command shows it as undefined, then you could try installing it with yum install lua, though I am not sure if the version would still be 5.1.x

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2013-07-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。