[Mono-aspnet-list] Problem running mod_mono on CentOS

Steven Lee rocsky at gmail.com
Mon Oct 26 18:56:29 EDT 2009


I have successfully installed mod_mono and let my Apache run asp.net 2.0 now.
you can find the install step from 
http://blog.rubypdf.com/2009/10/23/how-to-let-apache-web-server-run-asp-net-applications-on-centos/  
How To Let Apache Web Server Run ASP.NET Applications on CentOS 5 .
MonoServerPath /opt/mono/lib/mono/2.0/mod-mono-server2.exe



proxies wrote:
> 
> I am very new in linux environment as well as mod_mono. I installed mod
> mono on a CentOS server and it seems that I am having problem. I follow
> the step by step instruction on this site http://openhelp.net/?p=584. The
> only change with the steps stated on the site I've given is that I have
> used the latest mod_mono which is Mono 2.4.2.3. Below are the error
> message I am receiving when restarting apache using the command
> /sbin/service httpd restart :
> 
> [Mon Oct 12 10:46:33 2009] [crit] (2)No such file or directory: Failed to
> create shared memory segment for backend '/usr/local/bin/mod-mono-server2'
> at '/tmp/mod_mono_dashboard_/usr/local/bin/mod-mono-server2_2'.
> 
> Here is my mod_mono.conf:
> <IfModule !mod_mono.c>
>     LoadModule mono_module /usr/local/apache/modules/mod_mono.so
> </IfModule>
> 
> #MonoServerPath /usr/local/bin/mod-mono-server2 .verbose
> MonoServerPath /usr/local/bin/mod-mono-server2 -verbose
> MonoAutoApplication enabled
> 
> AddType application/x-asp-net .aspx
> AddType application/x-asp-net .asmx
> AddType application/x-asp-net .ashx
> AddType application/x-asp-net .asax
> AddType application/x-asp-net .ascx
> AddType application/x-asp-net .soap
> AddType application/x-asp-net .rem
> AddType application/x-asp-net .axd
> AddType application/x-asp-net .cs
> AddType application/x-asp-net .vb
> AddType application/x-asp-net .master
> AddType application/x-asp-net .sitemap
> AddType application/x-asp-net .resources
> AddType application/x-asp-net .skin
> AddType application/x-asp-net .browser
> AddType application/x-asp-net .webinfo
> AddType application/x-asp-net .resx
> AddType application/x-asp-net .licx
> AddType application/x-asp-net .csproj
> AddType application/x-asp-net .vbproj
> AddType application/x-asp-net .config
> AddType application/x-asp-net .Config
> AddType application/x-asp-net .dll
> DirectoryIndex index.aspx
> DirectoryIndex Default.aspx
> DirectoryIndex default.aspx
> 
> And here is what I added on my httpd.conf:
> User apache
> Group apache
> 
> LoadModule mono_module modules/mod_mono.so
> Include "/usr/local/apache/conf/mod_mono.conf"
> 
> DirectoryIndex index.html index.shtml index.xhtml index.wml index.perl
> index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp
> index.php4 index.php3 index.php index.phtml default.htm default.html
> home.htm index.php5 Default.html Default.htm home.html index.aspx
> default.aspx
> 
> Hoping for your response.
> 
> Thanks,
> Alvin
> 


-----
http://blog.rubypdf.com RubyPDF Blog 

-- 
View this message in context: http://www.nabble.com/Problem-running-mod_mono-on-CentOS-tp25858185p26031097.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list