[Mono-list] Problem with mod_mono1.01
Jonathan Stowe
jns@gellyfish.com
Thu, 19 Aug 2004 09:53:29 +0100
On Thu, 2004-08-19 at 09:43, beniniva@csr.unibo.it wrote:
> Hi,
> I've installed packages of the 1.01 version for fedora core 2 and the Apache
> Mono module mod_mono-1.0.1.tar.gz...it seems with non problem:
>
> ---------------
> [root@or2 root]# mono /usr/bin/mod-mono-server.exe --root
> /usr/share/doc/xsp/test/ --applications /mono:/usr/share/doc/xsp/test/
> --nonstop
> mod-mono-server
> Adding applications '/mono:/usr/share/doc/xsp/test/'...
> Registering application:
> Host: any
> Port: any
> Virtual path: /mono/
> Physical path: /usr/share/doc/xsp/test
> Listening on: /tmp/mod_mono_server
> Root directory: /usr/share/doc/xsp/test
> ---------------
>
>
> Then I have configured the httpd.config file as explained in the install file of
> mod_mono but when I start Apache with command "apchectl start" I get this
> error:
>
> [root@or2 root]# chmod 666 /tmp/mod_mono_server
> [root@or2 root]# chown .apache /tmp/mod_mono_server
> [root@or2 root]# chmod g+w /tmp/mod_mono_server
> [root@or2 root]# apachectl start
> [Thu Aug 19 10:27:15 2004] [warn] module mono_module is already loaded,
> skipping
> [Thu Aug 19 10:27:15 2004] [warn] module mono_module is already loaded,
> skipping
> Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf:
> Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.
> 10: cannot open shared object file: No such file or directory
> ---------------
>
> This is the line 6 of /etc/httpd/conf.d/auth_mysql.conf:
>
> 1-#
> 2-# mod_auth_mysql can be used to limit access to documents by checking
> 3-# data in a MySQL database.
> 4-#
> 5-
> 6-LoadModule mysql_auth_module modules/mod_auth_mysql.so
> 7-
> -------------
>
>
> Why this error?
> With mod_mono 1.0 I had no problems.
>
Er, this is completely unrelated to mod_mono or mono in general - it
appears that part of your mysqlclient library is missing. The warnings
you are getting about mod_mono being already loaded is probably because
the .conf file has two or more LoadModule lines for the mod_mono but
this does not explain the mysql problem.
/J\
> What could I do to solve this?
>
>
> Thanks,
>
> Valentina.
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list