|
|
|
|
|
|
| Author |
Message |
Mauro *nix forums beginner
Joined: 12 Dec 2003
Posts: 13
|
Posted: Thu Jul 20, 2006 8:12 am Post subject:
problem loading DSO modules
|
|
|
Hi all,
I'v configuread apache with these configure options:
# cat /home/mgatt/configure_options/httpd_configure_options.txt
../configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique-id \
--enable-usertrack --enable-mime-magic --enable-charset-lite \
--enable-mods-shared=most
Then I tried to load some module in httpd.conf:
....
LoadModule mod_env modules/mod_env.so
LoadModule mod_mime modules/mod_mime.so
LoadModule mod_unique_id modules/mod_unique_id.so
LoadModule mod_cgi modules/mod_cgi.so
LoadModule mod_charset_lite modules/mod_charset_lite.so
....
but I got this error running web server:
httpd: Syntax error on line 54 of /data/programs/httpd-2.2.2/conf/httpd.conf: Can't locate API module structure `mod_env' in file /data/programs/apache2/modules/mod_env.so: /data/programs/apache2/modules/mod_env.so: undefined symbol: mod_env
where:
# ls -la /data/programs/apache2/modules/mod_env.so
-rwxr-xr-x 1 root root 23491 Jul 20 09:23 /data/programs/apache2/modules/mod_env.so
Could you help me to understand why apache doesn't load shared modules?
Thank You
Regards
Mauro |
|
| Back to top |
|
 |
Alexander Lazic *nix forums addict
Joined: 31 May 2005
Posts: 58
|
Posted: Thu Jul 20, 2006 8:16 am Post subject:
Re: problem loading DSO modules
|
|
|
Hi,
On Don 20.07.2006 10:12, Mauro wrote:
| Quote: |
I'v configuread apache with these configure options:
|
On which OS?
| Quote: | # cat /home/mgatt/configure_options/httpd_configure_options.txt
./configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique-id \
Then I tried to load some module in httpd.conf:
...
LoadModule mod_env modules/mod_env.so
LoadModule mod_mime modules/mod_mime.so
LoadModule mod_unique_id modules/mod_unique_id.so
LoadModule mod_cgi modules/mod_cgi.so
LoadModule mod_charset_lite modules/mod_charset_lite.so
...
|
How many modules do you try to load?
Regards
Alex
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Mauro *nix forums beginner
Joined: 12 Dec 2003
Posts: 13
|
Posted: Thu Jul 20, 2006 8:27 am Post subject:
Re: problem loading DSO modules
|
|
|
My OS is RH Enterprise 4
obviusly mod_so is staticall loaded:
# ../bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
I'm loading only modules you are reading
enven checkconf got me same error.
Thank You
----- Original Message -----
From: "Alexander Lazic" <al-httpdusers@none.at>
To: <users@httpd.apache.org>
Sent: Thursday, July 20, 2006 10:16 AM
Subject: Re: [users@httpd] problem loading DSO modules
| Quote: | Hi,
On Don 20.07.2006 10:12, Mauro wrote:
I'v configuread apache with these configure options:
On which OS?
# cat /home/mgatt/configure_options/httpd_configure_options.txt
./configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique
-id \
Then I tried to load some module in httpd.conf:
...
LoadModule mod_env modules/mod_env.so
LoadModule mod_mime modules/mod_mime.so
LoadModule mod_unique_id modules/mod_unique_id.so
LoadModule mod_cgi modules/mod_cgi.so
LoadModule mod_charset_lite modules/mod_charset_lite.so
...
How many modules do you try to load?
Regards
Alex
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Ashutosh Mohanty *nix forums beginner
Joined: 12 Jul 2006
Posts: 22
|
Posted: Thu Jul 20, 2006 8:43 am Post subject:
Re: problem loading DSO modules
|
|
|
Are you sure about the directory and path for the modules??
is it /data/programs/apache2/modules/mod_env.so ?
or
this is
/data/programs/httpd-2.2.2/modules/mod_env.so ?
or you started different httpd daemon ?
Ashutosh
SynaptiCAD Inc.
----- Original Message -----
From: Mauro
To: users@httpd.apache.org
Sent: Thursday, July 20, 2006 1:57 PM
Subject: Re: [users@httpd] problem loading DSO modules
My OS is RH Enterprise 4
obviusly mod_so is staticall loaded:
# ../bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
I'm loading only modules you are reading
enven checkconf got me same error.
Thank You
----- Original Message -----
From: "Alexander Lazic" <al-httpdusers@none.at>
To: <users@httpd.apache.org>
Sent: Thursday, July 20, 2006 10:16 AM
Subject: Re: [users@httpd] problem loading DSO modules
| Quote: | Hi,
On Don 20.07.2006 10:12, Mauro wrote:
I'v configuread apache with these configure options:
On which OS?
# cat /home/mgatt/configure_options/httpd_configure_options.txt
./configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique
-id \
Then I tried to load some module in httpd.conf:
...
LoadModule mod_env modules/mod_env.so
LoadModule mod_mime modules/mod_mime.so
LoadModule mod_unique_id modules/mod_unique_id.so
LoadModule mod_cgi modules/mod_cgi.so
LoadModule mod_charset_lite modules/mod_charset_lite.so
...
How many modules do you try to load?
Regards
Alex
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Mauro *nix forums beginner
Joined: 12 Dec 2003
Posts: 13
|
Posted: Thu Jul 20, 2006 8:45 am Post subject:
Re: problem loading DSO modules
|
|
|
apache2 is a link to http-2.2.2
I found the solution!
I have to write:
LoadModule env_module modules/mod_env.so
^^^^^^^^^^^^^^^
and not
LoadModule mod_env modules/mod_env.so
^^^^^^^^^^^
Thank you for your support
RGDS
Mauro
----- Original Message -----
From: Ashutosh Mohanty
To: users@httpd.apache.org
Sent: Thursday, July 20, 2006 10:38 AM
Subject: Re: [users@httpd] problem loading DSO modules
Are you sure about the directory and path for the modules??
is it /data/programs/apache2/modules/mod_env.so ?
or
this is
/data/programs/httpd-2.2.2/modules/mod_env.so ?
or you started different httpd daemon ?
Ashutosh
SynaptiCAD Inc.
----- Original Message -----
From: Mauro
To: users@httpd.apache.org
Sent: Thursday, July 20, 2006 1:57 PM
Subject: Re: [users@httpd] problem loading DSO modules
My OS is RH Enterprise 4
obviusly mod_so is staticall loaded:
# ../bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
I'm loading only modules you are reading
enven checkconf got me same error.
Thank You
----- Original Message -----
From: "Alexander Lazic" <al-httpdusers@none.at>
To: <users@httpd.apache.org>
Sent: Thursday, July 20, 2006 10:16 AM
Subject: Re: [users@httpd] problem loading DSO modules
| Quote: | Hi,
On Don 20.07.2006 10:12, Mauro wrote:
I'v configuread apache with these configure options:
On which OS?
# cat /home/mgatt/configure_options/httpd_configure_options.txt
./configure --prefix=/data/programs/httpd-2.2.2 --enable-so --enable-unique
-id \
Then I tried to load some module in httpd.conf:
...
LoadModule mod_env modules/mod_env.so
LoadModule mod_mime modules/mod_mime.so
LoadModule mod_unique_id modules/mod_unique_id.so
LoadModule mod_cgi modules/mod_cgi.so
LoadModule mod_charset_lite modules/mod_charset_lite.so
...
How many modules do you try to load?
Regards
Alex
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Joost de Heer *nix forums Guru
Joined: 30 Mar 2005
Posts: 339
|
Posted: Thu Jul 20, 2006 12:24 pm Post subject:
Re: problem loading DSO modules
|
|
|
| Quote: | Could you help me to understand why apache doesn't load shared modules?
|
You compiled httpd-2.2, but are trying to load modules compiled for
httpd-2.0. This won't work.
Educated guess: You have the ServerRoot in your httpd.conf wrong, causing
the LoadModule lines to look in the wrong directory for modules. Either
fix your ServerRoot, or use the full path for module loading.
Joost
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Mon Dec 01, 2008 7:51 pm | All times are GMT
|
|
Car Loans | Remortgaging | Cheap Plane Tickets | Ethical hacking tool kit | Loan
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|