mod_mono apache 1.3 and mojoportal

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/25/2007 1:16:38 PM
Gravatar
Total Posts 3

mod_mono apache 1.3 and mojoportal

Hello! I am using apache 1.3 with mod_mono, mono and xsp compiled from source. I have the mod-mono-server2 binary. I am currently going cracy because i cannot find out whats wrong with my configuration. Let me first give you my httpd.conf: Include /etc/apache/modules.conf Include /etc/apache/mod_mono.conf ServerName X.X.X.X MonoServerPath /usr/local/bin/mod-mono-server2 ServerRoot /var/www/web <Directory /var/www/web> SetHandler mono DirectoryIndex Default.aspx when i start apache everything seems to work, according to ps -ax: 0:00 /usr/sbin/apache 0:00 /usr/local/bin/mono /usr/local/lib/mono/2.0/mod-mono-server2.exe --filename /tmp/mod_mono_server_global --nonstop --master etc. so my mojoportal deploymet (postgresql releasefiles ) is under /var/www/web If i try to access the Default.aspx the browser hangs for 5-10 seconds and after that mod-mono-server2 dissapears! ps -ax during access to the website shows something like: /usr/local/bin/mono /usr/local/lib/mono/2.0/gmcs.exe /target:library /debug- /optimize+ /warnaserror /warn:0 /out:/tmp/nobody-temp-aspnet-0/f16228......... and then i suppose mod-mono-server2 crashes. the website now shows "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request." I know this is more a mod_mono related question than mojoportal, but maybe one of you guys can give me a hint???? other asp.net sites have already worked on my server! Thx! Pr34dy
5/25/2007 1:42:00 PM
Gravatar
Total Posts 18439

Re: mod_mono apache 1.3 and mojoportal

Hi,

I think you would have better luck with apache2.

Joe

5/26/2007 3:03:42 PM
Gravatar
Total Posts 3

Re: mod_mono apache 1.3 and mojoportal

Ok now i set up a whole new system and installed it with apache2. Now if i try to connect to the page it still says internal server error. but apache2 error.log gives me this: ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section () (/var/www/mojoportal/web/Web.config line 402) at line 402 in Web.config theres this: webParts>
5/26/2007 3:04:54 PM
Gravatar
Total Posts 3

Re: mod_mono apache 1.3 and mojoportal

sorry for the invalid contents of the posts. i dont know how to post code in a forum :-/
5/26/2007 3:31:39 PM
Gravatar
Total Posts 18439

Re: mod_mono apache 1.3 and mojoportal

In the newest mono from svn this no longer causes an error but for the version you have, you will need to comment out or remove the webparts section in web.config

WebParts is not yet implemented in mono, but in the newest version it at least doesn't cause an error to have this in web.config

Hope it helps,

Joe

ps use the paste as text toolbar item to paste code, its the clipboard icon with a T on it in the toolbar

You must sign in to post in the forums. This thread is closed to new posts.