[Mono-list] Re: Installing mod_mono on redhat

Erik Dasque edasque@ximian.com
Thu, 15 Jul 2004 14:52:44 -0400


Humm,

that's strange. Were you able to run the samples file on XSP (no 
Apache, no mod_mono) ?

Erik

On Jul 15, 2004, at 2:45 PM, humfrevil@adelphia.net wrote:

> Erik,
>
> First of all, thanks for the help.
>
> Ok, this morning I installed the Mono Runtime, and XSF Web Server
> successfully.
>
> I also installed mono again, and I am still getting the same error, 
> which
> is:
>
> root@server1 [/usr/local/apache/conf]# service httpd configtest
> Syntax error on line 219 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/lib/httpd/modules/libmod_mono.so into server:
> /usr/lib/httpd/modules/libmod_mono.so: undefined symbol: 
> ap_hook_post_config
>
> As for the location of libmod_mono.so, you can see the results here:
>
> root@server1 [/home/draven/mod_mono-1.0]# apxs -q LIBEXECDIR
> /usr/lib/httpd/modules
>
> So it would appear as if though line 219 in httpd.conf is pointing to 
> the
> right path\file.
>
> Thanks a bunch,
> Kevin
>
>
>
>
>
> Original Message:
> -----------------
> From: Erik Dasque edasque@ximian.com
> Date: Thu, 15 Jul 2004 10:14:38 -0400
> To: monobeta@ximian.com, humfrevil@adelphia.net
> Subject: Re: Installing mod_mono on redhat
>
>
> Kevin,
>
> you will need to install the mono runtime as well as XSP, I am afraid.
> What was the installation difficulty you experienced ? The mono runtime
> is needed for all things mono. The XSP runtime is the ASP.NET engine
> itself, mod_mono being just a bridge to XSP for Apache.
>
> As for the httpd restart issue you experienced, that line is very much
> necessary. Please locate your libmod_mono.so (you can use the locate
> command if you have it or apxs -q LIBEXECDIR or apxs2 -q LIBEXECDIR)
> and adjust the path.
>
> Erik
>
> On Jul 15, 2004, at 12:57 AM, humfrevil@adelphia.net wrote:
>
>> Hi, I'm trying to install mod_mono on my redhad webserver, and it is
>> proving to be quite difficult.
>>
>> The server is remote, which does not have a graphical interface
>> installed
>> on it, and I am connected to it via ssh, though I have full access to
>> it
>> via ftp and http.
>>
>> What I am trying to do, specifically, is to have .aspx pages which are
>> on
>> the server, display correctly.  I don't need a compiler or any other
>> bells
>> and whistles.
>>
>> For this setup, are the mono runtime and XSF packages required?  How
>> about
>> GLib2.0 and pkg_config? Are there any other files that are required
>> that
>> I'm not mentioning?
>>
>> As of right now, downloaded "mod_mono-1.0.tar" and decompressed, and
>> installed it.  After doing this, I try and "service httpd restart" and
>> I
>> get an error on line 219: LoadModule   mono_module
>> /usr/lib/httpd/modules/libmod_mono.so
>>
>> When I comment this line out, httpd.conf works fine and the service
>> restarts normally again.
>>
>> After seeing that this was causing an error, I tried installing both
>> the
>> XSP web server and the mono runtime, and wasn't successfull with
>> either of
>> them as well.
>>
>> If I don't need to install the XSP Web Server or the Mono RunTime to
>> accomplish my goal, then I'd rather not.
>>
>> Any help you have to offer me is greatly appreciated.
>> Thanks a bunch,
>> Kevin Humfreville
>> humfrevil@adelphia.net
>>
>> --------------------------------------------------------------------
>> mail2web - Check your email from the web at
>> http://mail2web.com/ .
>>
>>
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>