You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pe...@gmx.net on 2006/07/14 09:08:32 UTC

[users@httpd] Server fails on start up with module

Hello,

I need mod_auth_mysql for my applictions. When I load the module
on start up httpd fails to start. I get no error message. 
Here is my system set up:

OS: SuSE ES 9
httpd: 2.0.49 

The apache server I use was pre-build by SuSE as were the lib's like
mod_auth_mysql.so. 

I also build a new version of mod_auth_mysql from the sources but still
I get the same error. 

Does anyone know what to do? With no debug info I have no clue what to do.

cheers,
Pete
 

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

---------------------------------------------------------------------
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


Re: [users@httpd] Server fails on start up with module

Posted by Ashutosh Mohanty <as...@gmail.com>.
when ever any module fails to load, it will give some error , look at all of
your logs file for this error, configuration seem to be fine to me,check
Dynamic shared object enable or not
----- Original Message ----- 
From: <Pe...@gmx.net>
To: <us...@httpd.apache.org>
Sent: Friday, July 14, 2006 12:38 PM
Subject: [users@httpd] Server fails on start up with module


> Hello,
>
> I need mod_auth_mysql for my applictions. When I load the module
> on start up httpd fails to start. I get no error message.
> Here is my system set up:
>
> OS: SuSE ES 9
> httpd: 2.0.49
>
> The apache server I use was pre-build by SuSE as were the lib's like
> mod_auth_mysql.so.
>
> I also build a new version of mod_auth_mysql from the sources but still
> I get the same error.
>
> Does anyone know what to do? With no debug info I have no clue what to do.
>
> cheers,
> Pete
>
>
> -- 
>
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>
> ---------------------------------------------------------------------
> 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


Re: Re: Re: Re: [users@httpd] Server fails on start up with module

Posted by Pe...@gmx.net.
Hello,

I just set up a parallel system which works. The only difference is: this system uses a MySQL DB4.0 which comes with the distribution instead of brand new rpms from MySQL. 

Now, I'm not much of a linux detective. How can I figure out what makes the difference in the working system with the MySQL 4.0 (pre-build by SuSE) from the other one?

cheers,
Pete


-------- Original-Nachricht --------
Datum: Fri, 14 Jul 2006 17:34:21 +0530 (IST)
Von: sivakumarb@accelfrontline.in
An: users@httpd.apache.org
Betreff: Re: Re: Re: [users@httpd] Server fails on start up with module

> You can try with LD_LIBRARY_PATH variable or ld.so.conf for adding the
> mysql client libraries into search path.
> 
> Siva
> 
> > Hi Joost,
> >
> > I switched back to the LoadModule statement which I orginally used.
> >
> > I don't have any experience with gdb or strace. Could you just briefly
> > tell me what I will have to do?
> >
> > If the mysql libraries are missing how can I put them in the search
> path?
> >
> > cheers,
> > Pete
> >
> >
> > -------- Original-Nachricht --------
> > Datum: Fri, 14 Jul 2006 13:17:03 +0200 (CEST)
> > Von: Joost de Heer <sa...@xs4all.nl>
> > An: Peter.Neu@gmx.net
> > Betreff: Re: Re: [users@httpd] Server fails on start up with module
> >
> >> Peter.Neu@gmx.net wrote:
> >> > DSO means that mod_so.c has to present on the system, right?
> >> > Well I can't find it. Does this mean it won't work? Or are there
> other
> >> > checks?
> >> >
> >> > The AddModule command gives me this error:
> >> >
> >> > ./apache2 start
> >> > Starting httpd2 (prefork) Syntax error on line 7 of
> >> > /etc/apache2/default-server.conf:
> >> > Invalid command 'AddModule', perhaps mis-spelled or defined by a
> >> module
> >> > not included in the server configuration
> >>
> >> AddModule is an 1.3 config command. In a previous post, I saw you used
> >> 2.0. For 2.0, the command is LoadModule.
> >>
> >> If the server still crashes, you could use gdb/strace to see what's
> >> going
> >> on. Could e.g. be that the mysql libraries aren't found, causing
> >> mod_auth_mysql to fail.
> >>
> >> 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
> >
> > --
> >
> >
> > Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> > "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
> >
> > ---------------------------------------------------------------------
> > 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

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
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


Re: Re: Re: [users@httpd] Server fails on start up with module

Posted by si...@accelfrontline.in.
You can try with LD_LIBRARY_PATH variable or ld.so.conf for adding the
mysql client libraries into search path.

Siva

> Hi Joost,
>
> I switched back to the LoadModule statement which I orginally used.
>
> I don't have any experience with gdb or strace. Could you just briefly
> tell me what I will have to do?
>
> If the mysql libraries are missing how can I put them in the search path?
>
> cheers,
> Pete
>
>
> -------- Original-Nachricht --------
> Datum: Fri, 14 Jul 2006 13:17:03 +0200 (CEST)
> Von: Joost de Heer <sa...@xs4all.nl>
> An: Peter.Neu@gmx.net
> Betreff: Re: Re: [users@httpd] Server fails on start up with module
>
>> Peter.Neu@gmx.net wrote:
>> > DSO means that mod_so.c has to present on the system, right?
>> > Well I can't find it. Does this mean it won't work? Or are there other
>> > checks?
>> >
>> > The AddModule command gives me this error:
>> >
>> > ./apache2 start
>> > Starting httpd2 (prefork) Syntax error on line 7 of
>> > /etc/apache2/default-server.conf:
>> > Invalid command 'AddModule', perhaps mis-spelled or defined by a
>> module
>> > not included in the server configuration
>>
>> AddModule is an 1.3 config command. In a previous post, I saw you used
>> 2.0. For 2.0, the command is LoadModule.
>>
>> If the server still crashes, you could use gdb/strace to see what's
>> going
>> on. Could e.g. be that the mysql libraries aren't found, causing
>> mod_auth_mysql to fail.
>>
>> 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
>
> --
>
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> 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


Re: Re: Re: [users@httpd] Server fails on start up with module

Posted by Pe...@gmx.net.
Hi Joost,

I switched back to the LoadModule statement which I orginally used.

I don't have any experience with gdb or strace. Could you just briefly tell me what I will have to do?

If the mysql libraries are missing how can I put them in the search path?

cheers,
Pete


-------- Original-Nachricht --------
Datum: Fri, 14 Jul 2006 13:17:03 +0200 (CEST)
Von: Joost de Heer <sa...@xs4all.nl>
An: Peter.Neu@gmx.net
Betreff: Re: Re: [users@httpd] Server fails on start up with module

> Peter.Neu@gmx.net wrote:
> > DSO means that mod_so.c has to present on the system, right?
> > Well I can't find it. Does this mean it won't work? Or are there other
> > checks?
> >
> > The AddModule command gives me this error:
> >
> > ./apache2 start
> > Starting httpd2 (prefork) Syntax error on line 7 of
> > /etc/apache2/default-server.conf:
> > Invalid command 'AddModule', perhaps mis-spelled or defined by a module
> > not included in the server configuration
> 
> AddModule is an 1.3 config command. In a previous post, I saw you used
> 2.0. For 2.0, the command is LoadModule.
> 
> If the server still crashes, you could use gdb/strace to see what's going
> on. Could e.g. be that the mysql libraries aren't found, causing
> mod_auth_mysql to fail.
> 
> 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

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
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


Re: Re: [users@httpd] Server fails on start up with module

Posted by Joost de Heer <sa...@xs4all.nl>.
Peter.Neu@gmx.net wrote:
> DSO means that mod_so.c has to present on the system, right?
> Well I can't find it. Does this mean it won't work? Or are there other
> checks?
>
> The AddModule command gives me this error:
>
> ./apache2 start
> Starting httpd2 (prefork) Syntax error on line 7 of
> /etc/apache2/default-server.conf:
> Invalid command 'AddModule', perhaps mis-spelled or defined by a module
> not included in the server configuration

AddModule is an 1.3 config command. In a previous post, I saw you used
2.0. For 2.0, the command is LoadModule.

If the server still crashes, you could use gdb/strace to see what's going
on. Could e.g. be that the mysql libraries aren't found, causing
mod_auth_mysql to fail.

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


Re: Re: Re: [users@httpd] Server fails on start up with module

Posted by Pe...@gmx.net.
He the output is this:

Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

So the mod_so.c is present. We can rule that out. Is there 
anything else I can check?

cheers,
Pete


-------- Original-Nachricht --------
Datum: Fri, 14 Jul 2006 13:27:40 +0530 (IST)
Von: sivakumarb@accelfrontline.in
An: users@httpd.apache.org
Betreff: Re: Re: [users@httpd] Server fails on start up with module

> Seems the apache build  missed --enable-module=so option when
> configured/compiled or you have no
> 
> AddModule mod_so.c
> 
> in your httpd.conf
> 
> If the Above line is not present try adding them in to your httpd.conf
> file.
> 
> Before doing it pls. cross check wethere DSO support has been configured
> with your webserver or not by issuing the below command
> 
> httpd -l
> 
> this will give list of loaded and available modules, check whether it
> lists mod_so.
> 
> Siva
> 
> > DSO means that mod_so.c has to present on the system, right?
> > Well I can't find it. Does this mean it won't work? Or are there other
> > checks?
> >
> > The AddModule command gives me this error:
> >
> > ./apache2 start
> > Starting httpd2 (prefork) Syntax error on line 7 of
> > /etc/apache2/default-server.conf:
> > Invalid command 'AddModule', perhaps mis-spelled or defined by a module
> > not included in the server configuration
> >
> > The command line was:
> > /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
> >                                              failed
> > --
> >
> >
> > Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> > "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
> >
> > ---------------------------------------------------------------------
> > 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

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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


Re: Re: [users@httpd] Server fails on start up with module

Posted by si...@accelfrontline.in.
Seems the apache build  missed --enable-module=so option when
configured/compiled or you have no

AddModule mod_so.c

in your httpd.conf

If the Above line is not present try adding them in to your httpd.conf file.

Before doing it pls. cross check wethere DSO support has been configured
with your webserver or not by issuing the below command

httpd -l

this will give list of loaded and available modules, check whether it
lists mod_so.

Siva

> DSO means that mod_so.c has to present on the system, right?
> Well I can't find it. Does this mean it won't work? Or are there other
> checks?
>
> The AddModule command gives me this error:
>
> ./apache2 start
> Starting httpd2 (prefork) Syntax error on line 7 of
> /etc/apache2/default-server.conf:
> Invalid command 'AddModule', perhaps mis-spelled or defined by a module
> not included in the server configuration
>
> The command line was:
> /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
>                                              failed
> --
>
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*!
> "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] Virtual host Problem

Posted by Ashutosh Mohanty <as...@gmail.com>.
Hi siva,

giving a dot didn't work for me., I have already tried it ,but thanks

----- Original Message ----- 
From: <si...@accelfrontline.in>
To: <us...@httpd.apache.org>
Sent: Friday, July 14, 2006 5:28 PM
Subject: Re: [users@httpd] Virtual host Problem


> I assume you are on the same network of 192.168.x.x Have you tried adding
> (.) dot in the end of  192.168 on Allow Directive. Like below:
>
> Allow from 192.168. 127.0.0.1
>
> Siva
>
> > Hi,
> >  the following is my virtual host setting for our companies internal
> > webserver,is their anything worng,because in web browser when ever i try
> > to
> > access  it s saying "you have no permmision to access this on port 80"
> >
> >
> >
> > <VirtualHost *>
> >     ServerAdmin ashutosh@mydomain.com
> >     DocumentRoot /home/ashutosh/html
> >     ServerName abc.mydomain.com
> >     ServerAlias abc
> >     ErrorLog /home/ashutosh/logs/error_log
> >     CustomLog /home/ashutosh/logs/access_log common
> >
> > <Directory "/home/ashutosh//html">
> >         Options Indexes FollowSymLinks
> >         AllowOverride None
> >         Order allow,deny
> >         Allow from 192.168 127.0.0.1
> >     </Directory>
> >  <IfModule mod_mime.c>
> >             AddType text/html .html .htm
> >             AddType application/x-httpd-php .html .htm .php4 .php
> >     </IfModule>
> > </VirtualHost>
> >
> > Is there any suggestion anybody want to give ? thanks
> >
> > Ashutosh
> >
> >
> > ---------------------------------------------------------------------
> > 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Virtual host Problem

Posted by si...@accelfrontline.in.
I assume you are on the same network of 192.168.x.x Have you tried adding
(.) dot in the end of  192.168 on Allow Directive. Like below:

Allow from 192.168. 127.0.0.1

Siva

> Hi,
>  the following is my virtual host setting for our companies internal
> webserver,is their anything worng,because in web browser when ever i try
> to
> access  it s saying "you have no permmision to access this on port 80"
>
>
>
> <VirtualHost *>
>     ServerAdmin ashutosh@mydomain.com
>     DocumentRoot /home/ashutosh/html
>     ServerName abc.mydomain.com
>     ServerAlias abc
>     ErrorLog /home/ashutosh/logs/error_log
>     CustomLog /home/ashutosh/logs/access_log common
>
> <Directory "/home/ashutosh//html">
>         Options Indexes FollowSymLinks
>         AllowOverride None
>         Order allow,deny
>         Allow from 192.168 127.0.0.1
>     </Directory>
>  <IfModule mod_mime.c>
>             AddType text/html .html .htm
>             AddType application/x-httpd-php .html .htm .php4 .php
>     </IfModule>
> </VirtualHost>
>
> Is there any suggestion anybody want to give ? thanks
>
> Ashutosh
>
>
> ---------------------------------------------------------------------
> 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


[users@httpd] Virtual host Problem

Posted by Ashutosh Mohanty <as...@gmail.com>.
Hi,
 the following is my virtual host setting for our companies internal
webserver,is their anything worng,because in web browser when ever i try to
access  it s saying "you have no permmision to access this on port 80"



<VirtualHost *>
    ServerAdmin ashutosh@mydomain.com
    DocumentRoot /home/ashutosh/html
    ServerName abc.mydomain.com
    ServerAlias abc
    ErrorLog /home/ashutosh/logs/error_log
    CustomLog /home/ashutosh/logs/access_log common

<Directory "/home/ashutosh//html">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from 192.168 127.0.0.1
    </Directory>
 <IfModule mod_mime.c>
            AddType text/html .html .htm
            AddType application/x-httpd-php .html .htm .php4 .php
    </IfModule>
</VirtualHost>

Is there any suggestion anybody want to give ? thanks

Ashutosh


---------------------------------------------------------------------
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


Re: Re: [users@httpd] Server fails on start up with module

Posted by Pe...@gmx.net.
DSO means that mod_so.c has to present on the system, right?
Well I can't find it. Does this mean it won't work? Or are there other
checks?

The AddModule command gives me this error:

./apache2 start
Starting httpd2 (prefork) Syntax error on line 7 of /etc/apache2/default-server.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf                                                                     failed
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
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


Re: [users@httpd] Server fails on start up with module

Posted by si...@accelfrontline.in.
Check wethere you webserver build with DSO enabled.  Most probably this
could be an issue. Else look at the httpd.conf file for

LoadModule mysql_auth_module <module directory>/mod_auth_mysql.so

AddModule mod_auth_mysql.c

and restart to see whethere it works.

Siva

> Hello,
>
> I need mod_auth_mysql for my applictions. When I load the module
> on start up httpd fails to start. I get no error message.
> Here is my system set up:
>
> OS: SuSE ES 9
> httpd: 2.0.49
>
> The apache server I use was pre-build by SuSE as were the lib's like
> mod_auth_mysql.so.
>
> I also build a new version of mod_auth_mysql from the sources but still
> I get the same error.
>
> Does anyone know what to do? With no debug info I have no clue what to do.
>
> cheers,
> Pete
>
>
> --
>
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>
> ---------------------------------------------------------------------
> 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