You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hemant Chaudhary <he...@gmail.com> on 2017/01/17 09:15:57 UTC
[users@httpd] I have .so file in modules but getting syntax error
Hi
I have .so file of modules but when I am starting server with "./httpd", I
am getting error syntax error. I am porting apache-2.4.23
httpd: Syntax error on line 66 of /home/hemant/apache/conf/httpd.conf:
Cannot load modules/mod_so.so into server: dlopen
(6CA053F0->/home/hemant/apache/modules/mo
d_so.so, 5): FileSystem Error\n 4013 on File
/home/hemant/apache/temp10/mod_so.s
o
Thanks
Hemant
Re: [users@httpd] I have .so file in modules but getting syntax error
Posted by Hemant Chaudhary <he...@gmail.com>.
Solved the 4013 error its because of permission. But getting error in
linking
httpd: Syntax error on line 67 of /home/hemant/apache/conf/httpd.conf:
Cannot load modules/mod_authn_file.so into server: dlopen
(6CA053F0->/home/hemant/apache/modules/mod_authn_file.so, 5): DLL File\n
Format Error: File /home/hemant/apache/modules/mod_authn_file.so not linked
as\n loadable
how to link as loadable ?
Thanks
Hemant
On Tue, Jan 17, 2017 at 11:19 PM, Eric Covener <co...@gmail.com> wrote:
> On Tue, Jan 17, 2017 at 12:35 PM, Hemant Chaudhary
> <he...@gmail.com> wrote:
> > httpd: Syntax error on line 67 of /home/hemant/apache/conf/httpd.conf:
> > Cannot load modules/mod_authn_file.so into server: dlopen
> > (6CA053F0->/home/hemant/apache/modules/mod_authn_file.so, 5):
> FileSystem\n
> > Error 4013 on File /home/hemant/apache/modules/mod_authn_file.so
>
>
> Does that file exist? Can you tell what error 4013 is on your platform?
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] I have .so file in modules but getting syntax error
Posted by Eric Covener <co...@gmail.com>.
On Tue, Jan 17, 2017 at 12:35 PM, Hemant Chaudhary
<he...@gmail.com> wrote:
> httpd: Syntax error on line 67 of /home/hemant/apache/conf/httpd.conf:
> Cannot load modules/mod_authn_file.so into server: dlopen
> (6CA053F0->/home/hemant/apache/modules/mod_authn_file.so, 5): FileSystem\n
> Error 4013 on File /home/hemant/apache/modules/mod_authn_file.so
Does that file exist? Can you tell what error 4013 is on your platform?
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] I have .so file in modules but getting syntax error
Posted by Hemant Chaudhary <he...@gmail.com>.
Hi
I removed mos_so.so from conf file. Now I have .so for mod_authn_file in
modules but geeting the same error while starting the server.
httpd: Syntax error on line 67 of /home/hemant/apache/conf/httpd.conf:
Cannot load modules/mod_authn_file.so into server: dlopen
(6CA053F0->/home/hemant/apache/modules/mod_authn_file.so, 5): FileSystem\n
Error 4013 on File /home/hemant/apache/modules/mod_authn_file.so
I have commented all other LoadModules, only having "LoadModule
authn_file_module modules/mod_authn_file.s" in conf file.
Please help.
Thanks
Hemant
On Tue, Jan 17, 2017 at 6:03 PM, Eric Covener <co...@gmail.com> wrote:
> On Tue, Jan 17, 2017 at 4:15 AM, Hemant Chaudhary
> <he...@gmail.com> wrote:
> > httpd: Syntax error on line 66 of /home/hemant/apache/conf/httpd.conf:
> > Cannot load modules/mod_so.so into server: dlopen
> > (6CA053F0->/home/hemant/apache/modules/mo
> > d_so.so, 5): FileSystem Error\n 4013 on File
> > /home/hemant/apache/temp10/mod_so.s
>
> I don't think mod_so is useful as a non-static module. It's what lets
> you load other modules dynamically.
>
> Dunno how you got a LoadModule for it, looks like you want to remove
> the LoadModule and confirm it's static.
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] I have .so file in modules but getting syntax error
Posted by Eric Covener <co...@gmail.com>.
On Tue, Jan 17, 2017 at 4:15 AM, Hemant Chaudhary
<he...@gmail.com> wrote:
> httpd: Syntax error on line 66 of /home/hemant/apache/conf/httpd.conf:
> Cannot load modules/mod_so.so into server: dlopen
> (6CA053F0->/home/hemant/apache/modules/mo
> d_so.so, 5): FileSystem Error\n 4013 on File
> /home/hemant/apache/temp10/mod_so.s
I don't think mod_so is useful as a non-static module. It's what lets
you load other modules dynamically.
Dunno how you got a LoadModule for it, looks like you want to remove
the LoadModule and confirm it's static.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org