[Mono-list] Problem with mod_mono1.01

Antonio Santana antjensavwork@hotmail.com
Thu, 19 Aug 2004 12:35:24 -0500


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 <jns@gellyfish.com>
>To: beniniva@csr.unibo.it
>CC: Mono mainling-list <mono-list@lists.ximian.com>
>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, 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
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list