[Mono-list] Apache 2.2 / mod_mono / SuSE 10.1 results in a 500 error.

2006-07-25 Thread Bo Rosenquist
Hi, first time poster.
(Linux newbie, long time IIS/Asp.Net user) 

I am trying to run mod_mono 1.1.16 and Apache 2.2 on a Suse 10.1 box,
but with no luck.


The browser, just asking for an aspx page, reports a 500 error:

"The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an error in a
CGI script."



LogLevel of Apache is set to debug, but doesn't result in much info in
the error_log:

[Tue Jul 25 11:24:26 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured
-- resuming normal operations
[Tue Jul 25 11:24:26 2006] [info] Server built: May  2 2006 08:47:14
[Tue Jul 25 11:24:26 2006] [debug] prefork.c(991): AcceptMutex: sysvsem
(default: sysvsem)
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.



An entry (demo.conf) in /etc/apache/vhosts.d points out the test
application:

Alias /demo "/usr/lib/xsp/test"
AddMonoApplications demo "/demo:/usr/lib/xsp/test"

SetHandler mono
Allow from all



I have tried the package of mod_mono from
http://www.go-mono.com/download-latest/suse-101-i586/ and also compiled
from source from svn.


Any pointers on how to find out what is going wrong are appreciated.

Thanks.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Apache 2.2 / mod_mono / SuSE 10.1 results in a 500 error.

2006-07-25 Thread Bo Rosenquist
Some more info:

Recompiled mod_mono with via ./configure --enable-debug ...

Now, in the error_log I got: 
Another mod-mono-server with the same arguments is already running.
[Tue Jul 25 15:29:28 2006] [warn] handler: mono
[Tue Jul 25 15:29:28 2006] [warn] config = -2146737504
[Tue Jul 25 15:29:28 2006] [warn] dir_config = -2146737280
[Tue Jul 25 15:29:28 2006] [warn] idx = -1
[Tue Jul 25 15:29:28 2006] [warn] Alias not found. Checking for
auto-applications.
[Tue Jul 25 15:29:28 2006] [warn] Global config not found. Finishing
request.

At the last entry, 'mono_execute_request' in mod_mono.c returns a
HTTP_INTERNAL_SERVER_ERROR.

What am I missing?
Why cant mod_mono find the configuration? 
What configuration is it looking for?

Thanks for any help.

 

On Tue, 2006-07-25 at 12:03 +0200, Bo Rosenquist wrote:
> Hi, first time poster.
> (Linux newbie, long time IIS/Asp.Net user) 
> 
> I am trying to run mod_mono 1.1.16 and Apache 2.2 on a Suse 10.1 box,
> but with no luck.
> 
> 
> The browser, just asking for an aspx page, reports a 500 error:
> 
> "The server encountered an internal error and was unable to complete
> your request. Either the server is overloaded or there was an error in a
> CGI script."
> 
> 
> 
> LogLevel of Apache is set to debug, but doesn't result in much info in
> the error_log:
> 
> [Tue Jul 25 11:24:26 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured
> -- resuming normal operations
> [Tue Jul 25 11:24:26 2006] [info] Server built: May  2 2006 08:47:14
> [Tue Jul 25 11:24:26 2006] [debug] prefork.c(991): AcceptMutex: sysvsem
> (default: sysvsem)
> Another mod-mono-server with the same arguments is already running.
> Another mod-mono-server with the same arguments is already running.
> Another mod-mono-server with the same arguments is already running.
> Another mod-mono-server with the same arguments is already running.
> 
> 
> 
> An entry (demo.conf) in /etc/apache/vhosts.d points out the test
> application:
> 
> Alias /demo "/usr/lib/xsp/test"
> AddMonoApplications demo "/demo:/usr/lib/xsp/test"
> 
> SetHandler mono
> Allow from all
> 
> 
> 
> I have tried the package of mod_mono from
> http://www.go-mono.com/download-latest/suse-101-i586/ and also compiled
> from source from svn.
> 
> 
> Any pointers on how to find out what is going wrong are appreciated.
> 
> Thanks.
> 
> ___
> 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


Re: [Mono-list] Apache 2.2 / mod_mono / SuSE 10.1 results in a 500 error.

2006-07-25 Thread Gonzalo Paniagua Javier
On Tue, 2006-07-25 at 15:35 +0200, Bo Rosenquist wrote:
> > An entry (demo.conf) in /etc/apache/vhosts.d points out the test
> > application:
> > 
> > Alias /demo "/usr/lib/xsp/test"
> > AddMonoApplications demo "/demo:/usr/lib/xsp/test"
> > 
> > SetHandler mono
> > Allow from all
> > 

You need a 'MonoSetServerAlias demo' inside that 

-Gonzalo


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Apache 2.2 / mod_mono / SuSE 10.1 results in a 500 error.

2006-07-25 Thread Bo Rosenquist
On Tue, 2006-07-25 at 10:53 -0400, Gonzalo Paniagua Javier wrote:
> On Tue, 2006-07-25 at 15:35 +0200, Bo Rosenquist wrote:
> > > An entry (demo.conf) in /etc/apache/vhosts.d points out the test
> > > application:
> > > 
> > > Alias /demo "/usr/lib/xsp/test"
> > > AddMonoApplications demo "/demo:/usr/lib/xsp/test"
> > > 
> > > SetHandler mono
> > > Allow from all
> > > 
> 
> You need a 'MonoSetServerAlias demo' inside that 
> 
> -Gonzalo
> 

Hurrah, it works!

You help is greatly appreciated, thanks.

/Bo

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Strange Behavior

2006-07-25 Thread Mike Geise



Ok so one of my classes that I use for localization 
worked before and now it doesnt?
 
I get a Object reference not set to an instance of 
an objecterror now.
 
you can see the class here,
 
http://www.nfscars.net/misc/LocalizationConfiguration.cs.txt
 
And this is what I have in my 
web.config,
 
      
  
   type="NetCoders.Components.LocalizationConfigurationHandler, 
NetCoders.Components" />    
  
 
      
  

 
Basically it seems the LocalizationConfigurationHandler object Create isn't being called but I 
have no idea why?
 
so when i try and call 
LocalizationConfiguration.GetConfig().DefaultCultureName I get that object 
reference error.
 
I am running FreeBSD 5.4 and Mono 
1.1.13.6
 
Anyone have any idea's?
 
Thanks, Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Strange Behavior

2006-07-25 Thread Atsushi Eno
OK so some questions to clarify the problem:

- How "before" was your code working fine?
- What are the full stack trace lines hopefully with "mono --debug" ?

My optimistic guess is that it will work fine with 1.1.16 since
there was a couple of support for 2.0 System.Configuration support
in svn head.

Atsushi Eno

Mike Geise wrote:
> Ok so one of my classes that I use for localization worked before and now it 
> doesnt?
> 
> I get a Object reference not set to an instance of an object
> error now.
> 
> you can see the class here,
> 
> http://www.nfscars.net/misc/LocalizationConfiguration.cs.txt
> 
> And this is what I have in my web.config,
> 
>   
> 
>   type="NetCoders.Components.LocalizationConfigurationHandler, 
> NetCoders.Components" />
> 
>   
> 
>   
> 
>   
> 
> Basically it seems the LocalizationConfigurationHandler object Create isn't 
> being called but I have no idea why?
> 
> so when i try and call 
> LocalizationConfiguration.GetConfig().DefaultCultureName I get that object 
> reference error.
> 
> I am running FreeBSD 5.4 and Mono 1.1.13.6
> 
> Anyone have any idea's?
> 
> Thanks, Mike
> 
> 
> 
> 
> ___
> 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


Re: [Mono-list] System.Diagnostics.Process

2006-07-25 Thread DiGiTaLFX

Thanks very much! I thought it was something simple.
-- 
View this message in context: 
http://www.nabble.com/System.Diagnostics.Process-tf1987484.html#a5489264
Sent from the Mono - General forum at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Error Mapping across applications not allowed

2006-07-25 Thread Nicolas Cornu

  Hello,

I have this error:

I try to get a page that is in one subfolder: subfolder/test1.aspx
I get this:


  Server error in '/' application




/MapPath: Mapping across applications not allowed/

*Description: *Error processing request.

*Error Message: *HTTP 500. MapPath: Mapping across applications not allowe


I tryed ~/subfolder/test1.aspx but it don't help.

In advance thanks,

Cornu Nicolas

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and cookiesless = true

2006-07-25 Thread Keats



hello, 
i can't have mod_mono to work with this feature... 

is there anyone who know how to get it working ? 

 
thanx.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list