[Mono-list] Re: Running mod-mono-server in a chroot jail

Robert Jordan robertj at gmx.net
Mon Nov 28 14:02:59 EST 2005


Jesse,

Your jail probably doesn't have the /proc filesystem mounted.

Robert

> I'm working on getting all of my asp.net sites running under separate
> standalone instances of mod-mono-server running as the owner of each site.
> All my site users are however locked into their own chroot environment.
> 
>  
> 
> I'm trying to start up each mod-mono-server instance as follows:
> 
>  
> 
> su -  <jailuser> -c "mono /usr/lib/xsp/1.0/mod-mono-server.exe  --root
> /home/<jailuser>/htdocs/domains/domain.com/www/html --master --filename
> /usr/local/aspnet/domain.com/www/socket --nonstop"
> 
>  
> 
> When I try to execute the above command to start the server I get:
> 
>  
> 
> GC Warning: Couldn't read /proc/stat
> 
> GC Warning: GC_get_nprocs() returned -1
> 
> Couldn't read /proc/self/stat
> 
>  
> 
> If anyone has gotten this working or has any information that could help me
> please let me know.



More information about the Mono-list mailing list