You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by djKooks <gi...@git.apache.org> on 2016/09/28 05:14:39 UTC

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

GitHub user djKooks opened an issue:

    https://github.com/apache/incubator-ponymail/issues/155

    Invalid command 'LuaScope'

    On setup Ponymail on my laptop(Mac OS X 10.10), I have some issue.
    ```
    AH00526: Syntax error on line 102 of /private/etc/apache2/extra/httpd-vhosts.conf:
    Invalid command 'LuaScope', perhaps misspelled or defined by a module not included in the server configuration
    ```
    I refer the settings on configs/ponymail_httpd.conf file for setup vhost.
    Is there something need to setup more on Mac? Because I only find setups for Linux on guide.
    
    Thanks.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

Posted by djKooks <gi...@git.apache.org>.
Github user djKooks commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/155
  
    @sebbASF Thanks for help! It worked~


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

Posted by djKooks <gi...@git.apache.org>.
Github user djKooks closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/155


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/155
  
    I suspect this is due to trying to use Lua 5.3.
    Apache mod_lua only supports 5.2.x; see #148 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

Posted by djKooks <gi...@git.apache.org>.
Github user djKooks commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/155
  
    @Humbedooh Sorry to bother, but I'm keep stuck while installing. I setup Lua and vhost setup, but still have issue like this when I run `sudo apachectl -k restart`.
    
    ```
    httpd: Syntax error on line 171 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_lua.so into server: dlopen(/usr/libexec/apache2/mod_lua.so, 10): Symbol not found: _luaL_addlstring\n  Referenced from: /usr/libexec/apache2/mod_lua.so\n  Expected in: flat namespace\n in /usr/libexec/apache2/mod_lua.so
    ```
    
    Do you know something about this?
    Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #155: Invalid command 'LuaScope'

Posted by Humbedooh <gi...@git.apache.org>.
Github user Humbedooh commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/155
  
    Yes, mod_lua needs to be loaded for this to work. See http://modlua.org/gs/installing - the module should be there already (unless you built from source), as it's a standard core module, so you should only need to add the LoadModule directive to your configuration.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---