I was having this same problem with the Load Module error and Jonathan is right. There is a second line of the LoadModule mod_mono portion of the httpd.conf file. What I did to fix mine was throw the original httpd.conf back into the directory and make sure there are not references to the mod_mono module. Then add the lines that the INSTALL file suggests.

MY PROBLEM:
I have mine running, but when I access an .aspx page through the browser, it returns the code instead of the way the page is supposed to look. I have had no luck correcting this problem.


Anyone know?

Thanks

Antonio


From: Jonathan Stowe <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: Mono mainling-list <[EMAIL PROTECTED]>
Subject: Re: [Mono-list] Problem with mod_mono1.01
Date: Thu, 19 Aug 2004 09:53:29 +0100

On Thu, 2004-08-19 at 09:43, [EMAIL PROTECTED] 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:
>
> ---------------
> [EMAIL PROTECTED] 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:
>
> [EMAIL PROTECTED] root]# chmod 666 /tmp/mod_mono_server
> [EMAIL PROTECTED] root]# chown .apache /tmp/mod_mono_server
> [EMAIL PROTECTED] root]# chmod g+w /tmp/mod_mono_server
> [EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to